2

Before you mark the question as a duplicate, I read all of the posts regarding this, but nothing helped me. I'd like to change the background picture of the lock screen.

I changed the ubuntu.css and gdm3.css accordingly to

#lockDialogGroup {
  background: #000000 url(file:///usr/share/wallpapers/minimalistic-gray_00323985.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

Which results in a change of the Background of the log in screen, not the lock screen. When I press super + L the screen containing time has the correct background. When I swipe it up to tipe in my password, the purple Ubuntu screen still appears. If I click to change the user, the log in screen appears with the right background. I have the same background picture enabled in gnome tweaks for desktop background and lock screen.

I'm running Ubuntu 18.04 GNOME on a TuXedo Laptop. And I use Communitheme - maybe thats the problem?

Any ideas why it doesn't work? (I rebooted multiple times, so that's not the problem.)

EDIT: The output of sudo nano /usr/share/gnome-shell/modes/ubuntu.json is

{
    "parentMode": "user",
    "stylesheetName": "ubuntu.css",
    "enabledExtensions": ["ubuntu-dock@ubuntu.com", "ubuntu-appindicators@ubuntu.com"]
}
pomsky
  • 70,557
j3ypi
  • 163
  • 7

2 Answers2

2

If it's a PPA install

sudo add-apt-repository ppa:communitheme/ppa
sudo apt update
sudo apt install ubuntu-communitheme-session

then this is the file

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

When it's a snap install

sudo snap install communitheme

this is the file

/snap/communitheme/1593/share/gnome-shell/theme/Communitheme/gnome-shell.css

but this snap file is Read-Only.. read about why this snap file cant be saved like other files. https://askubuntu.com/a/1035241/739431..

short .gif file for APT installed Communitheme unlock-screen change...
https://i.sstatic.net/ohz0H.jpg

pomsky
  • 70,557
0

Just use this Extension to change the lock screen Wallpaper

Link: https://extensions.gnome.org/extension/1476/unlock-dialog-background/

install it and change it to any lock screen image

Working on Pop OS 20.10