My New Years resolution was to finally create a better backup strategy for my 
GnuCash files. In order to achieve this, the GnuCash files and directories need 
to be on another disk and GnuCash environment variables need to point to this 
directory.
Following recommendations on the Wiki I have made a Linux bash shell 
startscript for GnuCash. But GnuCash seems to start up fresh everytime, with 
initial opening questions and suggestions and no recent files??? I am using 
Ubuntu 20.04, bash and GnuCash "3.8b+".

Can anyone help me to see if the environment variables are set correctly?

Thanks in advance and Happy New Year to all!
Dan

startup script file (Bash shell):

#!/bin/bash

#

# Setup GnuCash environment and start GnuCash with Swedish sort order but 
English menus

# https://wiki.gnucash.org/wiki/Configuration_Locations

# https://wiki.gnucash.org/wiki/Directories

#

# 2021-01-01 Dan Ståhlberg

TOP=/bigd/workarea/ekonomi/gnucash/2021

export HOME=$TOP

export XDG_DATA_HOME=$TOP/.local/share

export XDG_CONFIG_HOME=$TOP/.config

LC_COLLATE=sv_SE.UTF-8 gnucash
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to