GNOME 3 Customizing the login screen

Modifying the look and feel of the GNOME 3 login screen seems like it is a lot harder than it should be, not least because the way these settings are stored seems to have changed at least twice since the original releases of the GNOME 3.

This page is currently work in progress as I figure out stuff I’ll add it to the list above.

Changing the screen background

Should be simple, but the none of the theming options in ‘greeter.dconf-defaults’ appear to work. Can’t decide if this is because the way these settings are stored has changed or if it is a just a bug in GDM 3. (If I continue to use GNOME 3 then I’ll probably replace ‘gdm3’ with ‘lightdm’).

Hiding the list of users

By default GDM displays a list of users on the login screen, however I prefer to enter my username as well as the password. To hide the user list you need to edit the greeter defaults, then update the application configuration, and restart the display manager. To do this you need to be logged in as root, connect using ‘ssh’ from another system or use ‘Ctrl-Alt-F1’ to switch to a virtual console otherwise you will be logged out when you restart GDM!

# vi /usr/share/gdm/greeter.dconf-defaults

# Login manager options
# =====================
[org/gnome/login-screen]
# logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
# fallback-logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'

# - Disable user list
# disable-user-list=true
disable-user-list=true
# - Disable restart buttons
# disable-restart-buttons=true
# - Show a login welcome message
# banner-message-enable=true
# banner-message-text='Welcome'

I’ve also hidden the logo by commenting out the two entries for ‘logo’ and ‘fallback-logo’.

Having updated the defaults you need to reconfigure and restart GDM.

# dpkg-reconfigure gdm3
# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.

This entry was posted in Debian and tagged , , . Bookmark the permalink.

3 Responses to GNOME 3 Customizing the login screen

  1. Did you find any solutions regarding the screen background of gdm3? I have exactly the same problem: I change the background-url value but nothing happens. Still stuck with that ugly dark grey background….

  2. Amon San says:

    is there any way to ‘magnify’ the screen as i’m on a high dpi (4k) monitor.
    everything there is tiny and the font and UI element customisations of my user session don’t propagate there

  3. trade insider says:

    On Ubuntu you can modify the the theme

    $ sudo nano /usr/share/gnome-shell/theme/ubuntu.css

    Search for ‘#lockDialogGroup’ and then modify it to suit your needs…

    #lockDialogGroup {
    background: #2c001e url(file:////home/vins/Images/YOURFILE.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    }

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.