Personal Gnome background on lock screen before first login?

Distro: Ubuntu 22.04.01 LTS
Gnome version: 42.5

Howdy! My question is simple enough. Once I've logged into my account my lock screen has my own background image behind it, however before I log in it just has the stock grey background. How can I get my lock screen to have my personal background image on boot? I guess this might be done by changing some line in:

/usr/share/gnome-shell/theme/Yaru/gnome-shell.css

?

You can set your personal background image as the lock screen background by modifying the gdm3.css file located in the /usr/share/gnome-shell/theme/Yaru/gdm3-theme.gresource file. This can be done by running the following command in the terminal:

sudo nano /usr/share/gnome-shell/theme/Yaru/gdm3-theme.gresource

Then you can use ctrl + W to search for the "lockDialogGroup" and you'll find the background-image property, you can change the path to your personal background image path.

Alternatively, you can also use a tool like gnome-tweaks to change the lock screen background image.

You might also want to backup the original gdm3.css file before editing it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.