Monday, July 11, 2011

Customizing the Gnome Lock Screen Background

By default, Gnome lock screen has just got a black background. The best way to customize it is to set the same image for the desktop background as well as Gnome lock screen for the sake of consistency throughout the system's appearance.


Doing so is very easy, just go to a Terminal and run this command:

sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /desktop/gnome/background/picture_filename --type string `gconftool-2 --get /desktop/gnome/background/picture_filename`

Now click the power button in the top panel and choose 'Lock Screen' and test if it worked. If not, you might need to re-login for the changes to take effect.

If you want to revert the changes, simply run this command:

sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --unset /desktop/gnome/background/picture_filename

If you want to change the Desktop, Login Screen and Lock Screen backgrounds in Gnome all at once through a simple GUI, please see here:

http://ubuntu4beginners.blogspot.com/2011/08/changing-desktop-login-lock-backgrounds.html

And if you want to change additional aspects of the Login Screen, please see here:

http://ubuntu4beginners.blogspot.com/2011/05/customize-gdm-plymouth-grub2.html

Related Posts:

Appearance