Locking Tabs

John Morris johnjeff at editide.us
Fri Apr 7 13:36:41 EDT 2017


Hi Derek and David,
  Thank you for this idea. This might work perfectly. I already back everything up several times a day, so getting a stale book file would not be a problem. I'm running GnuCash on MacOS Yosemite, so I looked in the GnuCash folder in ~/Library/Application Support and found a folder called books. That folder has one gcm file for each .gnucash file I have ever opened. I'm guessing these are the user files David mentioned. I'll do some testing to see if it meets our need.

Best,
John

> On Apr 7, 2017, at 1:13 PM, David Carlson <david.carlson.417 at gmail.com> wrote:
> 
> I believe that the information about which tabs are open, window sizes, displayed report options, etc are in the user files not the data files.  Try finding the user files for your computer and saving a backup.  there should be such a file for each data file.  Then restoring that backup would bring the missing tab back without losing recent transactions.  Try that on a test file first before doing it on your data file.
> 
> David C
> 
>> On Fri, Apr 7, 2017 at 11:53 AM, <edward.doolittle at gmail.com> wrote:
>> Here’s a hack that might work: backup the file that stores the information about which tabs are open, and then just exit GnuCash and restore the file if a tab is accidentally closed.
>> 
>> Of course other information might be stored in the file, information that you don’t want restored. I don’t know enough to comment, but maybe others with more knowledge could comment.
>> 
>> Also, there could conceivably be an issue when the version of GnuCash is changed.
>> 
>> If you’re going to do this, then I suggest you backup the file frequently, perhaps even every time GnuCash is opened (with a wrapper script, for example). But maybe that’s overkill ... hopefully others can comment.


More information about the gnucash-user mailing list