PDA

View Full Version : [ubuntu] Tip: Installing New Lock Dialog Theme on Lucid/Karmic



daybird
May 22nd, 2010, 07:39 PM
For the last couple of ubuntu versions, gnome-screensaver, which is also the gnome screen-locking program, has been using gtkbuilder .ui files for configuration; unfortunately almost all of the third-party themes (e.g. on gnome-look.org) use .glade files. Here's how to convert a .glade file to a .ui file for use with current versions of gnome-screensaver:
1. Open a shell
2. Unpack your downloaded theme file
3. run this command: gtk-builder-convert -w mynewtheme.glade mynewtheme.ui. The -w switch is important. The gtk-builder-command should already be installed on your system, but if not, it is a script which you can google and run directly from your download directory.
4. transfer the theme files, including the unmodified .gtkrc, to /usr/share/gnome-screensaver. Do not stash the config files in a subdirectory.
5. change the gconf setting (e.g. with gconf-editor) of /apps/gnome-screensaver/lock-dialog-theme to your new theme (e.g. "burst", or "arc-colors-human").

Mnemic
May 25th, 2010, 01:15 PM
For the last couple of ubuntu versions, gnome-screensaver, which is also the gnome screen-locking program, has been using gtkbuilder .ui files for configuration; unfortunately almost all of the third-party themes (e.g. on gnome-look.org) use .glade files. Here's how to convert a .glade file to a .ui file for use with current versions of gnome-screensaver:
1. Open a shell
2. Unpack your downloaded theme file
3. run this command: gtk-builder-convert -w mynewtheme.glade mynewtheme.ui. The -w switch is important. The gtk-builder-command should already be installed on your system, but if not, it is a script which you can google and run directly from your download directory.
4. transfer the theme files, including the unmodified .gtkrc, to /usr/share/gnome-screensaver. Do not stash the config files in a subdirectory.
5. change the gconf setting (e.g. with gconf-editor) of /apps/gnome-screensaver/lock-dialog-theme to your new theme (e.g. "burst", or "arc-colors-human").
Thanks a lot mate, that solved my problem!!

un234567
May 26th, 2010, 11:44 PM
Awesome! solved another problem :guitar:

meskes
August 25th, 2010, 11:04 PM
Anyone happen to know the source package for this since it seems that it's not installed on my system?

igorp1024
September 6th, 2010, 04:25 PM
You need to install libgtk2.0-dev