From 14cb28a7c4174d7811286a9119bebb4cc47d0ca9 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 12 Sep 2024 21:33:01 -0700 Subject: [PATCH] feat(deck): Always log into steam gaming mode on first boot --- system_files/deck/shared/usr/libexec/bazzite-autologin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/deck/shared/usr/libexec/bazzite-autologin b/system_files/deck/shared/usr/libexec/bazzite-autologin index c19871ab..ae69d144 100755 --- a/system_files/deck/shared/usr/libexec/bazzite-autologin +++ b/system_files/deck/shared/usr/libexec/bazzite-autologin @@ -17,7 +17,7 @@ if [[ -f ${AUTOLOGIN_CONF} ]]; then fi # Configure autologin if Steam has been updated -if [[ ! -f ${DESKTOP_AUTOLOGIN} && -f $HOME/.local/share/Steam/ubuntu12_32/steamui.so ]]; then +if [[ ! -f ${DESKTOP_AUTOLOGIN} ]]; then sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF} elif [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then sed -i 's/.*Session=.*/Session=plasma.desktop/g' ${SDDM_CONF}