Good evening,

I'm trying to change some of the colours of my login screen in my Ubuntu 18.04. I followed some questions here on AskUbuntu, and edited my css files at /usr/share/gnome-shell/theme/gnome-shell.css (I'm using that configuration) - Specifically, I changed the values of .lockDialogGroup to a nicer dark gray.

My login screen is indeed now a nice dark gray instead of that hellish purple.

However, if I lock my computer without shutting down the machine, I still get a different purple gradient, which I haven't managed to change. I'm serching around but since I don't even know what to call this "behind-the-shield" screen, I can't find relevant results.

I suspect the login screen and the lock screen are two different managers altogether.

Here's a short mp4 video of me literally filming my screen, to make you understand which color I'm trying to change:


EDIT: There seems to be a discrepancy between my first-after-boot login screen, and my login-after-locking screen.

first Login screen after boot: enter image description here

After-lock login screen: enter image description here

  • @PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located – Dimitris Sfounis Jan 6 at 13:15
  • Which desktop environment are you using? The default gnome or something else? Please edit the output of printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$GDMSESSION" into your post. as suggested here – Elder Geek Jan 14 at 20:03

seems like you have installed communitheme..

if you have installed communitheme by snap package

sudo snap install communitheme

/snap/communitheme/1593/share/gnome-shell/theme/Communitheme/gnome-shell.css you can make changes to unlock-screen by editing and saving this file..

but the real task will be how to edit and save this file..

for communitheme by apt install you can make the changes as you wish.. you may proceed the already accepted answer here..https://askubuntu.com/a/1099563/739431

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.