Article View: news.software.readers
Article #144320[Pan] Win32 home directory relocation: solved
From: Harry Mofo
Date: Sun, 29 Feb 2004 21:50
Date: Sun, 29 Feb 2004 21:50
23 lines
2223 bytes
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
Technical Details
Message-ID:
<k8t0c.3226$hG2.2346@newssvr22.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!250f815c!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <k8t0c.3226$hG2.2346@newssvr22.news.prodigy.com> Subject: [Pan] Win32 home directory relocation: solved Date: Sun, 29 Feb 2004 21:50:08 GMT From: Harry Mofo <nospam@hotmail.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!250f815c!not-for-mail Organization: Damn little User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Newsgroups: news.software.readers MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 23 NNTP-Posting-Host: 208.191.209.51 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr22.news.prodigy.com 1078091408 ST000 208.191.209.51 (Sun, NNTP-Posting-Date: Sun, 29 Feb 2004 16:50:08 EST X-UserInfo1: FKPGWXSEGJWYBTH]]ZN@_TDAYZOZ@GXOXB]T]_MIJQR@EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN@D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG@SCAVA]\FT\@B\RDGENSUQS^M