[pygtk] Gnome avatar

Marcus Habermehl bmh1980de at yahoo.de
Fri Dec 28 20:58:20 WST 2007


Lobais schrieb:
> Hey,
> Is there a way to access the "logo" most distros let the users choose at
> the same time they choose their name?
> The logo that is also used on multiple account login screens.

I'm not sure what you mean. GDM has an application where a user can
select an image that will be displayed in GDM's user list.

If this is what you mean, this images are saved as $HOME/.face. That
means your script must do shutil.copyfile(image,
os.path.expaduser("~/.face")).

That should be working for GDM. KDE is storing the user images in an
other place, not in $HOME. But I don't know where.

Greetings
Marcus


More information about the pygtk mailing list