View Single Post
Old July 7th, 2009   #365
wayne_cat
Skinny Soy Caramel Ubuntu
 
wayne_cat's Avatar
 
Join Date: Jun 2009
Beans: 673
Ubuntu Karmic Koala (testing)
Send a message via ICQ to wayne_cat Send a message via MSN to wayne_cat Send a message via Yahoo to wayne_cat Send a message via Skype™ to wayne_cat
Re: New GDM is uploaded

Quote:
Originally Posted by chrisccoulson View Post
The new one can be themed with standard GTK and Metacity themes
True ... so ... let's see what we can do:

1. Change the gdm background picture

The current settings

Code:
sudo -u gdm gconftool-2 --get /desktop/gnome/background/picture_filename
Set a new background picture

Code:
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/background/picture_filename /data/pictures/Grassy.jpg
2. The gdm gtk theme

The current settings

Code:
sudo -u gdm gconftool-2 --get  /desktop/gnome/interface/gtk_theme
Set a new gtk theme (you can find them in /usr/share/themes)

Code:
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/interface/gtk_theme Redmond
3. The gdm icon theme (changes the look of the computer icon ... icon above the hostname)

The current settings

Code:
sudo -u gdm gconftool-2 --get /desktop/gnome/interface/icon_theme
Set a new icon theme (You can find them in /usr/share/icons)

Code:
sudo -u gdm gconftool-2 --set --type string --set /desktop/gnome/interface/icon_theme Tangerine
and you can edit the file

Code:
/usr/share/gconf/schemas/gdm-simple-greeter.schemas
if you don't like the computer icon. Change the icon (<default>coputer</default>) in the section

Code:
<schema>
      <key>/schemas/apps/gdm/simple-greeter/logo_icon_name</key>
      <applyto>/apps/gdm/simple-greeter/logo_icon_name</applyto>
      <owner>gdm-simple-greeter</owner>
      <type>string</type>
      <default>computer</default>
      <gettext_domain>gdm</gettext_domain>
      <locale name="C">
        <short>Icon name to use for greeter logo</short>
        <long>Set to the themed icon name to use for the greeter logo.</long>
      </locale>
</schema>
4. The gdm user icon

This does not work

Code:
sudo -u gdm gconftool-2 --get /schemas/apps/gdm/simple-greeter/logo_icon_name
I haven't found it yet ... but at least we could overwrite
Code:
/usr/share/icons/gnome/scalable/stock/generic/stock_person.svg
but this icon may be important for other applications ... so don't do it.

solved: you can set the user icon for your user with

Code:
/usr/bin/gnome-about-me



What else can we do???

edit: added some information about paths (where can i find icon themes ... where can I find gtk themes)

2nd edit: you can change the user icon ... it's so simple

Last edited by wayne_cat; July 7th, 2009 at 12:46 PM..
wayne_cat is offline