Repository navigation
feat(bgrt-theme): log in by itself whoever unlocked the disk - #19
Merged
Merged
Conversation
From omarchy-multiuser 0.12.0 on, the disk prompt's choice is no longer SDDM's automatic login: the greeter logs that person in as it comes up, with an empty password that omarchy-mu-login-once lets through once, so the desktop gets a console of its own and switching users needs no logout. The BGRT greeter, which replaces omarchy-multiuser's, makes the same try, and its copy of Password.js gains autoLoginUser(). With an older omarchy-multiuser, no PAM line takes the empty password, which then counts as a failed login at each greeter start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
lbssousa/omarchy-multiuser#13 replaces SDDM's automatic login with a login the greeter makes itself as it comes up. An empty password goes through
omarchy-mu-login-once, once, for whoever unlocked the disk. That desktop then gets a console of its own, so switching users needs no logout. The BGRT greeter replaces omarchy-multiuser's on this machine, so it has to make the same try.Change
playbooks/files/omarchy-bgrt-sddm/Main.qml: the same try as omarchy-multiuser's greeter. On start it callssddm.login(lastUser, "")once and shows nothing if it fails. An Enter pressed meanwhile is sent afterwards.playbooks/files/omarchy-bgrt-sddm/Password.js: the copy gainsautoLoginUser().Depends on
omarchy-multiuser#13, released and deployed. With an older omarchy-multiuser, no PAM line takes the empty password, so each greeter start counts as one failed login. Merge after that release, together with bumping
omarchy_multiuser_ref.Testing
just check--unqualified disable) andsddm-greeter-qt6 --test-modeoffscreen with no QML errorsjust apply bgrt-themewith omarchy-multiuser#13's package installed🤖 Generated with Claude Code