Jeff, Per chance are you on a Unix/Linux derevitive? I have seen Windows line endings cause problems for different shells trying to process the script. Changing to Unix style line endings fixed the problem. To the text editor I was using the files appeared to be the same.
--Steve On Mon, Apr 4, 2022, 07:16 Jeff <beastmaster...@hotmail.com> wrote: > > 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@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. > _______________________________________________ gnucash-user mailing list gnucash-user@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.