This is a fork of the fedora-gdm-wallpaper project and some modifications for Ubuntu.
Script for GNOME 3.36+ with GNOME Shell themes packed inside /usr/share/gnome-shell/gdm3-theme.gresource.
This script allows change background on login screen.
Ubuntu 20.04
But should work on any distro with /usr/share/gnome-shell/gdm3-theme.gresource file.
Script requires gresource binary (glib2 or glib2-devel library):
# Ubuntu:
sudo apt install libglib2.0-dev-binset-gdm-wallpaper.sh /path/to/image.png
# (use --resize N option for fixing multiple monitor issues)If GDM load failed, then press ALT+F6 and:
set-gdm-wallpaper.sh --uninstall
OR
cp /usr/share/gnome-shell/gdm3-theme.gresource.backup /usr/share/gnome-shell/gdm3-theme.gresourcewallpaper-gnome.png: https://www.opendesktop.org/s/Gnome/p/1071929/