mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 21:15:43 +00:00
fix(flatpak): give apps with host access the home folder and its ROMs mount
This commit is contained in:
1 parent
8a27ea841c
commit
fe55ec24c1
3 files changed
+47
-8
No files matched your search
@@ -69,7 +69,10 @@ screen under gamescope. Under gamescope it passes `--nosocket=wayland --socket=x
|
||||
`XDG_SESSION_TYPE=x11`. Otherwise Flatpak finds the app compositor's `wayland-0` and the window
|
||||
opens behind gamescope. gamescope's own Wayland socket is no alternative: Chromium on Wayland
|
||||
asks the render node it names for a DRM version, which KGSL cannot give, and aborts. The
|
||||
launcher also starts a session bus when there is none. On the Linux desktop, the apps' exported
|
||||
launcher also starts a session bus when there is none. Flatpak's `host` permission skips `/root`,
|
||||
since a desktop's homes live under `/home`, but the session's home is `/root`. An app granted `host`
|
||||
and not `home` is therefore also given `home` in the same mode, which brings in the session's mounts
|
||||
there, such as `/root/ROMs`. On the Linux desktop, the apps' exported
|
||||
menu entries appear in Plasma's launcher. Games are wrapped through `droiddeck-gpu` like the
|
||||
rootfs's own, since the desktop composites in software.
|
||||
|
||||
|
||||
Reference in new issue
Block a user