i installed flatpak because i want steam and cant as iam on musl, but i can run it as i always get the following error:
Code: Select all
marius@gentoo ~/Downloads $ env DISPLAY=:0 flatpak run com.valvesoftware.Steam
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/marius/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
INFO:root:Overriding TZ to UTC
steam.sh[2]: Running Steam on org.freedesktop.platform 25.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[51]: Steam runtime environment up-to-date!
steam.sh[2]: Log already open
steam.sh[2]: Error: The unofficial Steam Flatpak app requires a correctly-configured desktop
session, which must provide the DISPLAY environment variable to the
D-Bus session bus activation environment.
On systems that use systemd --user, the DISPLAY environment variable must
also be present in the systemd --user activation environment.
This is usually achieved by running:
dbus-update-activation-environment DISPLAY
during desktop environment startup.
For more details, please see:
https://github.com/ValveSoftware/steam-for-linux/issues/10554
i set spawn "dbus-update-activation-environment DISPLAY" in my niri config.kdl but that didnt fix it. Also, iam using env DISPLAY=:0 flatpak run com.valvesoftware.Steam to run steam because it was advised to do so on the niri wiki page (it was the xwayland-satellite example). Does anyone know how to fix this? I already tried a lot but it didnt work and i have no clue about flatpak (because i dislike it but its the best way at the moment).
