I`m Unable To Set The Login Screen Wallpaper Of My Custom Wallpaper Is There Any Working Tool Which Changes Easily Without Any Bugs
Login Screen – How to Set Default Wallpaper as Login Screen Wallpaper Automatically
login-screenwallpaper
Related Solutions
By trying the answer of Senio I had no luck. But with little modification I hit the jackpot :
sudo -i
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-user-backgrounds 'true'
gsettings set com.canonical.unity-greeter background 'path-to-image'
exit
path-to-image is actually the path where the image you want as log in screen wallpaper is stored e.g. : /usr/share/backgrounds/x.jpg
I tested it and it's working
I found this page which offers some tips regarding this problem : Ubuntu13.04 LighDM
After using Nautilus to navigate and view an appropriate .png or .jpg file to use as login screen and lock screen wallpaper, Nautilus can set this for you using a script:
Note: In Ubuntu 18.04 only the lock screen wallpaper is changed. A different technique will be required to change the login wallpaper.
To create the script use:
cd ~/.local/share/nautilus/scripts/
gedit set-login-wallpaper
Paste in these lines:
#!/bin/bash
## Set login wallpaper
# strip new line char passed by Nautilus
FILENAME=$(echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS | sed -e 's/\r//g')
# Multiple files can't be selected.
LINE_COUNT=$(wc -l <<< "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS")
LINE_COUNT=$((LINE_COUNT-1))
if [[ $LINE_COUNT > 1 ]] ; then
zenity --error --text "Ony one file can be selected at a time! "
exit 1
fi
# Object type must be "file..." (ie no directories, etc.)
if [ -d "${FILENAME}" ] ; then
zenity --error --text "$FILENAME is a directory!";
exit 1
else
if [ -f "${FILENAME}" ]; then
: # Bash noop
else
zenity --error --text "${FILENAME} is not a file!";
exit 2
fi
fi
# Build working file in /tmp
echo "[com.canonical.unity-greeter]" > /tmp/set-login-wallpaper.tmp
echo "draw-user-backgrounds=false" >> /tmp/set-login-wallpaper.tmp
echo "background='$FILENAME'" >> /tmp/set-login-wallpaper.tmp
# Must run as sudo
if [ "$EUID" -ne 0 ] ; then
# Get sudo password
PASSWORD=$(zenity --password --title="Set Login Wallpaper" --timeout=20)
# copy working file to real file using sudo
echo $PASSWORD | sudo -S cp /tmp/set-login-wallpaper.tmp \
/usr/share/glib-2.0/schemas/10_unity_greeter_background.gschema.override
# compile using sudo
echo $PASSWORD | sudo -S glib-compile-schemas /usr/share/glib-2.0/schemas
else
# Already sudo so simply copy and compile
# copy working file to real file
cp /tmp/set-login-wallpaper.tmp \
/usr/share/glib-2.0/schemas/10_unity_greeter_background.gschema.override
# compile
glib-compile-schemas /usr/share/glib-2.0/schemas
fi
exit 0
Save the file and exit the gedit
editor.
Now mark the script as executable using:
chmod +x set-login-wallpaper
Open Nautilus and navigate to your directory with wallpaper images. Find an appropriate image and right-click on it. This drop-down menu appears:
Click on the third option Scripts
. Another drop down menu appears with all your scripts:
Select set-login-wallpaper
.
When the script runs you will have to enter your sudo
password.
Reboot and enjoy your new login wallpaper.
Best Answer
Try Ubuntu Tweaks. To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
Another way of doing it, is right click on the desktop, and click Change Desktop Background. Click the + sign Browse, and choose the image, and click open The desktop background has changed with the new image This is the login screen, with the new image applied.