Possible to move preference file location?

RoseW wdmn at hurontel.on.ca
Mon Feb 17 15:51:32 EST 2014


I just did the edit. It worked perfectly.
One note...The environment file needs to be copied to the desktop and 
rename the original environment file in its original place ie: Program 
Files (x86)  gnucash/etc/gnucash/ environment1
  THEN the edit done to the file on the desktop can be saved. Its 
similar to editing the Host file in Windows...can't do it directly.
Move the saved edit of environment file from desktop back to the correct 
program folder, open gnucash program and everything works perfectly.
Re:

  IF I create a folder C: Username\.Gnucash  and move the gnucash folders
(.gconf, .gconfd,gnome2, .gnome2private, .gnucash) into this main
folder will the software lose track of the path?

Geert Janssens wrote:

Yes gnucash won't find these directories anymore and will recreate them
again. That is unless you tell it where to look for these directories.

Here is what I propose you do:
- Create a directory "GnuCash" in AppData/Roaming/
- move the directories .gnucash, .gnome2 and .gnome2_private into
"GnuCash"
- if you are still using gnucash 2.4, move the .gconf and .gconfd
directories into "GnuCash" as well
- from the directory where you installed the gnucash application, locate
the file <path to gnucash dir>/etc/gnucash/environment
- open this file in a text editor such as notepad or wordpad
- at the end of this file add one line:
HOME={APPDATA}/GnuCash

Save the file and start gnucash. It should now use the directories
inside AppData/Roaming/GnuCash.

One few caveat: if you ever reinstall or upgrade gnucash you will have
to add the line in the environment file again. It gets overwritten by
the installer.

Lastly this information is also recorded in
https://bugzilla.gnome.org/show_bug.cgi?id=503722


-- 
Rose
http://rwalbum.gogaxdns.com/index.html





More information about the gnucash-user mailing list