Repository navigation
Desktop Environment icons are not displayed #187
DescriptionWhen flatpaks are installed via the Home Manager module, Desktop Environment icons don't appear. The applications are installed under Launch OutputOutput when flatpaks are launched via the terminal: Temporary FixAdd the bellow to your Home Manager configuration: Reproduce
My
|
Replies: 4 comments 1 reply
|
interjecting myself into this issue. I do not know if there is a better technical solution but I think this is important to at least write documentation for in the installation README.md. Under "Notes on HomeManager", another paragraph should be added: " xdg.systemDirs.data = [ "$HOME/.local/share/flatpak/exports/share" ];This will add flatpaks' desktop files and icons to your session's XDG_DATA_DIRS. |
|
The above workaround worked for a while, but then suddenly the apps disappeared again. I am new to NixOS, so I am not sure what could've caused it. |
|
I figured out the problem. I missed this in the README, but you need to have |
Thanks for looking into this. I'll move this Issue to a Q&A conversation, mark your comment as the answer, and point to it in the README. I never had to fiddle with XDG to get desktop icons to work (be it flatpaks or normal apps). Just for my own education, are you declaring |
interjecting myself into this issue. I do not know if there is a better technical solution but I think this is important to at least write documentation for in the installation README.md.
Under "Notes on HomeManager", another paragraph should be added:
"
In order to show desktop icons for installed apps in a home-manager installation, add the following to your home.nix:
This will add flatpaks' desktop files and icons to your session's XDG_DATA_DIRS.
"