Comment 4 for bug 2018231

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Confirmed that this happens, but the bug is not in SDDM, but in the manual that suggests how to do it. It's incomplete.

Here's what's in the manual:
"To change the picture for your user when you login simply copy the file you want as your user picture to in your home folder with the name .face.icon ."

Looking at SDDM's upstream README.md, it seems clear that the issue with putting it in $HOME is that SDDM needs access to it:
https://github.com/sddm/sddm#no-user-icon

There are two options to solve this (or both):
 1. Keep the suggestion of creating $HOME/.face.icon, but add the requirement to change the permissions
 2. Use the suggestion of creating username.face.icon in a location that SDDM has access

Regarding the latter, there are really two options:
 1. Specify `FacesDir` in the `[Theme]` stanza in the SDDM configuration and put it there, which may require permissions (though putting it in /etc [where sddm.conf lives] or /etc/sddm wouldn't)
 2. Put it in /var/lib/AccountsService/icons which SDDM seems to pick up on automatically with no other configuration

Because of the reduced complexity, I would suggest replacing our current suggestion with the second option above.

I should also point that we should specify that the image MUST be a PNG.

With sddm-conf in Noble, this should (?) be a non-issue, although I'll point out that right now it's kind of in an odd location. That's now fixed upstream:
https://github.com/qtilities/sddm-conf/commit/2f34b02f8bff7257e24dc020691d46dcb6e6bd7d