Closed cmarcelo closed 5 years ago
@cmarcelo just checking: which display manager are you using?
flatpak version currently packaged ships an env file for gdm, but if I'm not wrong, 1.2.0 includes a fix for this.
@anselmolsm I'm using sddm. So I'm guessing that's the issue.
@anselmolsm should we patch sddm (or its package) to look at the right places?
confirmed broken @mrkz
@ahkok same behavior? (using sddm)
@cmarcelo I see flatpak 1.2.0 deploys a systemd/user-environment-generators , I guess that may help to have a dm-independent solution.
@mrkz gnome. although a desktop restart today fixed my workspace in the office (it sees flatpaks again now in the apps browser)
So flatpak package ships a file to setup environment but that seems to only handle the GDM case.
I'd like to find a common way to solve this for all desktop environments, so I thought about adding an env file at /usr/share/defaults/etc/profile.d/50-flatpak.sh to set XDG_DATA_DIRS accordingly. Opinions?
(BTW @cmarcelo, the sddm package's session scripts try to load /etc/profile, I'm sending an update to make it check the defaults/etc dir too).
/usr/share/defaults/etc/profile.d/50-flatpak.sh to set XDG_DATA_DIRS accordingly
LGTM.
flatpak 1.0.7-44 released in 28410 today should fix this.
It used to be the case that I could use gnome launcher to load applications installed with flatpak, but I've noticed this stopped working for a few weeks.
Also: when opening a pptx file from the web-browser, Libreoffice (from flatpak) is not shown as an option.
Maybe the MIME or desktop files for flatpak are not being queried anymore?