Portal: KDE file dialog for Flatpak apps in the Steam session

Neither Valve backend (gamescope, holo) implements FileChooser, so sandboxed
apps fell back to an in-sandbox dialog without the home dir (e.g. Element's
Attachments). session.portalFix.fileChooser (on) links kde.portal into the
Steam session's portal dir and selects kde for FileChooser;
xdg-desktop-portal-kde is D-Bus activated with DISPLAY=:0. Flake check
for the portal config.
This commit is contained in:
Pierre Kisters committed 2026-09-29 03:20:12 +02:00
1 parent 356dcb9012
commit 50e5991c59
6 files changed
+92 -17

No files matched your search

+3 -2
View File
@@ -66,14 +66,15 @@
# Tests of the VR keyboard (text model, corrector, swipe decoder on the
# default German + English dictionary), the Jellyfin mpv shim, the
# Firefox wrapper, the launchers, install.sh cleanup and the
# applications.menu link: nix flake check
# Firefox wrapper, the launchers, install.sh cleanup, the
# applications.menu link and the portal config: nix flake check
checks = forSystems (pkgs: {
applications-menu = import ./modules/applications-menu/check.nix { inherit pkgs; };
cleanup = import ./modules/cleanup/check.nix { inherit pkgs; };
firefox = import ./modules/firefox/check.nix { inherit pkgs; };
jellyfin = import ./modules/jellyfin/check.nix { inherit pkgs; };
launchers = import ./modules/launchers/check.nix { inherit pkgs; };
portal = import ./modules/portal/check.nix { inherit pkgs; };
vr-keyboard = import ./modules/vr-keyboard/check.nix { inherit pkgs; };
});