From ae11ffadf61425e34349fe94a97dbd0622d9007c Mon Sep 17 00:00:00 2001 From: Sander Sweers Date: Mon, 10 Mar 2025 20:15:40 +0100 Subject: [PATCH 1/2] Allow flatpak to talk to inhibit/screensaver dbus interfaces --- Flatpak/org.DolphinEmu.dolphin-emu.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flatpak/org.DolphinEmu.dolphin-emu.yml b/Flatpak/org.DolphinEmu.dolphin-emu.yml index db42a3bd03..deb246f2b6 100644 --- a/Flatpak/org.DolphinEmu.dolphin-emu.yml +++ b/Flatpak/org.DolphinEmu.dolphin-emu.yml @@ -18,7 +18,10 @@ finish-args: # required for the emulated bluetooth adapter feature to work. - --allow=bluetooth - --filesystem=xdg-run/app/com.discordapp.Discord:create + # required to disable the screensaver in various desktops - --talk-name=org.freedesktop.ScreenSaver + - --talk-name=org.xfce.ScreenSaver + - --talk-name=org.mate.ScreenSaver # required for Gamescope on Steam Deck - --filesystem=xdg-run/gamescope-0:ro modules: From 3705c73d55fa8a9b7ae8b98b754f2f0674c309fa Mon Sep 17 00:00:00 2001 From: Sander Sweers Date: Mon, 10 Mar 2025 20:16:49 +0100 Subject: [PATCH 2/2] xdg-screensaver was replaced by calling dbus interfaces --- Flatpak/org.DolphinEmu.dolphin-emu.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Flatpak/org.DolphinEmu.dolphin-emu.yml b/Flatpak/org.DolphinEmu.dolphin-emu.yml index deb246f2b6..d63cc13928 100644 --- a/Flatpak/org.DolphinEmu.dolphin-emu.yml +++ b/Flatpak/org.DolphinEmu.dolphin-emu.yml @@ -42,14 +42,6 @@ modules: stable-only: true url-template: https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz - # needed for screensaver inhibition - - name: xdg-screensaver-shim - buildsystem: meson - sources: - - type: archive - url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz - sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399 - # build the vendored SDL2 from Externals until the runtime gets 2.30.9 - SDL2/SDL2.json