Custom reports - unable to save/load them

Yann Le Mouel yann.lemouel at free.fr
Fri Jan 13 16:56:12 EST 2012


Voila !

I inserted this line in the environment file
	GNC_DOT_DIR=c:/docume~1/propri~1/.gnucash

And it works now. I can see my custom reports saved in "C:/Documents and
Settings/Propriétaire/.gnucash/saved-reports-2.4", without having to change
the report.scm file.

My thanks to Derek, John & Geert.
Yann


> > You could set the HOME variable in etc/gnucash/environment. This is the
> path that will be used as a basis to calculate (among others) GNC_DOT_DIR.
> Beware though that it is also the location of the .gconf and .gconfd
> directories used by gnucash. So if you redefine HOME, be sure to copy
> those two directories in the new location as well, together with .gnucash.
> >
> > Alternatively, you can try to add GNC_DOT_DIR itself instead to only
> relocate the path to the local configuration items (.gnucash). I haven't
> tried this myself yet, but from the code I understand GnuCash checks for
> the presence of this environment variable.
> 
> It does. The Mac bundle uses it to put the config files in
> ~/Library/Application Support/gnucash, which is a more mac-ish
> location (and easier to get to from Finder).
> 
> 






More information about the gnucash-user mailing list