sddm don´t show the avatar in lubuntu

Bug #2018231 reported by Roberalz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lubuntu-manual
Triaged
Low
Lyn Perrine

Bug Description

Distributor ID: Ubuntu
Description: Ubuntu 22.04
Release: 22.04
Codename: jammy

If you are going to change the sddm avatar with the option to rename an image file to .face.icon in /home/yourusername as shown in the lubuntu manual, it just doesn't show it, the only way to do it is setting the full path and renaming it to yourusername.face.icon .

/usr/share/sddm/faces/yourusername.face.icon

Roberalz (roberalz)
affects: lxqt-config (Ubuntu) → sddm (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sddm (Ubuntu):
status: New → Confirmed
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :
affects: sddm (Ubuntu) → lubuntu-manual
Changed in lubuntu-manual:
assignee: nobody → Lyn Perrine (walterorlin)
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Chris Guiver (guiverc) wrote :
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.