🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Harry Mofo Sun, 29 Feb 2004 21:50
[Pan] Win32 home directory relocation: solved
#144320
Author: Harry Mofo
Date: Sun, 29 Feb 2004 21:50
23 lines
2223 bytes
The question has been posed many times here but never answered:  "How do I
make Win32 Pan use a different directory for its files?"

The solution is to create a command file kinda like this to run Pan
(replace directories as appropriate for your system):

set USERPROFILE=D:\Data\Pan
set PATH=D:\apps\GTK\2.0\lib;D:\apps\GTK\2.0\bin;%path%
start /dD:\Apps\Pan D:\Apps\Pan\Pan.exe

The key is to override the default USERPROFILE variable with one of your
own choosing.  Pan's PATH entries in the registry are ignored if you run
it this way so GTK can be appended to the PATH here instead.

This changes the directory returned by GTK's g_get_home_dir function so a
similar technique should work for any other GTK-using apps.

I will also send this along to the Pan developers for inclusion in their
FAQ.

-- 
Harry
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads