From 74de04faa4c51cf2a9442dcfe246dc04d1f8d19a Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 10:07:26 +0200 Subject: fix(user): the avatar is ~/.user-icon.jpg, as hyprlock and SDDM use The page showed AccountsService's icon, an older picture than the one the rest of the desktop uses: hyprlock, the udt SDDM theme (pointed at it by udt-accent) and the rofi power menu all read ~/.user-icon.jpg. get now prefers that file, and set converts the pick to JPEG there, through a temp file and a rename, before handing it to AccountsService so both agree. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/user/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop/modules/user/README.md') diff --git a/desktop/modules/user/README.md b/desktop/modules/user/README.md index 7a09c07..6e67b50 100644 --- a/desktop/modules/user/README.md +++ b/desktop/modules/user/README.md @@ -7,7 +7,7 @@ it opens, which edits the user's details where other programs read them. | --- | --- | | name | AccountsService `RealName` (which also rewrites the passwd GECOS that LibreOffice prefills from), `~/.config/emaildefaults` `FullName`, git `user.name` with the surname as an initial | | email | AccountsService `Email`, emaildefaults `EmailAddress`, git `user.email` | -| avatar | AccountsService `IconFile`; the daemon copies the file in and SDDM shows it | +| avatar | `~/.user-icon.jpg` (converted to JPEG with `magick`), which hyprlock, the udt SDDM theme and the rofi power menu read; then AccountsService `IconFile`, so its consumers agree | | language, location | AccountsService | | signing key | git `user.signingkey`; None unsets it | @@ -25,6 +25,5 @@ Checks: `./test-userctl.sh` (stubs every store) and `node desktop/modules/user/test_user.js`. Not here: the password (`passwd` in a terminal; changing it also leaves the -login keyring on the old one), `~/.face.icon` (SDDM reads the -AccountsService icon), social links (nothing reads them). Values are read +login keyring on the old one), `~/.face.icon` (nothing here reads it), social links (nothing reads them). Values are read when the page opens, not watched. -- cgit v1.2.3