mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2025-04-10 19:15:11 +00:00
Merge pull request #335 from flathub/inhibit
screensaver inhibition: drop shim and add permissions for older systems
This commit is contained in:
commit
67b7b888cd
|
@ -125,9 +125,13 @@ At the moment the only realistic usage case for this are HDR10 filters if you ha
|
|||
|
||||
### talk-name=org.freedesktop.ScreenSaver
|
||||
|
||||
Required for screensaver inhibition during gameplay.
|
||||
Also `--talk-name=org.xfce.ScreenSaver` and `--talk-name=org.mate.ScreenSaver`.
|
||||
|
||||
It can be disabled but your screensaver might trigger during gameplay depending on your input device and screensaver configuration.
|
||||
These are required for screensaver inhibition during gameplay on systems with old or defective portal implementations.
|
||||
|
||||
If you're on a desktop with a newer portal implementation it's safe to disable all of these.
|
||||
|
||||
You can also disable them on older systems, but your screensaver might trigger during gameplay depending on your input device and screensaver configuration.
|
||||
|
||||
## dolphin-tool
|
||||
|
||||
|
|
|
@ -18,7 +18,11 @@ finish-args:
|
|||
# required for the emulated bluetooth adapter feature to work.
|
||||
- --allow=bluetooth
|
||||
- --filesystem=xdg-run/app/com.discordapp.Discord:create
|
||||
# required for screensaver inhibition on desktops with
|
||||
# old or defective portal implementations.
|
||||
- --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:
|
||||
|
@ -57,14 +61,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
|
||||
|
||||
- name: dolphin-emu
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
|
|
Loading…
Reference in a new issue