On Wed, Oct 1, 2025 at 10:54 PM James Ralston <[email protected]> wrote:
> I frequently work on multiple GnuCash > databases at the same time, by launching GnuCash multiple times. > I have ten different GnuCash books in my launcher file (as right-click menu items). Here's how to create separate launcher entries for each book: https://wiki.gnucash.org/wiki/Desktop_Shortcuts The above suggests creating a shortcut for each file (separate .desktop launcher files). To make multiple GnuCash books launch from the same .desktop file (right click the icon to see them), add an Actions= line with some entries separated by semicolons, then include Action entries as shown below. Be sure to include single or double quotation marks around your file path if you have spaces. I also have an entry to edit the launcher file using kate (text editor). Once you get the .desktop file working, you can pin the entry to your launcher menu, and launch GnuCash while opening one or more books at will. It's just a text file, but when it doesn't work, remember to make the file executable. OH and I think you may have to restart GNOME to read changes to the file, but KDE seems to read changes as soon as the file is saved. I don't know about XFCE or any of the other desktop environments, but I suspect many can read them. The Desktop Entry will launch when you left click, and the Desktop Actions are the right click menu items. Contrived example below: [Desktop Entry] Version=0.9.4 Type=Application Name=GnuCash MimeType=application/x-gnucash; Exec=flatpak run org.gnucash.GnuCash "/home/bob/Books/Mine All Mine/bookybook.gnucash" Terminal=false StartupNotify=true Icon=/var/lib/flatpak/app/org.gnucash.GnuCash/current/active/export/share/icons/hicolor/64x64/apps/org.gnucash.GnuCash.png StartupWMClass=Gnucash Name[en_US]=GnuCash.desktop Actions=Daily;Mom;SimonSays;spacer;edit; [Desktop Action Daily] Name=My Bookkeeping Exec=flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 org.gnucash.GnuCash '/home/bob/Books/Mine All Mine/bookybook.gnucash' [Desktop Action Mom] Name=Yo Mama Exec=gnucash /home/bob/Books/Allison/allisons.gnucash [Desktop Action SimonSays] Name=Whatever You Call It Exec=whatever runs [Desktop Action Spacer] Name=__________________________ Exec= Name=__________________________ Exec= [Desktop Action edit] Name=Edit Launcher Exec=kate /home/bob/.local/share/applications/GnuCash.desktop <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. _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: 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.
