Repository navigation
Give new users a BigLinux avatar - #16
Conversation
sddm-fix assigned the avatars, so systems without SDDM never got one. The package that ships them now gives each new user one at random through AccountsService, unless the account was created with a picture. It runs whenever /etc/passwd changes and at boot, for users an installer created offline. The install script records the users already there, so existing accounts keep what they have.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
sddm-fixin sddm-theme-biglinux assigned these avatars, so systems without SDDM never got one. This package ships the avatars and is in the shared package list of the ISO profiles, so it assigns them now (biglinux/sddm-theme-biglinux#51; release both together).default-avatarsgives each new user (UID 1000 or above, exceptnobody) one of thebig*avatars at random, unless AccountsService already holds a picture for it; a~/.facealone is not seen, since the service cannot read homes. It copies the avatar to/var/lib/AccountsService/icons/<user>, which SDDM reads, and sets it withSetIconFile, which GNOME, KDE and BigDesktop read./var/lib/biglinux-base-icons/users). The install script records the users already there, so existing accounts keep what they have; on an image the installer's account comes later and counts as new./etc/passwdchanges and at boot, before the display manager, for users an installer created offline. Both units are pulled in by drop-ins onpaths.targetandmulti-user.target, and the service is sandboxed (systemd-analyze security: 0.9). After an upgrade they start with the next boot.Testing
busctl: the first run records the existing user and assigns nothing; a new user gets an avatar; a user created with a picture keeps it; a failed AccountsService call is retried on the next run; a deleted user leaves the list.useraddstarted the path unit, which gave the new user an avatar that AccountsService reports as/var/lib/AccountsService/icons/<user>; deleting the user removed it from the list. Test accounts were removed.Summary by CodeRabbit