[GNC] Where is config-user.scm supposed to be under Linux

Geert Janssens geert.gnucash at kobaltwit.be
Tue Jul 4 10:52:22 EDT 2023


Op dinsdag 4 juli 2023 01:32:09 CEST schreef Robert Heller:
>
> config-user.scm is only needed if you are loading user-supplied Scheme.
> 
> It belongs in $HOME/.config/gnucash (appearently).  The Wiki is vauge and
> confusing.  Doing a gnucash --paths helped.
> 
> > $ locate config-user.scm
> > $

That page should be treated as a key to resolve pathnames. As they are different on each 
platform, you have to recursively assemble the answer yourself.

Easiest is to start from the file you want to store somewhere. In your initial mail you 
mentioned "config.user". If you search for that file name on the wiki page, you'll find a note 
mentioning this file has been renamed to "config-user.scm" in the subsection "In 
GNC_CONFIG_HOME" of section "Files". So you now know your file should be named "config-
user.scm" and that it goes in GNC_CONFIG_HOME (whatever that means).

To resolve that, you can look in the page index for GNC_CONFIG_HOME (it has its own 
section). In that section you will learn GNC_CONFIG_HOME on linux resolves to 
"USER_CONFIG_HOME/gnucash". Again with whathever USER_CONFIG_HOME may mean.

To continue resolving the path you can click directly on "USER_CONFIG_HOME" to learn that 
on linux that's equivalent to "$HOME/.config".

Putting that all together then yields

$HOME/.config/gnucash.config-user.scm

Regards,

Geert


More information about the gnucash-user mailing list