Unity Greeter Badges for Derivatives

Michael Terry michael.terry at canonical.com
Thu Feb 23 15:34:59 UTC 2012


Hello!  The just-released Unity Greeter 0.2.4 now uses little badge 
icons to represent sessions (like kde/xfce/unity, etc).

A badge is shown to indicate which session is default for a user and 
each session's badge is shown when choosing a new default.

0.2.4 only ships kde, gnome, and unity badges right now.  Other 
derivatives can provide badges by doing the following:

1) Take /usr/share/unity-greeter/unknown_badge.png and use it as a 
template (just a 22x22 white circle).
2) Add your logo as a transparent cutout of the white circle (see other 
badges in that directory for examples)
3) Ship your logo as 
/usr/share/unity-greeter/custom_SESSIONNAME_badge.png, where SESSIONNAME 
is your X session name (e.g. 'xfce' for XFCE).

Unity Greeter will automatically look there, falling back to the generic 
white circle icon if not found.

Thanks!
-mt



More information about the ubuntu-devel mailing list