Matthias Clasen
matthias.clasen@gmail.com 2012
Michael Hill
mdhillca@gmail.com 2012
Jana Svarova
jana.svarova@gmail.com 2013
Petr Kovar
pknbe@volny.cz 2017
Change the background of the lock screen shield.
Andika Triwidada
andika@gmail.com 2020, 2021

# Change the lock screen shield

The lock screen shield is the screen that quickly slides down when the system is locked. The background of the lock screen shield is controlled by the org.gnome.desktop.screensaver.picture-uri GSettings key. Since GDM uses its own dconf profile, you can set the default background by changing the settings in that profile.

# Set the org.gnome.desktop.screensaver.picture-uri key

Create a gdm database for machine-wide settings in /etc/dconf/db/gdm.d/01-screensaver:

[org/gnome/desktop/screensaver] picture-uri='berkas:///opt/corp/background.jpg'

Replace /opt/corp/background.jpg with the path to the image file you want to use as the lock screen background.

Supported formats are PNG, JPG, JPEG, and TGA. The image will be scaled if necessary to fit the screen.

You must log out before the system-wide settings take effect.

Next time you lock the screen, the new lock screen shield will show in the background. In the foreground, time, date and the current day of the week will be displayed.

# What if the background does not update?

Make sure that you have run the dconf update command to update the system databases.

In case the background does not update, try restarting GDM.