Ubuntu

Ubuntu Change Login Screen Background

Ubuntu Change Login Screen Background

Whenever you login into your computer, you're presented with a screen asking your credential to verify that it's you. After you enter the password, you're in your world. Each time you log in, you have to go through this process again and again. Doesn't it feel boring to look at the face of that same, plain screen? I bet you're pretty tired of the system's default login screen. Well, let's add a splash of color! Having an awesome background would really rejuvenate your desktop experience, don't you agree? Ubuntu is the most popular Linux distro for general users, no doubt. However, over the course of its lifetime, there's that same, BORING login screen appearing. It's time to change that.

Changing the login screen background

Ubuntu shifted from Unity to GNOME desktop environment and GDM as login agent. By default, Ubuntu allows you to modify your desktop wallpaper and lock screen background. However, there's no direct option available for changing the login screen background. We'll have to dig our way through various system tweaks.

At first, make sure that you have your background image ready.

Now, fire up a terminal and run the following commands -

sudo cp ~/Desktop/mybackground.png /usr/share/backgrounds

Or, you can also use the file manager to do the task.

xhost +local: && sudo nautilus /usr/share/backgrounds/

Now, you have to edit the CSS file that defines the login background.

Xhost +local: && sudo gedit /etc/alternatives/gdm3.css

Now, find out the following section -

Change the “background” entry -

#lockDialogGroup
background: url(file:///usr/share/backgrounds/mybackground.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;

Save the file.

Enjoying the effect

After everything is complete, restart your system.

Voila! Enjoy the most amazing login screen backgrounds of your entire life!

Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...
How to reverse Mouse and Touchpads scrolling direction in Windows 10
Mouse and Touchpads not only make computing easy but more efficient and less time-consuming. We cannot imagine a life without these devices, but still...
How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...