How to Change the Login Screen Background in Ubuntu Unity

Unlike XUbuntu or Linux Mint, the Unity desktop does not have graphical options to configure the login screen appearance. Though they all use lightdm display manager.

User may choose to switch to slick-greeter, which provides quite similar layout as well as a graphical tool to configure the login screen. And, I’ve written about it for the Ubuntu MATE 22.04.

Or, just follow this guide to use the hidden dconf database option to configure the Unity login screen.

Use gsettings command to configure login screen

Ubuntu Unity uses the unity-greeter as default theme for the login screen. It has legacy dconf options that are still working in Ubuntu Unity 22.04/22.10, and Manjaro Unity.

  1. Firstly, press Ctrl+Alt+T on keyboard to open a terminal window.
  2. When terminal opens, run command to add user lightdm to control list:
    xhost SI:localuser:lightdm
  3. Then disable ‘draw-user-backgrounds’, so it will NOT use the desktop wallpaper as login background:
    sudo -u lightdm dbus-launch gsettings set com.canonical.unity-greeter draw-user-backgrounds false
  4. And, set a new photo image as login screen background via command:
    sudo -u lightdm dbus-launch gsettings set com.canonical.unity-greeter background '/home/merilyn/Pictures/DESKTOP5k.jpg'

In command, replace '/home/merilyn/Pictures/DESKTOP5k.jpg' with PATH to your photo image.

IMPORTANT: Photo images in user folders do NOT work by default as login background. Either copy to /usr/share/backgrounds, or run command to grant permission by adding lightdm to user group:

sudo gpasswd --add lightdm $USER

Use Dconf Editor (graphical tool) to configure login screen

The Dconf Editor tool provides a graphical interface to configure the options. However, user has to launch it from command line due to permission issue.

  1. Firstly, open terminal and run command to install the tool:
    sudo apt update && sudo apt install dconf-editor

  2. Next, run command to launch it using lightdm user permission:
    xhost SI:localuser:lightdm && sudo -u lightdm dconf-editor
  3. When the tool opens, navigate to com/canonical/unity-greeter, and finally do the configurations:
    • Turn off ‘Draw user backgrounds’.
    • Click ‘background’, disable use default value, and input custom file PATH to specify your photo image as background.

That’s all. Enjoy!

Exit mobile version