Environmental file issue
Geert Janssens
janssens-geert at telenet.be
Tue Nov 6 10:06:38 EST 2012
On 06-11-12 15:57, John Ralls wrote:
> On Nov 6, 2012, at 5:15 AM, Geert Janssens <janssens-geert at telenet.be> wrote:
>
>> On 04-11-12 21:43, David Carlson wrote:
>>> On 11/4/2012 1:58 PM, Geert Janssens wrote:
>>>> gconftool-2 -g /apps/gnucash/history/file0
>>>>
>>>> GnuCash will automatically load the first file that is stored in its
>>>> history list. This history list is stored in gconf. The command above
>>>> shows you what the first file is.
>>>>
>>>> I'm not sure what your problem is, but it may be helpful for you to
>>>> know that you can always specify a file to open on the command line.
>>>> So if you login via ssh, you can start gnucash with the file you want
>>>> as follows:
>>>> gnucash <path-to-your-file>
>>>>
>>>> Geert
>>> Geert,
>>>
>>> Does your answer also work in Windows and Mac environments?
>>>
>>> David C
>>>
>> I don't know about OS X. I seem to remember the Quartz build requires some special tricks at startup of the application to get gconf running properly.
>>
>> On Windows it works if you invoke the command from the gnucash bin directory (just verified this on my Windows XP test box). So you can
>> - start a command prompt
>> - cd to where you have installed gnucash (eg c:\Program Files\gnucash\bin)
>> - run the above command
> Do we bundle gconftool with Win32?
It appears so. I found it in the installed GnuCash instance. We could
remove it I guess. It's not used at all. And your other suggestion works
equally well (to *read* the list at least).
> It's not in the Mac bundle, but I expect it's available with MacPorts. On any system you
> can just `cat ~/.gconf/apps/gnucash/history/%gconf.xml` and see the file list.
>
> Regards,
> John Ralls
>
Geert
More information about the gnucash-user
mailing list