This simple tutorial shows how to easily change the login screen background wallpaper or solid color in Ubuntu 20.04 Gnome desktop.
There’s no setting option to change GDM3 login screen background unless hacking on the the style sheet file, though it was fairly straightforward to edit the content in Ubuntu 18.04 and Ubuntu 19.10.
In Ubuntu 20.04, you have to extract the css file from current theme’s
.gresource file, then edit the content and recompile to create the new
.gresource file, and finally set it as default.
Thankfully, there are a few scripts in Github to make things simple.
1.) First open terminal (Ctrl+Alt+T) and run command to install required libraries:
sudo apt install git libglib2.0-dev
2.) Then run command clone the project source:
git clone https://github.com/PRATAP-KUMAR/focalgdm3.git
you can also download the script in github web page.
3.) You’ll see
focalgdm3 folder in your user home directory. Run the script via command:
sudo ./focalgdm3/focalgdm3 --set
Type user password for sudo prompt, press enter to proceed the script, type 1 then path to image or 2 then color code.
NOTE 1: it seems that image file has spaces in the file-name is not supported at the moment of writing.
When everything’s done, restart computer for the first time to apply changes.
3.(Optional) To restore changes, run command:
sudo ./focalgdm3/focalgdm3 --reset
In addition, there’s also another script available in github to do the same job.