Flatpaks are invisible to application launchers

  • Open
  • quality assurance status badge
Details
3 participants
  • guixuser6392
  • guixuser8421 via web
  • John Kehayias
Owner
unassigned
Submitted by
guixuser6392
Severity
normal
G
G
guixuser6392 wrote on 1 Dec 2020 21:33
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
Xo6WE36s3GlBevOaPXA0ZWeDpN-SGvXmKUaArx4H7OZ3o2zpgUH5tIA4w7yGXrQpmLeamPBi4OIGvW59e8jomF15Q3TM4WIBnuYI32v2j2s=@protonmail.com
Applications installed by Flatpak can't be discovered by application launchers. A fix to this is to add the directories '/var/lib/flatpak/exports/share' and '$HOME/.local/share/flatpak/exports/share' to the search path set by the XDG_DATA_DIRS environment variable.
G
G
guixuser8421 via web wrote on 17 Mar 2021 11:15
(address . 44997@debbugs.gnu.org)
7f9bd999e860.96a6f4b44efb7ec@guile.gnu.org
Flatpak does export /etc/profile.d/flatpak.sh, that should set up XDG_DATA_DIRS. But I don't think there's a canonical way of using it in guix. Another way is to modify the package to do exactly what you said.
J
J
John Kehayias wrote on 17 Aug 2021 05:01
(name . 44997@debbugs.gnu.org)(address . 44997@debbugs.gnu.org)
qhs2u6WkTCto5easU1_nyg0af2d-xHdf44zHJDAvfWVCUmH4ROd6dvWPCmrW5NV8aLCbmNFbhzj-hBM7I9M6LrhJRBoS4HuqVKMR2WeIKrI=@protonmail.com
I agree this should be exported by the flatpak package. I haven't hit any other packages putting anything in /etc/profile.d, though that does happen I know (so perhaps Guix should incorporate or patch such things?). Flatpak is also due for an update soon I think, so that would be a good time to make the modification perhaps.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 44997@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 44997
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch