Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Plain old GNOME 2 had a panel applet which displayed your user long name. It had a menu option under which you could set an image to be a login avatar, and it appeared in the gdm display manager (aka login screen). Now I'm using F17 with MATE and I don't see such an option anywhere. I believe there's some package from the MATE repository I need to have to have this functionality, but which one?

share|improve this question
add comment

1 Answer 1

are you using gdm 3.x ? if yes, then the account properties are managed trough the dbus service org.freedesktop.Accounts.

You can install d-feet, which is a python+gtk browser of the dbus, conect to system bus, search for the org.freedesktop.Accounts service, then the object path "/org/freedesktop/Accounts/UserXXXXX" (with XXXX your uid), interface "org.freedesktop.Accounts.User", method SetIconFile and give a path name (in "quotes") to an icon.

or with the command line tool:

dbus-send --system --dest=org.freedesktop.Accounts  \
    --type=method_call --print-reply \
    /org/freedesktop/Accounts/User$(id -u) \
    org.freedesktop.Accounts.User.SetIconFile \
    string:"/some/path/to/tour/file.png"

also, MATE people could backport the old gnome2 applet, and change it to use that dbus service (hint: copy files um-user.c and um-user.h from the gnome3 control-center and then all needed functions will be easily available)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.