How to change the login screen background image in Ubuntu

It turns out that Linux sets a default configuration, in which the user is required to enter their password to start using the computer.

This is very useful for those who share the computer with other people, or those who are public. It is in this aspect that some recognize that the content set as the login screen background becomes a bit boring.

That is why here you will find different methods, depending on the version of Ubuntu you use, to modify this aspect and determine an image that is more attractive to you.

Discover the session manager to change the login screen background

Since Ubuntu does not allow a direct option to perform these types of modifications, it is necessary to open the paths through the operating system settings.

Do not be scared, because these series of steps are simpler than they seem. Therefore, it will only be necessary to follow the instructions set out in this article to the letter.

One of the main features of Linux is the possibility of installing a session manager for how to use the computer. Which can be done by default or manually by the person.

session manager to change the login screen background

In case of not knowing which session manager is being used. The first step is to find out which one is installed on your version of Ubuntu.

To achieve this, you will start by opening the recognized “Command Window” or ” Terminal ” through the shortcut “Control + Alt + T ” where you only have to type ” sudo cat / etc / X11 / default-display-manager “.

By pressing on “Enter”, it will automatically return the name of the manager that is being used, and as in this example GDM3 is being used. The next step is to search for the image you want to establish through a search engine such as Google.

Identify the image that will be the new login screen background

To start making the modification, it will be necessary to locate the image (regardless of the format) within the background folder of the system.

This can be done in two ways, both through the “Terminal”, which will be accessed again through the shortcut. The first one sets the image automatically within the file, which will be achieved through the following command:

  • “Sudo cp ~ / Pictures / Picture.png / usr / share / backgrounds”

It should be noted that where the name of “Image.png” goes, the name of the new wallpaper must go along with its format. Accompanied by the route where you are.

The second method is through the file manager, which can be opened from the “Terminal” by entering the command “sudo nautilus / usr / share / backgrounds” .

Once the window opens, you just have to copy the image that you have downloaded into this folder. And so proceed to the next step.

Edit the CSS file

The last step in changing the Ubuntu login screen background requires changing the programmatic language that makes up this setting.

Identify the image that will be the new login screen background

This can be achieved by entering the command “sudo vim /etc/alternatives/gdm3.css” into “Terminal”, where you should find the line for “lockDialogGroup” and place the following modification:

  • “#LockDialogGroup {
  • background: url (file: ///usr/share/backgrounds/Imagen.png);
  • background-repeat: no-repeat;
  • background-size: cover;
  • background-position: center; } “

To finish, it will only be necessary to save the changes and close the editor. Then proceed to close session or restart the computer to verify if the modification was made.

In this simple way you can change this interesting aspect of your Ubuntu team. Where you can enjoy a very attractive image every time you start the computer.

Leave a Reply

Your email address will not be published.

Back to top button