Trying to install flatpack keepassxc because snap has older release. Installation worked and despite $XDG_DATA_DIRS having /home/bernhard/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share/budgie-desktop:/usr/share
The desktop file was not found. I had to copy form the flatpak environment to .local/share/application which solved the startup problem but the icon was not found. I had to change the desktop entry line 39 to:
There seems to be an incomplete flatpak apps integration or the ubuntu-budgie-desktop doesnāt know about $XDB_DATA_DIRS entries. It shouldnāt be necessary for a user to make these changes after the flatpak app installation.
I donāt use KeepassXC, but before you blame it and start tinkering with settings, I think you should install Flatseal to give it the permissions it lacks by default due to Flatpakās containerized design:
Launch it, go to the āFilesystemā section, and grant access to all system files.
Itās not a fine-tuned solution, but it should work.
Then, with a little searching, you should be able to figure out how to do exactly what you want.
Thanks for the tip, but I donāt think access rights have anything to do with my problem. I didnāt mean to blame anything or anybody, but I tried to use keepassxc on the āubuntuā desktop and to my surprise it worked perfectly. So what is the difference between the two desktops? I found that the desktop file org.keepassxc.KeePassXC.desktop file in ~/.local/share/flatpak/exports/share/applications is a link to a rather complicate location. I suspect the difference is one āubuntu desktopā accepting links, but ābudgie desktopā not. Could this be it?
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
$XDG_DATA_DIRS /usr/share/budgie-desktop:/usr/share (no flatpak keepassxc installed yet)
I found suggestions to add an export XDG_DATA_DIRS=āā¦ā command with the necessary directories, which I tried and got myself in a mess and opened the topic. Or even to add a script to /etc/profile.d/custom-xdg.sh!
Now I ask myself: is it flatpakās job or ubuntu-budgieās job to set the variable. (I found that the entry for snap apps is missing as well). How can I debug this setup?
What amazes me, is when I login with āubuntuā desktop, the XDG_DATA_DIRS variable is set as expected and works.
Iām really sorry to bother you that much. My next step will be to reinstall Ubuntu-Budgie.
Iāve never installed āgnome-software-plugin-flatpakā, and I donāt use a graphical interface ā neither āeasyflatpakā nor even Bazaar (no more than āSoftwareā) ā I prefer using the terminal: at least you can see whatās happening.
After that, but only after that, I install Flatpak applications by copy-pasting the āManual Installā code from the āInstallā button:
flatpak install flathub org.keepassxc.KeePassXC
And I had never looked at $XDG_DATA_DIRS before you mentioned it.
Personally, Iāve never had any issues.
A couple of friends couldnāt access certain directories, but that was with very specific applications ā hence my first recommendation to install Flatseal.
Well done, you did it, @agingskier!
āAide-toi, le Ciel tāaideraā (Help yourself, and heaven will help you), as they say in France.
May I ask a silly question?
Why Zsh?
Hi Jib,
sorry for my late reply. Re. my zsh usage: I have no particular reason to use zsh. I used to have the bash shell active and was happy with it, but at the same time I like to look around and came around a youtube presentation about zsh. I thought, I give it a shot and I liked the zsh prompt a lot. Thatās why I ended up with zsh. Lately Iām trying the fish shell as well but so far Iām sticking with zsh.
Probably a boring reason, but good enough for me.
regards
bernhard
Thatās a good reason, and I totally understand it, given how many kinds of tinkering Iāve done ā in fact, I think thatās what I love about Linux: being able to try out all sorts of things even if youāre not a computer guru.
Have you ever been tempted to try the fish shell? I hear itās even better!
Iāll give fish shell a shot later on but currently Iām cleaning up my ansible-pull environment as Ubunut-Budgie 26.04 produced some funny behavior. Number one my login screen had extremely tine characters I could hardly read. So, I created and ansible yml file to change sddm theme.conf file - wasnāt easy to create the correct regex expression - chatgpt help me a lot.
Hi Jean,
With every new release of Ubuntu-Budgie, I delete all partitions and start from scratch to get rid of all the clutter accumulated over time. To install the release I use ansible-pull because I canāt remember all the details. Therefor the ansible file to change the sddm theme.conf file. Obviously changing the values once would be easier with the editor. Hope that explains my reason to use ansible.
regards
bernhard