Relocation of path for preference files?

Geert Janssens janssens-geert at telenet.be
Sun Dec 30 11:47:27 EST 2012


On 30-12-12 17:00, John Ralls wrote:
> On Dec 30, 2012, at 4:52 AM, Geert Janssens <janssens-geert at telenet.be> wrote:
>
>> On 30-12-12 13:20, Steve wrote:
>>> Risk aside, my question was, and I remain interested in knowing if it's
>>> possible to relocate the path of the files in question.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://gnucash.1415818.n4.nabble.com/Relocation-of-path-for-preference-files-tp4658565p4658577.html
>>> Sent from the GnuCash - User mailing list archive at Nabble.com.
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>> If you are on Windows or Mac, you can set the HOME parameter in the gnucash environment file to the base path where you want all the preference files and directories to be stored in. I wouldn't do this on any linux system though, because you would be relocating files and folders that other applications depend on as well.
>>
>> The environment file on Windows can be found in
>> <path-where-you-installed-gnucash>\etc\gnucash
>>
>> There are other path setting examples in this directory which you can mimic to setup a HOME parameter.
>>
>> Last note: the environment file gets overwritten when you upgrade gnucash, so after updates you will have to add your HOME parameter again.
>>
> Macs are Unix. You shouldn't globally change $HOME there, either. You *can* however, change it in the startup script, Gnucash.app/Contents/MacOS/Gnucash.
Thanks for clarifying this on mac.

Note that I didn't give instructions to change $HOME *globally*. My 
instructions (editing GnuCash' environment file) would only change $HOME 
for GnuCash. It could be done like this on Mac as well by editing the 
environment file found in the Gnucash.app bundle somehwere. Unless this 
file is not present in the Mac bundle. Perhaps you don't use it.

My main motivation for not suggesting it on linux is that it's the only 
platform that uses gconf globally for many applications. On both mac and 
windows GnuCash uses its private gconf instance.

Geert


More information about the gnucash-user mailing list