gdm background image

so i know a few of you will say to use the gdm settings app. or some other 3rd party software. I don't want to install another program just to change login background.

some will probably also say use a different display manager

here's what I'm trying to do, change login screen background image, where i input my password and select user

Here's what I've done.

  1. added css to /usr/share/gnome-shell/theme/gdm3.css

lockDialogGroup {

background: url(file:///usr/share/backgrounds/login-scren-background.jpg);

background-repeat: no-repeat;

background-position: center;

z-index: -1;

}

  1. added path to /etc/dconf/db/gdm.d/01-background

[org/gnome/login-screen]

logo='/usr/share/backgrounds/login-screen-background.jpg'

i've ran

sudo chmod 644 /usr/share/gnome-shell/theme/gdm3.css

sudo chown root:root /usr/share/gnome-shell/theme/gdm3.css
sudo chmod 644 /usr/share/backgrounds/login-screen-background.jpg

sudo chown root:root /usr/share/backgrounds/login-screen-background.jpg

  • - i was able to see the background before i ran chmod and chwon on these files - -

my image is obviously copied to /usr/share/background

  1. i ran sudo dconf update

  2. ran sudo systemctl restart gdm

i've tested clearing the gdm cache

MY PROBLEM

the image is visible, but there's a grey line at the bottom of it as if the image is pushing the original login screen down below it, but I'm unsure if that's what the problem is and wouldn't know how to fix it.

my user icon and name isn't visible except for the second that the enter key is down when pressed.

after pressing enter i still only see the image, nothing else. i can blindly input my password and it logs into my desktop.

does anyone have any ideas? thanks and sorry for long post.