add ability to display user picture in Unity Greeter

Bug #1002349 reported by rpr nospam
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

I do not report a bug actually but a suggestion to add a feature that exited in Ubuntu before introduction of Unity Greeter as login window: displaying user pictures in the login window.

It seems that as Unity Greeter runs as the lightdm user it is not able to access files inside a user home directory, which usually also includes pictures a user would choose as his/her picture in the User Accounts tool. I guess this is the reason why Unity Greeter does not display user pictures besides the user names.

This could be solved by creating a directory for storing user pictures so that Unity Greeter can access them. The following command illustrate creating the directory:

sudo mkdir /usr/share/unity-greeter/user-pictures/
sudo chmod a+wt /usr/share/unity-greeter/user-pictures/

Besides, Unity would need a means for copying the user picture file to the above directory. The following commands illustrate this task:

# get the user picture path from the right place
PicturePath=~/foo/bar.ext
# copy the file
FileExtension=`echo $PicturePath | sed 's/.*\.//'`
cp -f $PicturePath /usr/share/unity-greeter/user-pictures/$USER.$FileExtension

Matt Fischer (mfisch)
Changed in unity-greeter:
importance: Undecided → Wishlist
Revision history for this message
Tharindu Edirisinghe (thariyarox) wrote :

I am working on solving the same problem at office. I am trying to include a picture box sort of thing in the greeter box. Hope to come up with a solution very soon.

Changed in unity-greeter:
assignee: nobody → Tharindu Edirisinghe (thariyarox)
Revision history for this message
Stephan Springer (geryon) wrote :

See also bug #1041897.

Changed in unity-greeter:
assignee: Tharindu Edirisinghe (thariyarox) → nobody
Jeremy Bícha (jbicha)
Changed in unity-greeter (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity-greeter (Ubuntu):
status: New → Confirmed
no longer affects: unity-greeter
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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