Created
June 13, 2023 04:55
-
-
Save Ethorbit/56db18f9490fa1e13c6ed258402158e1 to your computer and use it in GitHub Desktop.
Systemd service to set the default Steam Deck desktop session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Forces gamescope to be the desktop session on boot | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/sh -c 'grep gamescope /etc/sddm.conf.d/zz-steamos-autologin.conf || sudo -u deck /usr/sbin/steamos-session-select gamescope' | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment