FS#35345 - [lightdm-gtk3-greeter] impossible setting user icon

Attached to Project: Community Packages
Opened by Dominik Brzeziński (kelloco2) - Friday, 17 May 2013, 23:33 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 21 May 2013, 07:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

to set user icon (the login screen) is not possible
Additional info:
lightdm-gtk3-greeter 1:1.5.2-1

Steps to reproduce:
put .face file (PNG, 96x96) in your $HOME.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 21 May 2013, 07:33 GMT
Reason for closing:  Not a bug
Comment by Maxime Gauduin (Alucryd) - Monday, 20 May 2013, 10:05 GMT
Mine is set by AccountsService (through GNOME's UI) and is present on the login screen. You can probably do the same with your DE. You can also try to rename '.face' to '.face.icon'.
See here: http://askubuntu.com/questions/61637/where-is-the-users-profile-picture-stored-in-gnome-3
and here: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1059928
Comment by Maxime Gauduin (Alucryd) - Monday, 20 May 2013, 10:11 GMT
BTW, what permissions do ~/.face have? People have reported that it needs to be 755, others 644, don't know which one to trust... Anyway please try both.
Comment by Dominik Brzeziński (kelloco2) - Monday, 20 May 2013, 16:30 GMT
I tried both permissions. Normally does not work, but it is interesting - when I'm logged as UserA and try "lightdm --test-mode" - it shows my .face picture - but only .face picture of UserA (doesn't shows others .face pictures). And so it is with all users. I installed accountsservice, made file "/var/lib/AccountsService/user/UserA.desktop" that contains:
[User]
Icon=/var/lib/AccountsService/icons/UserA

and copy png 96x96 file to /var/lib/AccountsService/icons/UserA ; "systemctl start accounts-daemon", but it's the same :(.
Comment by Maxime Gauduin (Alucryd) - Monday, 20 May 2013, 17:36 GMT
I have "/var/lib/AccountsService/users/alucryd" (no .desktop) that contains:

[User]
Language=en_US.utf8
XSession=gnome
Icon=/var/lib/AccountsService/icons/alucryd

Can you remove the .desktop extension, enable accounts-daemon.service, remove your .face and see if the icon is shown after a reboot?
Comment by Dominik Brzeziński (kelloco2) - Monday, 20 May 2013, 22:48 GMT
Thanks a lot - it works! ;D. In the coming days I'm obligated to edit lightdm page on Arch Wiki. I don't enable accounts-daemon, but systemd automatically starts it during boot. Just one more question. is it correct action of systemd?
Comment by Maxime Gauduin (Alucryd) - Tuesday, 21 May 2013, 07:32 GMT
Yes it is the expected behavior (I didn't know until you pointed it out), accounts-daemon is wanted by graphical.target, so it is launched by default. Glad it works for you, btw don't worry, I'll edit the wiki page accordingly.

Loading...