[GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
david whiting
dw at davidwhiting.me.uk
Sat Mar 26 07:55:16 EDT 2022
Hi Jeff,
If you installed gnucash for a single user, then the icon file will be
at the path I showed in the previous email (but you'll have to change
the login name to yours):
/home/david/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico
If you installed gnucash as a system application for all users, then
you will find the icon file here:
/var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico
For the exec line, you might want to put the full path to the gnucash file, e.g.
Exec=flatpak run org.gnucash.GnuCash /home/jeff/Documents/test-2.gnucash
So, with a *system* installation and assuming that your login is jeff,
then the desktop file might look like this:
[Desktop Entry]
Type=Application
Terminal=false
Exec=flatpak run org.gnucash.GnuCash /home/jeff/Documents/test-2.gnucash
Name=GnuCash 4.9 FLATPAK test-2
Comment=Manage home and small business accounts
Icon=/var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico
(Note that the lines may be wrapped, if so, you'll need to unwrap them)
Remember to right-click on the file on the desktop and choose "Allow launching".
David
On Sat, 26 Mar 2022 at 08:25, Jeff <beastmaster126 at hotmail.com> wrote:
>
>
> I tried this but I cannot locate the actual GNC icon file. I do have
> one where I attempted, unsuccessfully, to build GNC 4.9 from source.
>
> I changed the path to the icon in the build directory. And gave the
> exec the path to one of my .gnucash files but the desktop link still
> refuses to work.
>
>
> --
> --JEffrey Black M.B.A.
>
>
>
> On 3/25/22 3:45 AM, david whiting wrote:
> > Hi Jeff,
> >
> > The following works for me, with gnucash installed for a user:
> >
> > 1. Create a desktop file (using a text editor) with the entry shown below
> > 2. On the Exec line, change Documents/test-2.gnucash to the path to
> > your gnucash file
> > 3. On the Name line, change this to whatever you want to call it, i.e.
> > what you want to see on the desktop
> > 4. Change the path for the icon to the correct location (perhaps
> > changing /home/david to /home/jeff)
> > 5. Save the file as whatever-you-want-to-call-it.desktop
> > 6. Go to your desktop
> > 7. Right-click on the file on the desktop and select "Allow launching"
> > (this step is important)
> > 8. Repeat this process for other files, changing the Exec line and
> > Name lines accordingly
> >
> >
> > [Desktop Entry]
> > Type=Application
> > Terminal=false
> > Exec=flatpak run org.gnucash.GnuCash Documents/test-2.gnucash
> > Name=GnuCash 4.9 FLATPAK test-2
> > Comment=Manage home and small business accounts
> > Icon=/home/david/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico
> >
> >
> > David
> >
> >
> > On Fri, 25 Mar 2022 at 07:38, Jeff <beastmaster126 at hotmail.com> wrote:
> >> I have never had a problem creating desktop icons for multiple books for
> >> GNC on Ubuntu 20.04 LTS prior to installing the FlatPak version for GNC 4.9.
> >>
> >> Everything I have tried for the desktop icon has failed miserably on the
> >> Flatpak version of GNC 4.9. Is there someone who can guide me on
> >> creating the desktop icons for this version on Ubuntu version 20.04
> >> LTS. I have multiple sets of books to maintain for family members.
> >>
> >> --
> >> --JEffrey Black M.B.A.
> >>
> >> _______________________________________________
> >> gnucash-user mailing list
> >> gnucash-user at gnucash.org
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >> -----
> >> Please remember to CC this list on all your replies.
> >> You can do this by using Reply-To-List or Reply-All.
> >
> >
>
--
David Whiting
More information about the gnucash-user
mailing list