8

I know this question is already asked but was for Ubuntu 18.10.

I have found this question but when i tried to find /usr/share/gnome-shell/theme/gnome-shell.cssi didn't find anything. so this method is no longer working on the last version of ubuntu.

I am wondering how to install stock Adwaita shell theme on Ubuntu 20.04 with Gnome 3.36?

edit : i have found the solution by extracting /usr/share/gnome-shell/gnome-shell-theme.gresource using this script i got gnome-shell.css file which i moved to /usr/share/themes/AnyNameOfYourChoice/gnome-shell/ then changing shell theme using gnome-tweaks

Thank you for your answer

2 Answers2

5

I have gnome-session package installed as I am using stock GNOME on 20.04. It has been changed to gnome-shell-theme.gresource. Located in /usr/share/gnome-shell.

I managed to extract gresource by running

cd /usr/share/gnome-shell

gresource extract gnome-shell-theme.gresource /org/gnome/shell/theme/gnome-shell.css > ~/gnome-shell.css

sudo mkdir -p /usr/share/themes/new-theme/gnome-shell

sudo cp ~/gnome-shell.css /usr/share/themes/new-theme/gnome-shell

Make sure users themes extension is enabled. Now it should appear in GNOME Tweaks.

pomsky
  • 68,507
Mido
  • 413
  • i dont want to install gnome-session package, if there is any solution to install only Adwaita shell theme it will be nice. – Amaziɣ Agrawliw Apr 25 '20 at 20:52
  • I edited my answer with the solution I found should it be helpful – Mido Apr 25 '20 at 23:19
  • 2
    Another supported location is ~/.themes/${theme-name}/gnome-shell/gnome-shell.css. I prefer that since it doesn't require root to modify. Had to look in the user-theme extension's source to figure this out. – dskrvk Sep 06 '20 at 03:33
1

Just install gnome-session:

sudo apt install gnome-session

Log out, then select GNOME from the bottom right icon of the login screen and then log back in your user account using your password.