Customize desktop backgrounds
As a system administrator, you can configure the default desktop background, add extra backgrounds, or add multiple backgrounds available to all users of the system.
By default, users are permitted to change the background. As an administrator, you can prevent users from changing the background with the settings in the locks directory.
Customize the default desktop background Copy linkLink copied!
You can configure the default desktop background and its appearance by setting the relevant GSettings keys in the org.gnome.desktop.background schema.
Procedure Copy linkLink copied!
Screen shield Copy linkLink copied!
The screen shield is the screen that slides down when you lock the system.
Starting with GNOME 40, GNOME Shell no longer supports a separate image for the screen shield. The lock screen displays a blurred version of your current desktop background. To customize what appears on the screen shield, configure the desktop background image system-wide as described in the Customizing the default desktop background section.
Add extra backgrounds Copy linkLink copied!
You can make extra backgrounds available to users on your system.
Procedure Copy linkLink copied!
Frequently used background schema keys Copy linkLink copied!
The following configuration controls the behavior of desktop backgrounds in the GSettings system.
| Key name | XML name | Possible values | Description |
|---|---|---|---|
|
|
|
|
Determines how the image set by |
|
|
|
|
Determines the shade of the background color. |
|
|
|
default: |
Left or Top color when drawing gradients, or the solid color. |
|
|
|
default: |
Right or Bottom color when drawing gradients, not used for solid color. |
An extra backgrounds file with one element Copy linkLink copied!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Company Background</name>
<name xml:lang="de">Firmenhintergrund</name>
<filename>/usr/local/share/backgrounds/company-wallpaper.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
</wallpapers>
An extra backgrounds file with two elements Copy linkLink copied!
In one configuration file, you can specify multiple <wallpaper> elements to add more backgrounds as shown in the following example with two <wallpaper> elements, adding two different backgrounds.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Company Background</name>
<name xml:lang="de">Firmenhintergrund</name>
<filename>/usr/local/share/backgrounds/company-wallpaper.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>Company Background 2</name>
<name xml:lang="de">Firmenhintergrund 2</name>
<filename>/usr/local/share/backgrounds/company-wallpaper-2.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#ff0000</pcolor>
<scolor>#00ffff</scolor>
</wallpaper>
</wallpapers>