mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-13 20:35:40 +02:00
fix: the conversion removes single user mode's desktop autologin, which pinned the Plasma session
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KkpbsMw4rQyBsxDG6ebHK2
This commit is contained in:
1 parent
77715f9f73
commit
d4bb4c4d92
3 files changed
+15
No files matched your search
@@ -7,6 +7,8 @@ one per merged pull request.
|
|||||||
|
|
||||||
## 2.11.2 - 2026-10-13
|
## 2.11.2 - 2026-10-13
|
||||||
|
|
||||||
|
- **fix: on an NVIDIA PC that had single user mode on before the SteamOS conversion, "Return to Gaming Mode" and the boot choice work again: single user mode's desktop autologin (`zzz-steamify-autologin.conf`, read last) pinned the Plasma session; the conversion removes it, and turning the conversion off sets it up again**
|
||||||
|
|
||||||
- **fix: when an option fails, its sub-options are not applied any more (a failed conversion used to leave its "Boot into the desktop", silent start and icons on without it)**
|
- **fix: when an option fails, its sub-options are not applied any more (a failed conversion used to leave its "Boot into the desktop", silent start and icons on without it)**
|
||||||
|
|
||||||
- **fix: a PC that keeps `python-hidapi` (liquidctl needs it) can use the SteamOS conversion: jupiter-hw-support, which gamescope-session-cachyos depends on, wants `python-hid`, which conflicts with it and stopped the package install. Steamify builds and installs an empty placeholder package that provides `python-hid` first (`patches/python-hid-shim.PKGBUILD`); only the Steam Deck controller firmware updater uses it**
|
- **fix: a PC that keeps `python-hidapi` (liquidctl needs it) can use the SteamOS conversion: jupiter-hw-support, which gamescope-session-cachyos depends on, wants `python-hid`, which conflicts with it and stopped the package install. Steamify builds and installs an empty placeholder package that provides `python-hid` first (`patches/python-hid-shim.PKGBUILD`); only the Steam Deck controller firmware updater uses it**
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ gaming_enable() {
|
|||||||
install_session_sync
|
install_session_sync
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
# (NVIDIA with single user mode from before the conversion: its desktop autologin would pin the Plasma session.)
|
||||||
|
single_login_release
|
||||||
create_desktop_shortcut
|
create_desktop_shortcut
|
||||||
steam_enable
|
steam_enable
|
||||||
os_name_enable || return 1
|
os_name_enable || return 1
|
||||||
@@ -127,6 +129,8 @@ gaming_disable() {
|
|||||||
gsn_disable
|
gsn_disable
|
||||||
krevert gaming
|
krevert gaming
|
||||||
os_name_disable
|
os_name_disable
|
||||||
|
# NVIDIA with single user mode still on: nothing else logs in by itself any more.
|
||||||
|
nvidia_present && single_status && single_login_enable
|
||||||
ok "The PC boots to the normal login screen again (from the next boot)."
|
ok "The PC boots to the normal login screen again (from the next boot)."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -140,6 +140,15 @@ EOF
|
|||||||
remove_sddm_base_autologin
|
remove_sddm_base_autologin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
single_login_release() {
|
||||||
|
# The SteamOS conversion logs in by itself, and picks the session (gamescope, or the desktop with "Boot into"): the
|
||||||
|
# desktop autologin above, which sorts last, would pin the Plasma session and "Return to Gaming Mode" would open KDE
|
||||||
|
# again. Called when the conversion is turned on; turning it off sets it up again (gaming_disable).
|
||||||
|
[[ -f "$SINGLE_AUTOLOGIN" ]] || return 0
|
||||||
|
info "The SteamOS conversion logs in by itself: removing the desktop autologin of single user mode."
|
||||||
|
sudo rm -f "$SINGLE_AUTOLOGIN"
|
||||||
|
}
|
||||||
|
|
||||||
single_login_disable() {
|
single_login_disable() {
|
||||||
[[ -f "$SINGLE_AUTOLOGIN" ]] || return 0
|
[[ -f "$SINGLE_AUTOLOGIN" ]] || return 0
|
||||||
sudo rm -f "$SINGLE_AUTOLOGIN"
|
sudo rm -f "$SINGLE_AUTOLOGIN"
|
||||||
|
|||||||
Reference in new issue
Block a user