Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [KDE] User Profile Pic in Login Screen (SDDM)

  1. #1
    Join Date
    Sep 2016
    Posts
    39

    Default [KDE] User Profile Pic in Login Screen (SDDM)

    On my tumbleweed install I have setup two users. One during install (with sudo rights) the other one afterwards.
    On the login screen (SDDM, breeze theme), the first user is displayed with his user picture, whereas for the 2nd user only a generic one (grey portrait) is used.

    I can change the first user pic and it is successfully updated on the login screen, however nomatter what I do for the 2nd it is always the generic one...

    Any clues?
    TIA

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by faos View Post
    On my tumbleweed install I have setup two users. One during install (with sudo rights) the other one afterwards.
    On the login screen (SDDM, breeze theme), the first user is displayed with his user picture, whereas for the 2nd user only a generic one (grey portrait) is used.

    I can change the first user pic and it is successfully updated on the login screen, however nomatter what I do for the 2nd it is always the generic one...

    Any clues?
    TIA
    Users own their profile pics. So, you need to login as that second user to change the pic.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by faos View Post
    I can change the first user pic and it is successfully updated on the login screen, however nomatter what I do for the 2nd it is always the generic one...
    How exactly do you change the user pic?

    Is the not-working one (~/.face or ~/.face.icon) world-readable? It has to be, otherwise sddm cannot read and display it.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by faos View Post
    nomatter what I do
    This does not mean that we now know what you did. So how can we comment on that, like telling you that you were in the wrong place, used the wrong statement or did correct, but hit a bug or whatever?
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by wolfi323 View Post
    How exactly do you change the user pic?

    Is the not-working one (~/.face or ~/.face.icon) world-readable? It has to be, otherwise sddm cannot read and display it.
    So, only the logged in user can change it for himself. Or root.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Sep 2016
    Posts
    39

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Ok :-)

    I used System Settings - Account details - User manager, Click on pic -> choose from gallery.

    I tried it as root, but also as the user himself to no avail.

  7. #7

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by faos View Post
    I tried it as root, but also as the user himself to no avail.
    As I wrote, check the permissions of the file (and whether it actually exists):
    Code:
    ls -l ~/.face*
    (logged in as the affected user)

    Also, check that sddm can access the home directory of that user in the first place:
    Code:
    ls -ld ~

  8. #8
    Join Date
    Sep 2016
    Posts
    39

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by wolfi323 View Post
    As I wrote, check the permissions of the file (and whether it actually exists):
    Just checked, it doesn't exist at all (for the 2nd user - 1st user it does).

    If I change it in the systemsettings dialog and it is remembered however (means it is stored somewhere else).

  9. #9

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by faos View Post
    Just checked, it doesn't exist at all (for the 2nd user - 1st user it does).

    If I change it in the systemsettings dialog and it is remembered however (means it is stored somewhere else).
    There have been changes recently to use AccountsService to change the user pic if it was stored there in the first place at least (I'm not sure if that's in Tumbleweed yet though).
    But sddm doesn't support accountservice yet (it is planned though), unlike gdm and lightdm.

    AccountsService stores the user pic in /var/lib/AccountsService/icons/username, removing the need to have your home directory world-readable.

    For now, copy the pic manually to the home directory, and name it ~/.face.icon, then sddm should display it (and kdm too, which doesn't support/use AccountsService either).
    Last edited by wolfi323; 11-Oct-2016 at 02:39.

  10. #10
    Join Date
    Sep 2016
    Posts
    39

    Default Re: [KDE] User Profile Pic in Login Screen (SDDM)

    Quote Originally Posted by wolfi323 View Post
    For now, copy the pic manually to the home directory, and name it ~/.face.icon, then sddm should display it (and kdm too, which doesn't support/use AccountsService either).
    Not satisfying, but it does work.

    Thanks.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •