[GNC] How to change default book/file to open in GC 2.6 under
Adrien Monteleone
adrien.monteleone at lusfiber.net
Fri Jan 10 06:27:19 EST 2020
Sorry, I just see now you state the old file is in position 1. That would indeed indicate to me that is the one open. (and most recent)
Are you certain you don’t have more than one instance of GnuCash running? (I know it is possible on Mac, not sure about Linux)
Regards,
Adrien
> On Jan 10, 2020 w2d10, at 5:25 AM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
>
> Hmm...
>
> Have you tried double-clicking the file and see which one you get?
>
> Can you successfully use File > Open to get the correct file to work in?
>
> As for shortcuts with ‘command lines’ look into editing the .desktop file for Gnucash. (I think it is under /usr/share/local, but it has been a while since I’ve edited one)
>
> It is just a plain text spec file describing where to find the icon, what category to put the app in, and yes, the command to execute it. There are other things a .desktop file can indicate, but those are the big three.
>
> You should be able to alter the command to open a specific file, but the better option is to get the app to do so normally.
>
> You mentioned the new file does appear in the recents list. Is it the first one?
>
> Why do you think you are in the old file? The title bar should tell you which one is open, and if you examine the data folder, you should see a .lck file for that same data file.
>
> On that note, make sure you don’t have a .lck file for the new file in there. That would indicate the new file either *is* open somewhere, or else the app crashed and didn’t get to clean up after itself. That *might* cause it to open the next most recent file, but I don’t think so. It should still try to open the most recent and then alert you about the alleged ‘file-in-use’ condition.
>
> Regards,
> Adrien
>
>> On Jan 10, 2020 w2d10, at 4:45 AM, rsbrux via gnucash-user <gnucash-user at gnucash.org> wrote:
>>
>> Dear Adrien,
>> Thanks for the tip, but I already tried that (several times). GC still
>> opens the old book/file
>> Regards,
>> rsbrux
>>
>>
>
More information about the gnucash-user
mailing list