Re: lightdm - how to set profile picture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2021-12-12 at 17:30 -0500, Sam Varshavchik wrote:
> In the end, it didn't matter. I attempted to create $HOME/.face
> myself, using just the available tools, namely gimp, by cropping and
> saving my mug shot. I failed, since gimp was very confused by my
> attempts to save a jpg- formatted image as $HOME/.face, going only as
> far as $HOME/.jpg, so I relented and renamed it manually. In the end,
> nothing changed, and the greeter still showed the default, feature-
> less profile picture. I even rebooted, so, who knows what the problem
> is. Maybe it has to be a .gif. Maybe it has to be .png. Maybe it is
> being blocked by SELinux, who knows.

On *this* installation (MATE on CentOS, my other computer runs Fedora,
and it's not switched on right now), ~/.face is a PNG file (some gadget
it created it in that format when I picked my image).

But that approach suffers from various file permissions problems, as
you've discovered:  Your home directory, and that file, would need to
be world readable for the login greeter to be able read that file.  I
don't allow world-readable home directories.

At some stage I discovered that the MATE login greeter can read user
icons from "/var/lib/AccountsService/icons/", so I put files in there
for users with the same filename as the username, plus a png suffix.

e.g. Mine is /var/lib/AccountsService/icons/tim.png

All the user icons in that directory are owned by root:root.

I don't recall how I discovered that, nor if I had to do anything else
to make that work (I suspect I didn't, it just looks there).  It might
even be done by one of the "about me" menu items in MATE.  Placing
appropriately named image files in that directory might work for other
login greeters.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux