Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu - solved
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 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu - solved
I think that was the 'high bit characters' Jeff was referring to. Since they were in the path, most definitely, that was the problem with opening the file. (still not sure why that would make the icon fail) How they got there is anyone's guess, maybe a bad copy/paste? Glad to hear it is resolved! Regards, Adrien On 4/4/22 9:39 AM, Gyle McCollam wrote: 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. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu - solved
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 gmccol...@live.com<mailto:gmccol...@gyleshomes.com> email From: gnucash-user on behalf of Jeff Sent: Monday, April 4, 2022 10:14 AM To: Geert Janssens ; gnucash-user@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@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.
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@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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I have had a bit more time to play with this. I have set up an Ubuntu 20.04LTS VM, installed flatpak and installed the current gnucash flatpak from flathub.org. I then first tested to see if I could use that to open an existing test book as follows (on the command line): flatpak run org.gnucash.GnuCash /home/janssege/testfile.gnucash That worked fine. So next I created a desktop file /home/janssege/Desktop/Dad.desktop with this contents: [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 Note that at this point the icon on my desktop still shows a generic gear icon and double-clicking it won't do anything. That only changes **after** I use RightClick->Allow Launching. Jeffrey, you never explicitly confirmed you have effectively right-clicked the destktop file and selected "Allow launching". I only find you mention "execute permissions are correctly set". So I did the test and made a second desktop file in which I only corrected the execute permissions but don't use the "Allow Launching" option. This second desktop icon will still not run gnucash on double-click, nor will it change icon. It remains the generic gear icon. So to me that suggests having execute permissions is not sufficient on Ubuntu 20.04 LTS. You do need to use the menu item "Allow Launching". Anyway, with that out of the way double-clicking the icon on the desktop will run gnucash and it will open my testfile. So for the final test I mounted a USB drive named 'MAC DRIVE' with my test file on it and changed the desktop file's exec line to Exec=flatpak run org.gnucash.GnuCash /media/janssege/'MAC DRIVE'/ testfile.gnucash (all in a single line) That launches gnucash without any issues, opening testfile.gnucash from my USB stick. At no point did it create log files on the desktop, nor did I ever have to use flatpak override to give flatpak permissions to read/write the USB drive. So we're probably chasing the wrong tails here. Jeffrey, at this point my most important suggestion would be to use the "Allow Launching" menu option. If that doesn't work still, I think it's best you send us a link a few screenshots (for example on ImgUr, Google drive, Nextcloud,...) showing the icon on your desktop, the contents of the desktop file, the error messages that appear and so on. We may be assuming things that get lost in words but show up on images. Regards, Geert Op zaterdag 2 april 2022 07:24:52 CEST schreef Jeff: > Step 1 and 2 work. The rest does not work. I still get the no suitable > backend error. It has to be a compatibility issue with Flatpak and my > computer. > > > Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > > > Universal Access > Typing > Screen Keyboard. > > > > This will pop-up an on-screen keyboard when a typing field has focus. > > That's not the best workaround, but it will help a bit. > > > > - > > > > As for GnuCash, what about the USB access info from the Wiki? > > > > If you've never gotten the flatpak to work right, I'd suspect that is > > the issue. > > > > So try this in order from a terminal: > > > > 1. sudo flatpak override org.gnucash.GnuCash > > --filesystem=$PATH_TO_USB_DRIVE > > > > (that is all one line) > > > > 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac > > Drive'/Ledgers/Dad/Dad.gnucash > > > > (again all one line) > > > > If that works, close GnuCash and try clicking your desktop shortcut > > again. You should be good to go. > > > > If that doesn't work, try moving a copy of the file to your Home > > folder, then trying from a terminal: > > > > flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash > > > > If that doesn't work either, something else is wrong. > > > > Regards, > > Adrien > > > > On 3/31/22 1:46 AM, Jeff wrote: > >> Pardn any unreadable wrds, my cockatu decided my keybard was a ty, > >> and I have yet t find all f the pieces nd mae them all work at th > >> riht time. I am ging after a new kybrad tda Adrein. prir t mving t > >> flatPak installs I never had a prblem with upgrades r installs. > >> Desktp icns dn't seem t be an issue with anything except Flatpak. > >> > >> I'll cmplain but the failure t be able t build frm surce later. But I > >> am begging t suspect the 2 issues are related n my netwrk. > > > > ___ > > 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
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op woensdag 30 maart 2022 04:36:27 CEST schreef Adrien Monteleone: > For the icon issue, while Flatpak apps are sandboxed and might not have > access to that icon location, have you tried copying it to somewhere in > your home folder and seeing if that works? (it is the Desktop file using > it, so this would be weird, but I guess worth a shot) > I agree this would be weird, but not impossible. I haven't seen a reply to this yet. Jeffrey, for clarity, Adrien's suggestion here will not necessarily make your desktop file function better. It is only meant to rule out permission issues with the icon you wish to show on your desktop. You write it currently presents a generic icon instead of the gnucash icon. We want to test if that is fixed by using an icon that's stored somewhere in your home directory. So can you - copy /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/ share/gnucash/pixmaps/gnucash-icon.ico to to somewhere in your home directory - adjust the "Icon" line in your Dad.desktop file to point to this file in your home dir - refresh your desktop and see if it now shows the appropriate icon for your desktop file ? > https://wiki.gnucash.org/wiki/Flatpak#Desktop_Icon > gives the example of making a desktop icon and it specifies a /.local > location in your home folder. That page might be assuming you installed > the app for one user (you) and not the system. This might be why the > icon file is in /var/lib instead of /jeffrey/.local. Though why that > matters, I'm stumped. It shouldn't matter, but obviously you have to go and use the icon where it's installed. If the gnucash flatpak was installed system wide, the icon will be in /var/lib, if it's installed for a user only it will be in the user's .local/share directory. > > I also find it strange that GnuCash is storing backups on the desktop > when it is opening the file from the USB drive. But you can try adding a > "Path" to your desktop file to indicate the 'working' directory: > > path=/media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash > That should be without the trailing Dad.gnucash, otherwise it's not a directory. However I rather share with your initial surprise this would matter or even whether it would help. Jeffrey, have you tried this and did it have any effect ? It suggests to me gnucash seems to fail to write to the usb stick and instead defaults to the desktop. A trace file could give us some insight but that in itself is currently a challenge under flatpak. > Finally, are you 100% certain you don't have GnuCash installed either > from a build or .deb? > > When you double-click a data file to open GnuCash (which you say works) > what version is reported? > > What happens when you run your Exec command from the .desktop file in a > terminal? > Jeffrey, can you answer these questions individually rather than a generic "I tried all suggestions and nothing worked". That helps us establish nothing was forgotten. Regards, Geert ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op dinsdag 29 maart 2022 08:18:58 CEST schreef Jeff: > Permissions are set to run as executable for the desktop icon. Icon does > not show up, just the generic blank icon. If I hit "Okay" I end up with > a new, empty, set of books. If I manually open Dad.gnucash from the > link it opens the correct set of books but; Please clarify with what you mean with "manually opening the book from the link" ? > wants to create scheduled transactions going back to 2019. This may be a separate issue. I don't know of the top of my head where the last run date for scheduled transactions is stored. I'd expect in the gnucash data file, but if it's in metadata, you may have to copy your metadata to a location where flatpaks actually look for it. If you want to pursue this further I suggest to start a new mailing list thread for this to avoid trying to handle too much in one go. > And I also simply installed GNC as a Flatpak. I also don't understand what you mean with this. I thought the whole experiment was with using the gnucash flatpak. So I presumed it to be installed already ? So what exactly is the difference you're trying to point out with this ? Regards, Geert ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op zaterdag 2 april 2022 07:24:52 CEST schreef Jeff: > Step 1 and 2 work. The rest does not work. I still get the no suitable > backend error. It has to be a compatibility issue with Flatpak and my > computer. > And the "no suitable backend" error continues to point at the Dad.desktop file rather than Dad.gnucash ? As said before, that's very odd and not a flatpak bug. Can you repost your desktop file as you currently have it here ? Also I'm curious to more details on the parts that do work: - After running step 2, which version of gnucash does start ? - Did it properly open the correct set of books at startup ? - If you run the same command but with another of your existing books as argument, will that properly open that book at startup ? - In both cases, if you make changes to your books, where do the log files end up ? Lastly, you briefly mentioned somewhere it works when you double-click directly on your gnucash data file (that is Dad.gnucash, instead of Dad.desktop). If you do that, what version of gnucash gets opened ? Where does it store its log files if you make changes ? Regards, Geert > > Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > > > Universal Access > Typing > Screen Keyboard. > > > > This will pop-up an on-screen keyboard when a typing field has focus. > > That's not the best workaround, but it will help a bit. > > > > - > > > > As for GnuCash, what about the USB access info from the Wiki? > > > > If you've never gotten the flatpak to work right, I'd suspect that is > > the issue. > > > > So try this in order from a terminal: > > > > 1. sudo flatpak override org.gnucash.GnuCash > > --filesystem=$PATH_TO_USB_DRIVE > > > > (that is all one line) > > > > 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac > > Drive'/Ledgers/Dad/Dad.gnucash > > > > (again all one line) > > > > If that works, close GnuCash and try clicking your desktop shortcut > > again. You should be good to go. > > > > If that doesn't work, try moving a copy of the file to your Home > > folder, then trying from a terminal: > > > > flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash > > > > If that doesn't work either, something else is wrong. > > > > Regards, > > Adrien > > > > On 3/31/22 1:46 AM, Jeff wrote: > >> Pardn any unreadable wrds, my cockatu decided my keybard was a ty, > >> and I have yet t find all f the pieces nd mae them all work at th > >> riht time. I am ging after a new kybrad tda Adrein. prir t mving t > >> flatPak installs I never had a prblem with upgrades r installs. > >> Desktp icns dn't seem t be an issue with anything except Flatpak. > >> > >> I'll cmplain but the failure t be able t build frm surce later. But I > >> am begging t suspect the 2 issues are related n my netwrk. > > > > ___ > > 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. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op zaterdag 2 april 2022 07:09:32 CEST schreef Jeff: > Okay, finally got a new keyboard. They make great toys for parrots. > > I have tried all of the suggestions presented and I can still not make a > desktop icon for the GNC Flatpak version to load a specific set of > books. I did get one icon to work but I do not trust it, it does not > place the GNC icon on the desktop, just a generic CSV, and it also > places all log files on the desktop ( I use uncompressed XML). I did > not have any issues creating icons prior to using Flatpak. > We can use more detailed responses :) - If you have one desktop file that works, what's it's contents ? - And what's different from the other desktop files that don't work ? - Where have you stored that .desktop file ? - What set of books does it open on launch ? - Can you move the log files away from the desktop, launch gnucash from your desktop icon have it generate some log files (by making some changes to your books) and then pass the names of the generated log files here ? Regards, Geert ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I'll note the "no suitable backend" is complaining it can't interpret the file "/home/jeffrey/Desktop/Dad.desktop". That is the desktop entry file itself and I find it very suspicious this one is passed to gnucash in flatpak. According to the contents of the desktop file Jeffrey posted gnucash should have received the following file to open: /media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash That doesn't make sense to me. And if that's what is happening that's not a bug in flatpak, but a bug in desktop file handling. Somehow I doubt that though. So we are probably missing something else here. Perhaps we are missing minor details that are different in how we do things vs how Jeffrey does them. As I'm late in this thread I'm first adding some clarifications and remarks to older messages. I'll defer more questions to the end. Regards, Geert Op woensdag 30 maart 2022 03:39:16 CEST schreef Adrien Monteleone: > The 'no suitable backend' is clueing me to an issue with that particular > file and not having the right backend installed/enabled. > > But Jeffrey already said opening the file directly works fine and is > using XML. (usually one sees that error when trying to use one of the db > backends since XML is not an issue) > > I'm going to hazard there is some weird flatpak bug at play and it seems > to have been resolved as of 21.10. > > Maybe there is a solution or workaround, or maybe upgrading to the next > LTS (22.04, due out next month) will do the trick. > > Regards, > Adrien > > On 3/29/22 5:51 PM, David H wrote: > > Jeffery, > > > > I have the Gnucash flatpak "user" version installed. The gnucash flatpak > > wiki desktop shortcut (https://wiki.gnucash.org/wiki/Flatpak) works for me > > on Ubuntu 21.10 after updating my file location (see below) The one step > > not mentioned is to right click the desktop shortcut and select "Allow > > launching" - this updates the desktop shortcut icon and if you don't do > > this it just opens in text editor. > > ___ > 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Step 1 and 2 work. The rest does not work. I still get the no suitable backend error. It has to be a compatibility issue with Flatpak and my computer. -- --JEffrey Black M.B.A. On 3/31/22 8:11 AM, Adrien Monteleone wrote: Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > Universal Access > Typing > Screen Keyboard. This will pop-up an on-screen keyboard when a typing field has focus. That's not the best workaround, but it will help a bit. - As for GnuCash, what about the USB access info from the Wiki? If you've never gotten the flatpak to work right, I'd suspect that is the issue. So try this in order from a terminal: 1. sudo flatpak override org.gnucash.GnuCash --filesystem=$PATH_TO_USB_DRIVE (that is all one line) 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash (again all one line) If that works, close GnuCash and try clicking your desktop shortcut again. You should be good to go. If that doesn't work, try moving a copy of the file to your Home folder, then trying from a terminal: flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash If that doesn't work either, something else is wrong. Regards, Adrien On 3/31/22 1:46 AM, Jeff wrote: Pardn any unreadable wrds, my cockatu decided my keybard was a ty, and I have yet t find all f the pieces nd mae them all work at th riht time. I am ging after a new kybrad tda Adrein. prir t mving t flatPak installs I never had a prblem with upgrades r installs. Desktp icns dn't seem t be an issue with anything except Flatpak. I'll cmplain but the failure t be able t build frm surce later. But I am begging t suspect the 2 issues are related n my netwrk. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Okay, finally got a new keyboard. They make great toys for parrots. I have tried all of the suggestions presented and I can still not make a desktop icon for the GNC Flatpak version to load a specific set of books. I did get one icon to work but I do not trust it, it does not place the GNC icon on the desktop, just a generic CSV, and it also places all log files on the desktop ( I use uncompressed XML). I did not have any issues creating icons prior to using Flatpak. -- --JEffrey Black M.B.A. On 3/31/22 1:46 AM, Jeff wrote: Pardn any unreadable wrds, my cockatu decided my keybard was a ty, and I have yet t find all f the pieces nd mae them all work at th riht time. I am ging after a new kybrad tda Adrein. prir t mving t flatPak installs I never had a prblem with upgrades r installs. Desktp icns dn't seem t be an issue with anything except Flatpak. I'll cmplain but the failure t be able t build frm surce later. But I am begging t suspect the 2 issues are related n my netwrk. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > Universal Access > Typing > Screen Keyboard. This will pop-up an on-screen keyboard when a typing field has focus. That's not the best workaround, but it will help a bit. - As for GnuCash, what about the USB access info from the Wiki? If you've never gotten the flatpak to work right, I'd suspect that is the issue. So try this in order from a terminal: 1. sudo flatpak override org.gnucash.GnuCash --filesystem=$PATH_TO_USB_DRIVE (that is all one line) 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash (again all one line) If that works, close GnuCash and try clicking your desktop shortcut again. You should be good to go. If that doesn't work, try moving a copy of the file to your Home folder, then trying from a terminal: flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash If that doesn't work either, something else is wrong. Regards, Adrien On 3/31/22 1:46 AM, Jeff wrote: Pardn any unreadable wrds, my cockatu decided my keybard was a ty, and I have yet t find all f the pieces nd mae them all work at th riht time. I am ging after a new kybrad tda Adrein. prir t mving t flatPak installs I never had a prblem with upgrades r installs. Desktp icns dn't seem t be an issue with anything except Flatpak. I'll cmplain but the failure t be able t build frm surce later. But I am begging t suspect the 2 issues are related n my netwrk. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Pardn any unreadable wrds, my cockatu decided my keybard was a ty, and I have yet t find all f the pieces nd mae them all work at th riht time. I am ging after a new kybrad tda Adrein. prir t mving t flatPak installs I never had a prblem with upgrades r installs. Desktp icns dn't seem t be an issue with anything except Flatpak. I'll cmplain but the failure t be able t build frm surce later. But I am begging t suspect the 2 issues are related n my netwrk. -- --JEffrey Black M.B.A. On 3/29/22 9:36 PM, Adrien Monteleone wrote: For the icon issue, while Flatpak apps are sandboxed and might not have access to that icon location, have you tried copying it to somewhere in your home folder and seeing if that works? (it is the Desktop file using it, so this would be weird, but I guess worth a shot) https://wiki.gnucash.org/wiki/Flatpak#Desktop_Icon gives the example of making a desktop icon and it specifies a /.local location in your home folder. That page might be assuming you installed the app for one user (you) and not the system. This might be why the icon file is in /var/lib instead of /jeffrey/.local. Though why that matters, I'm stumped. I also find it strange that GnuCash is storing backups on the desktop when it is opening the file from the USB drive. But you can try adding a "Path" to your desktop file to indicate the 'working' directory: path=/media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash Did this ever work right before you moved to Flatpak? (that is, accessing the files from USB, saving backups in the right location with the files, etc.) Per my other comment about this being a 20.04 flatpak-related bug, perhaps it has something to do with the mount-point or type of mount-point of the USB. Did you give permission to access the USB drive to flatpak? (as noted in the wiki): sudo flatpak override org.gnucash.GnuCash --filesystem=$PATH_TO_USB_DRIVE Finally, are you 100% certain you don't have GnuCash installed either from a build or .deb? When you double-click a data file to open GnuCash (which you say works) what version is reported? What happens when you run your Exec command from the .desktop file in a terminal? Regards, Adrien On 3/29/22 1:18 AM, Jeff wrote: I have tried all of this. As per your information I did in fact find an icon in: /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico The desktop link gives me an error of "No suitable backend was found for /home/jeffrey/Desktop/Dad.desktop". I am using the XML save, uncompressed. I have a great distrust of compressed data files. My .desktop file is: [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 And in case you are wondering 'Mac Drive' is an external USB drive that I bought on clearance for half price, and I am not using a Mac computer. I just never changed the drive name because I had trouble with the initial install of the drive several years ago, pre-Ubuntu. Turned out that I had a bad USB cable. It works flawlessly if I manually click on Dad.gnucash in the file manager. This does not appear anywhere on my server. /home/jeffrey/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico. Permissions are set to run as executable for the desktop icon. Icon does not show up, just the generic blank icon. If I hit "Okay" I end up with a new, empty, set of books. If I manually open Dad.gnucash from the link it opens the correct set of books but; wants to create scheduled transactions going back to 2019. And I also simply installed GNC as a Flatpak. It also creates backups on the desktop. For the life of me I cannot figure out what is going on. I can create desktop icons for everything except Flatpak programs. I have to have a gremlin in my server, because I cannot even build a working version of GNC from source (after uninstalling GNC). As of right now I only have one user on my server. ___ 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,
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
For the icon issue, while Flatpak apps are sandboxed and might not have access to that icon location, have you tried copying it to somewhere in your home folder and seeing if that works? (it is the Desktop file using it, so this would be weird, but I guess worth a shot) https://wiki.gnucash.org/wiki/Flatpak#Desktop_Icon gives the example of making a desktop icon and it specifies a /.local location in your home folder. That page might be assuming you installed the app for one user (you) and not the system. This might be why the icon file is in /var/lib instead of /jeffrey/.local. Though why that matters, I'm stumped. I also find it strange that GnuCash is storing backups on the desktop when it is opening the file from the USB drive. But you can try adding a "Path" to your desktop file to indicate the 'working' directory: path=/media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash Did this ever work right before you moved to Flatpak? (that is, accessing the files from USB, saving backups in the right location with the files, etc.) Per my other comment about this being a 20.04 flatpak-related bug, perhaps it has something to do with the mount-point or type of mount-point of the USB. Did you give permission to access the USB drive to flatpak? (as noted in the wiki): sudo flatpak override org.gnucash.GnuCash --filesystem=$PATH_TO_USB_DRIVE Finally, are you 100% certain you don't have GnuCash installed either from a build or .deb? When you double-click a data file to open GnuCash (which you say works) what version is reported? What happens when you run your Exec command from the .desktop file in a terminal? Regards, Adrien On 3/29/22 1:18 AM, Jeff wrote: I have tried all of this. As per your information I did in fact find an icon in: /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico The desktop link gives me an error of "No suitable backend was found for /home/jeffrey/Desktop/Dad.desktop". I am using the XML save, uncompressed. I have a great distrust of compressed data files. My .desktop file is: [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 And in case you are wondering 'Mac Drive' is an external USB drive that I bought on clearance for half price, and I am not using a Mac computer. I just never changed the drive name because I had trouble with the initial install of the drive several years ago, pre-Ubuntu. Turned out that I had a bad USB cable. It works flawlessly if I manually click on Dad.gnucash in the file manager. This does not appear anywhere on my server. /home/jeffrey/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico. Permissions are set to run as executable for the desktop icon. Icon does not show up, just the generic blank icon. If I hit "Okay" I end up with a new, empty, set of books. If I manually open Dad.gnucash from the link it opens the correct set of books but; wants to create scheduled transactions going back to 2019. And I also simply installed GNC as a Flatpak. It also creates backups on the desktop. For the life of me I cannot figure out what is going on. I can create desktop icons for everything except Flatpak programs. I have to have a gremlin in my server, because I cannot even build a working version of GNC from source (after uninstalling GNC). As of right now I only have one user on my server. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
The 'no suitable backend' is clueing me to an issue with that particular file and not having the right backend installed/enabled. But Jeffrey already said opening the file directly works fine and is using XML. (usually one sees that error when trying to use one of the db backends since XML is not an issue) I'm going to hazard there is some weird flatpak bug at play and it seems to have been resolved as of 21.10. Maybe there is a solution or workaround, or maybe upgrading to the next LTS (22.04, due out next month) will do the trick. Regards, Adrien On 3/29/22 5:51 PM, David H wrote: Jeffery, I have the Gnucash flatpak "user" version installed. The gnucash flatpak wiki desktop shortcut (https://wiki.gnucash.org/wiki/Flatpak) works for me on Ubuntu 21.10 after updating my file location (see below) The one step not mentioned is to right click the desktop shortcut and select "Allow launching" - this updates the desktop shortcut icon and if you don't do this it just opens in text editor. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Jeffery, I have the Gnucash flatpak "user" version installed. The gnucash flatpak wiki desktop shortcut (https://wiki.gnucash.org/wiki/Flatpak) works for me on Ubuntu 21.10 after updating my file location (see below) The one step not mentioned is to right click the desktop shortcut and select "Allow launching" - this updates the desktop shortcut icon and if you don't do this it just opens in text editor. Cheers David H. Desktop IconAssuming you want to create a desktop icon to open your second file test-2.gnucash from your Documents folder: [Desktop Entry]Type=ApplicationTerminal=falseExec=flatpak run org.gnucash.GnuCash Documents/test-2.gnucashName=GnuCash (flatpak) test-2Comment=Manage home and small business accountsIcon=~/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico On Tue, 29 Mar 2022 at 16:20, Jeff wrote: > I have tried all of this. As per your information I did in fact find an > icon in: > > > /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico > > > The desktop link gives me an error of "No suitable backend was found for > /home/jeffrey/Desktop/Dad.desktop". I am using the XML save, > uncompressed. I have a great distrust of compressed data files. > > My .desktop file is: > > [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 > > And in case you are wondering 'Mac Drive' is an external USB drive that > I bought on clearance for half price, and I am not using a Mac > computer. I just never changed the drive name because I had trouble > with the initial install of the drive several years ago, pre-Ubuntu. > Turned out that I had a bad USB cable. It works flawlessly if I > manually click on Dad.gnucash in the file manager. > > This does not appear anywhere on my server. > > /home/jeffrey/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico. > > Permissions are set to run as executable for the desktop icon. Icon does > not show up, just the generic blank icon. If I hit "Okay" I end up with > a new, empty, set of books. If I manually open Dad.gnucash from the > link it opens the correct set of books but; wants to create scheduled > transactions going back to 2019. And I also simply installed GNC as a > Flatpak. It also creates backups on the desktop. > > For the life of me I cannot figure out what is going on. I can create > desktop icons for everything except Flatpak programs. > > I have to have a gremlin in my server, because I cannot even build a > working version of GNC from source (after uninstalling GNC). > > As of right now I only have one user on my server. > > -- > --JEffrey Black M.B.A. > > > On 3/26/22 6:55 AM, david whiting wrote: > > 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 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
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I have tried all of this. As per your information I did in fact find an icon in: /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico The desktop link gives me an error of "No suitable backend was found for /home/jeffrey/Desktop/Dad.desktop". I am using the XML save, uncompressed. I have a great distrust of compressed data files. My .desktop file is: [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 And in case you are wondering 'Mac Drive' is an external USB drive that I bought on clearance for half price, and I am not using a Mac computer. I just never changed the drive name because I had trouble with the initial install of the drive several years ago, pre-Ubuntu. Turned out that I had a bad USB cable. It works flawlessly if I manually click on Dad.gnucash in the file manager. This does not appear anywhere on my server. /home/jeffrey/.local/share/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/share/gnucash/pixmaps/gnucash-icon.ico. Permissions are set to run as executable for the desktop icon. Icon does not show up, just the generic blank icon. If I hit "Okay" I end up with a new, empty, set of books. If I manually open Dad.gnucash from the link it opens the correct set of books but; wants to create scheduled transactions going back to 2019. And I also simply installed GNC as a Flatpak. It also creates backups on the desktop. For the life of me I cannot figure out what is going on. I can create desktop icons for everything except Flatpak programs. I have to have a gremlin in my server, because I cannot even build a working version of GNC from source (after uninstalling GNC). As of right now I only have one user on my server. -- --JEffrey Black M.B.A. On 3/26/22 6:55 AM, david whiting wrote: 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 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 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
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
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 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 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@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 ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
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 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@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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Jeff, Follow David Whitings suggestion creating multiple desktop entries in the file, one for each separate datafile you need to open, changing the name in the Name entry and the filepath in the Exec entry as appropriate. You can locate/put the desktop file in your home directory at /home//.local/share/applications/gnucash.desktop. If you need it available to all users on the system you can similarly modify the gnucash.desktop file at /usr/local/share /applications/gnucash.desktop to append the additional entries to the file there but you will need sudo privileges to do that. (There are a lot of multilanguage entries in the system file so it will be simpler to create the single user entry in your home directory. David Cousens On Fri, 2022-03-25 at 18:24 -0500, Jeff wrote: > I would like to have individual icons that execute GNC for a specific > set of books. > > IE: icon (GNC parents books)icon (GNC personal books) icon (GNC > company books) etc. > > ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I think David Whiting's reply should get you there. (I didn't notice it when I sent mine) If that doesn't work, report back what happens instead. Regards, Adrien On 3/25/22 6:24 PM, Jeff wrote: I would like to have individual icons that execute GNC for a specific set of books. IE: icon (GNC parents books) icon (GNC personal books) icon (GNC company books) etc. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I would like to have individual icons that execute GNC for a specific set of books. IE: icon (GNC parents books) icon (GNC personal books) icon (GNC company books) etc. -- --JEffrey Black M.B.A. On 3/25/22 12:43 PM, Adrien Monteleone wrote: You want an application icon or for the individual data files (books)? The application is a bit of work if it is Flatpak, but I would think the data files should be no issue. Regards, Adrien On 3/25/22 2:38 AM, Jeff 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. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
You want an application icon or for the individual data files (books)? The application is a bit of work if it is Flatpak, but I would think the data files should be no issue. Regards, Adrien On 3/25/22 2:38 AM, Jeff 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. ___ 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.
Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
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 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@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 ___ 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.
[GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
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@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.