forget about gamemoded.service, just systemd-inhibit the game autostarts

This commit is contained in:
Aminda Suomalainen 2026-03-15 10:27:00 +02:00
parent 10ed7a351b
commit 13396fb711
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
4 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Heroic Games Launcher
Exec=systemd-inhibit gamemoderun flatpak run com.heroicgameslauncher.hgl
Terminal=false
SingleMainWindow=true
Type=Application
Icon=com.heroicgameslauncher.hgl
StartupWMClass=heroic
MimeType=x-scheme-handler/heroic;
Categories=Game;PackageManager;
X-Flatpak=com.heroicgameslauncher.hgl

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=SteamDeck TV
Exec=gamemoderun flatpak run --env=SteamDeck=1 com.valvesoftware.Steam -tenfoot -steamdeck
Exec=systemd-inhibit gamemoderun flatpak run --env=SteamDeck=1 com.valvesoftware.Steam -tenfoot -steamdeck
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=SteamDeck icon
Exec=flatpak run --env=SteamDeck=1 com.valvesoftware.Steam -silent -steamdeck
Exec=systemd-inhibit flatpak run --env=SteamDeck=1 com.valvesoftware.Steam -silent -steamdeck
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -312,7 +312,7 @@ if [ "$(id -u)" == "0" ]; then
#(systemctl --global enable darkman.service &)
(systemctl --global enable systemd-tmpfiles-setup.service &)
# experiment
(systemctl --global enable gamemoded.service &)
#(systemctl --global enable gamemoded.service &)
# SECURITY WARNING! Practically a backdoor unless you are me and expect this!
# WARNING! Likely breaks SSHd outside of port 22 unless override exists!
(systemctl --global enable foot-server.socket &)