flatpak prism launcher not appearing in host gamescope session with steam in distrobox

okay so i have a setup with these three things 1. prism launcher as a flatpak and added as a non-steam game 2. gamescope layered on fedora sway atomic 40 3. steam from the bazzite-arch container (exported) i run steam with this command
gamescope -e -W 1920 -H 1080 -r 60 -- steam -bigpicture -steamos3
gamescope -e -W 1920 -H 1080 -r 60 -- steam -bigpicture -steamos3
and launch prism launcher from within steam prism launcher launches, but outside of the gamescope session, meaning that: 1. prism launcher is is open when the gamescope session is closed 2. i can't see or interact with prism launcher from within the gamescope session
Solution:
GitHub
Run flatpaks inside distrobox · Issue #462 · 89luca89/distrobox
Describe the bug Running arch in distrobox with podman, cannot use flatpak To Reproduce 1, distrobox create -i archlinux and then enter it 2, installing flatpak by pacman 3, try to install okular b...
Jump to solution
15 Replies
not_leader
not_leaderOP2mo ago
this does not happen when using layered steam and appears to only happen when using container steam (with flatpak steam flatpaks can't be imported)
Kyle Gospo
Kyle Gospo2mo ago
steam from the bazzite-arch container (exported)
on bazzite? or are you using another distro?
not_leader
not_leaderOP2mo ago
fedora sway atomic
Kyle Gospo
Kyle Gospo2mo ago
gotcha, that makes more sense Iirc gamescope can't work properly in distrobox, main reason being that it can't create the x server files in /etc due to perms might be part of your issue there's a flatpak gamescope you may be able to hook up for this role
not_leader
not_leaderOP2mo ago
oh this is layered gamescope
Kyle Gospo
Kyle Gospo2mo ago
so gamescope -> steam -> flatpak?
not_leader
not_leaderOP2mo ago
gamescope is layered, but steam is in a distrobox
Kyle Gospo
Kyle Gospo2mo ago
or steam -> gamescope (on host) -> flatpak (on host)?
not_leader
not_leaderOP2mo ago
gamescope (on host) -> steam (distrobox, exported to host) -> flatpak (on host)
Kyle Gospo
Kyle Gospo2mo ago
interesting stuff, amazing that works (ish)
not_leader
not_leaderOP2mo ago
flatpak (on host)
i think this might be the problem i'll test with a game not on host okay yep that's the problem using a game not on host works fine tested with warfork (distrobox, installed using steam) is there a way to run host flatpaks in the container?
Kyle Gospo
Kyle Gospo2mo ago
they have to be on the host, but you can symlink /usr/bin/flatpak to /usr/bin/distrobox-host-exec in the box
not_leader
not_leaderOP2mo ago
oh right there is a "/usr/bin/flatpak" in the container i believe this to be the host flatpak because no flatpak package is installed changing "/usr/bin/flatpak" to "/usr/bin/distrobox-host-exec" and adding flatpak as an option doesn't seem to change anything
Solution
not_leader
not_leader2mo ago
GitHub
Run flatpaks inside distrobox · Issue #462 · 89luca89/distrobox
Describe the bug Running arch in distrobox with podman, cannot use flatpak To Reproduce 1, distrobox create -i archlinux and then enter it 2, installing flatpak by pacman 3, try to install okular b...
not_leader
not_leaderOP2mo ago
okay so uhhhh yeah flatpak isn't an option here lol i can either do container prism or host steam host steam seems like the more reasonable option here (it's not solved but instead unsolvable)
Want results from more Discord servers?
Add your server