Using Gnucash from multiple computers?

Sean Clarke seanchk at gmail.com
Tue Oct 14 16:24:34 EDT 2014


Thank you David.

I did a cut/paste from nemo to make sure the path was correct.  Didn't know
it was case sensitive.

Still not really sure what it does.

I tried putting the gnucash files in the directory named in that line but
then Gnucash can't find the files.....

Sean



On 15 October 2014 02:44, David Jensen <david.e.jensen at gmail.com> wrote:

> $HOME should be in caps .... environment variables are case sensitive.
>
> On Tue, Oct 14, 2014 at 2:57 PM, Sean Clarke <seanchk at gmail.com> wrote:
>
>> Hi John,
>>
>> Ok I'm not sure if I've done this right (which means I pretty sure I
>> haven't!)
>>
>> I created a .bashrc file and put it in /home
>>
>> I created a new folder in Google Drive called gnucash
>>
>> The full path to that folder is /home/sean/Google Drive/gnucash
>>
>> The content of my .bashrc file (I found an example of one online and
>> copied
>> it)
>>
>> PS1='\u$' # The prompt contains the user's login name.
>>
>> HISTSIZE=50 # Save 50 commands for when the user presses the up arrow.
>>
>> # All the directories to search for commands.
>> PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11
>>
>> # To prevent the user from accidentally ending a login session,
>> # disable Ctrl-D as a way to exit.
>> IGNOREEOF=1
>>
>> stty erase "^H" # Make sure the backspace key erases.
>>
>> GNC_DOT_DIR="$home/sean/Google Drive/gnucash"
>>
>>
>>
>> I've restarted the PC but don't see anything different happening.
>>
>> When I originally created the accounts files I was asked where I wanted to
>> save them and at that point I selected a folder on Google Drive (not the
>> same folder)
>>
>> Can you please explain a little more what this is telling gnucash?
>> GNC_DOT_DIR="$home/sean/Google Drive/gnucash"    I thought it was telling
>> it where to look for the data files but gnucash loads them from the
>> directory I first saved them to, then I thought maybe it would save them
>> there for next time.... but it doesn't do that...    So I'm confused as to
>> what it is for.
>>
>> Should I also save all the account files into /home/sean/Google
>> Drive/gnucash    ?
>>
>>
>> Thanks you,
>>
>> Sean
>>
>>
>>
>>
>>
>> On 14 October 2014 21:06, John Ralls <jralls at ceridwen.us> wrote:
>>
>> >
>> > On Oct 14, 2014, at 1:20 AM, Sean Clarke <seanchk at gmail.com> wrote:
>> >
>> > Hi John,
>> >
>> > by GNC_DOT_DIR do you mean the .gnucash directory in /home ?
>> >
>> > If not then what am I looking for?
>> >
>> > Also I don't have a .bashrc in /home  which is where I was expecting it.
>> >
>> > Can you give me a little more help please.
>> >
>> > At the moment I have all (?) the .gnucash account data files in a folder
>> > on Google Drive and apart from having to remember to exit the program on
>> > one machine before opening it on another (because of the LCK file),
>> > everything seems fine.
>> >
>> >
>> > Please remember to copy the list on all replies: Use "reply all" or, if
>> > your email client supports it, "reply list".
>> >
>> > GNC_DOT_DIR is an environment variable. If it's not set the default is
>> > $HOME/.gnucash, where HOME is another environment variable pointing the
>> > user's home folder, which on Linux is /home/<username>. You want to set
>> it
>> > like this:
>> > GNC_DOT_DIR="$HOME/Google Drive/gnucash"
>> > or something similar.
>> >
>> > .bashrc is one of several possible names for startup files, see the bash
>> > manpage for a complete list. Note that none of them will exist unless
>> the
>> > user explicitly creates them, and nthat bash looks for them in a
>> particular
>> > order; once it finds one it stops looking for more.
>> >
>> > Regards,
>> > John Ralls
>> >
>> > On 14 October 2014 09:29, John Ralls <jralls at ceridwen.us> wrote:
>> >
>> >>
>> >> On Oct 13, 2014, at 4:58 PM, Sean Clarke <seanchk at gmail.com> wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > Is it possible to stick the Gnucash settings file on Google Drive and
>> >> then
>> >> > be able to use the same settings from multiple computers?
>> >> >
>> >> > I want to have Gnucash on all my computers so depending which one I'm
>> >> using
>> >> > I have access to my financial analysis.
>> >> >
>> >> > Or will I run into problems?
>> >>
>> >> Nope, piece of cake: Just set GNC_DOT_DIR to a folder on your Google
>> >> Drive. You didn't say what OS you're using,
>> >> so in Linux you can just set it in .bashrc. On OSX you'll want to edit
>> >> Gnucash.app/Contents/MacOS/Gnucash. On Windows
>> >> the easiest way is to edit the shortcut in the menu (right-click on it
>> >> and select Properties from the context menu).
>> >>
>> >> Regards,
>> >> John Ralls
>> >>
>> >>
>> >
>> >
>> _______________________________________________
>> 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.
>>
>
>


More information about the gnucash-user mailing list