After a while without using the computer, GNOME crashes asking to enter a password. This can be a good security measure. However, there is no simple way to configure the appearance of this lock screen ... especially, how to change the background image used. |
Before we start, don't forget that this will only work on GNOME 2 (so it will only work on Ubuntu Natty, Maverick and other GNOME 2 based Linux distros) and it will change the background used in the GDM (GNOME DisplayManager).
Steps to follow
1.- To change the background used on the lock screen, run the following in a terminal:
sudo gconftool-2 --direct --config-source xml: readwrite: /etc/gconf/gconf.xml.defaults --set / desktop / gnome / background / picture_filename --type string /path/background.jpg
Where "/path/background.jpg" is the exact path of the image you want to use as the background.
2.- I went out and logged in again. Run the following commands in a terminal:
killall gconfd-2
killall gnome screensaver
It is also possible to set the lock screen background to use the same image that you are using as your desktop background:
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`
Revert the changes
In case you want to undo the changes, enter the following command:
sudo gconftool-2 --direct --config-source xml: readwrite: /etc/gconf/gconf.xml.defaults --unset / desktop / gnome / background / picture_filename
Source: WebUpd8
Greetings.
I know the post is old but since I like to customize my GNU / Linux ubuntu installation a lot, I go looking for help because this option stopped working for me. I do not understand what happened or what I have done, but I implemented these commands and I could notice the change of image for two weeks, then the image simply went back to the boring black of always.
I thought the image was erased but it is still there, I re-run the commands and it runs them correctly but my image is nowhere to be found. However, I noticed something peculiar at one point when the system began to slow down due to the programs I was opening, it switched to the lock screen and there I saw my image for a few seconds until the window to enter the password appeared, there it disappeared again .
I really don't know what happens, so I would appreciate if someone is able to help me.
Thank you very much for reading this comment, good day or night and success.
I do not change the wallpaper for the desired image and I only leave a blue background which is not reversed with the revert changes command