Add a greeter logo to the login screen
The greeter logo on the login screen is controlled by the org.gnome.login-screen.logo GSettings key. Since GDM uses its own dconf profile, you can add a greeter logo by changing the settings in that profile.
When choosing an appropriate picture for the logo to your login screen, consider the following picture requirements:
All the major formats are supported: ANI, BPM, GIF, ICNS, ICO, JPEG, JPEG 2000, PCX, PNM, PBM, PGM, PPM, GTIFF, RAS, TGA, TIFF, XBM, WBMP, XPM, and SVG.
The size of the picture scales proportionally to the height of 48 pixels. So, if you set the logo to 1920x1080, for example, it changes into an 85x48 thumbnail of the original picture.
De sleutel org.gnome.login-screen.logo instellen
-
Maak het profiel gdm aan met de volgende regels:
/etc/dconf/profile/gdm
user-db:user system-db:gdm file-db:/usr/share/gdm/greeter-dconf-defaultsgdm is de naam van een dconf-database.
-
Create a gdm database for machine-wide settings in /etc/dconf/db/gdm.d/01-logo:
[org/gnome/login-screen] logo='/usr/share/pixmaps/logo/greeter-logo.png'Replace /usr/share/pixmaps/logo/greeter-logo.png with the path to the image file you want to use as the greeter logo.
-
Werk de systeemdatabases bij:
# dconf update
Wat als het logo niet bijgewerkt wordt?
Make sure that you have run the dconf update command to update the system databases.
Probeer GDM te herstarten als het logo niet bijgewerkt wordt.