Tim via users wrote:
Currently I have GDM providing the logon screen, for when I use the
MATE desktop. Is it possible to get it to show the user face pictures,
without having to make user directories world executable?
Surely there's some way for user profile pictures to be put in some
outside directory (not ~/username/), and have them read from there.
I don't use MATE, but do still use GDM, so hopefully this is
still useful.
When I set a custom user icon in the Gnome user properties,
the icon is converted to a 96x96 PNG file. The file is
stored in /var/lib/AccountsService/icons/$user and is
referenced via the Icon line in the corresponding users
entry within the AccountsService directory. Here's an
example:
$ cat /var/lib/AccountsService/users/foobar
[User]
Language=en_US.UTF-8
XSession=
PasswordHint=
Icon=/var/lib/AccountsService/icons/foobar
SystemAccount=false
$ ls -l /var/lib/AccountsService/icons/foobar
-rw-r--r--. 1 root root 2.6K Oct 23 09:24 /var/lib/AccountsService/icons/foobar
$ file /var/lib/AccountsService/icons/foobar
/var/lib/AccountsService/icons/foobar: PNG image data, 96 x 96, 8-bit/color RGB,
non-interlaced
You may be able to manually configure that if the MATE user
properties tools don't do it automatically.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Whenever you find yourself on the side of the majority, it is time to
pause and reflect.
-- Mark Twain