[GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu - solved

Gyle McCollam gmccollam at live.com
Mon Apr 4 10:39:28 EDT 2022


Don't know if it matters but, I see a difference in line 4 at the end non-working has /**'MAC vs. the working copy that has /'MAC.


Thank You,
Gyle McCollam

Gyle McCollam

609.680.2326                     Mobile

gmccollam at live.com<mailto:gmccollam at gyleshomes.com>           email

________________________________
From: gnucash-user <gnucash-user-bounces+gylemc=gmail.com at gnucash.org> on behalf of Jeff <beastmaster126 at hotmail.com>
Sent: Monday, April 4, 2022 10:14 AM
To: Geert Janssens <geert.gnucash at kobaltwit.be>; gnucash-user at gnucash.org <gnucash-user at gnucash.org>
Subject: Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu - solved


Geert, don't ask me how I did it because I do not know but the new icon
now works.

Just for kicks and grins I created a desktop file for LibreOffice Writer
and it worked right the first time.  So then I edited my desktop icon
for GNC and compared it to yours and couldn't see any differences except
the path and data file name.  Renamed my file and copied yours into a
text editor, changed the path and filename accordingly.  Saved it and
right clicked the allow launching and it worked.

Working version (copied and edited from your post):

[Desktop Entry]
Type=Application
Terminal=false
Exec=flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac
Drive'/Ledgers/Dad/Dad.gnucash
Name=GnuCash 4.9 FLATPAK Dad
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

======
Non-working version:

[Desktop Entry]
Type=Application
Terminal=false
Exec=flatpak run org.gnucash.GnuCash /media/jeffrey/**'Mac
Drive'/Ledgers/Dad/Dad.gnucash
Name=GnuCash 4.9 FLATPAK Dad
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



To the naked eye they look identical but one works and the other does
not.  Both are right clicked to allow launching.  The only difference I
can see, now that I copied and pasted into this e-mail, is that the text
width is different. I don't know if that has something to do with it or
not (hidden high bit character that doesn't show up in Text Editor
perhaps?).

I then created an icon for another set of books (which works) and
checked the permissions for both.  They are not the same.  The copy of
yours shows a check mark in the 'Allow executing file as program', the
second one has a '-' .  My original had a check mark too.

Thank you!

--
--JEffrey Black M.B.A.

On 4/2/22 11:28 AM, Geert Janssens wrote:
> [Desktop Entry]
> Type=Application
> Terminal=false
> Exec=flatpak run org.gnucash.GnuCash /home/janssege/testfile.gnucash
> Name=GnuCash 4.9 FLATPAK Dad
> 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


_______________________________________________
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.


More information about the gnucash-user mailing list