To change these keys we will not be editing configuration files in a text editor, instead we will simply use the gconftool-2 to set the values we want. To set the GDM background run the following command in terminal:
sudo -u gdm gconftool-2 -t str -s /desktop/gnome/background/picture_filename /path/to/pic
For example, if the background I want is one of my shared backgrounds called "background.png" I would set it as such:
sudo -u gdm gconftool-2 -t str -s /desktop/gnome/background/picture_filename /usr/share/backgrounds/background.png
The GTK theme your GDM uses is set in a similar manner:
sudo -u gdm gconftool-2 -t str -s /desktop/gnome/interface/gtk_theme ThemeName
You can see what GTK themes are install on your system by looking in your /usr/share/themes directory. For example to set your GDM to use the Crux GTK theme you would run the following:
sudo -u gdm gconftool-2 -t str -s /desktop/gnome/interface/gtk_theme Crux
Enjoy your new GDM background and GTK theme!
~Jeff Hoogland
Tidak ada komentar:
Posting Komentar