Where is the user's profile picture stored in Gnome 3?

In Ubuntu 11.10, I can set my profile picture through the User Accounts settings panel. I can select an existing picture and it will help me crop that picture to look nice.

The final product is not stored in the same ~/.face file used in Gnome 2. In fact, I don’t know where it is stored and I would love to know! Any ideas?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Pictures are stored in the folder /var/lib/AccountsService/icons/

The is of type image/png format with a size of 96×96 pixels

Under the folder /var/lib/AccountsService/users you have a similar file that is a .desktop format – for example


The Icon= is not created unless you assign a picture in Users and Accounts

If you assign one of the stock pictures the file will contain – for example


Thus –as you can see– just create an Icon= entry in /var/lib/AccountsService/user/ to point to your PNG file or overwrite the icon in the similarly named /var/lib/AccountsService/icons folder

Solution 2

If there is no global icon for the user, GDM will look in the user’s
$HOME directory for the image file. GDM will first look for the user’s
face image in ~/.face. If not found, it will try ~/.face.icon. If
still not found, it will use the value defined for “face/picture=” in
the ~/.gnome2/gdm file.

source http://library.gnome.org/admin/gdm/stable/overview.html.en#facebrowser

Solution 3

For anyone using Ubuntu 12.04 the webcam picture taken during install (if not changed) is simply stored here:


It is stored as a .png file. Go to your View > Show Hidden Files options to see it and access it.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply