(LXDE) Customizing the log in background
For this next post I’ll update the background image for the log in screen. I’m using Debian LXDE, so the instructions may differ if you are using another distribution or desktop. I have verified these steps on Debian GNU/Linux 8.3 (jessie) using the LXDE desktop.
For my log in screen background I’ll use the following image of the Orion Nebula:
File source: https://www.nasa.gov/mission_pages/spitzer/multimedia/spitzer20100401.html
Image credit: NASA/JPL-Caltech
We’ll need to use sudo to copy files to /usr/share/images/desktop-base. This is a directory that the login manager can access; it doesn’t have permission to read from /home/user files.
Aside: In general, I’ll try a command without using sudo first, and only use sudo if necessary. This prevents us from setting improper access permissions on files.
For example:
We need sudo here:
Success! Replace orion-nebula.jpg with any image file you’d like to use for your login background.
Now let’s update the background image in the log in config file. Here I use leafpad, but you can use any other editor. We need sudo for permission to save changes.
Look for where the “background” variable is set. I’ll leave the old background image commented out by adding a “#” before it. In the following line, add your new background image.
Save your changes and close the text editor.
Let’s log out to check our changes.