5

I am trying to get a uniform dark theme going on Ubuntu 19.10, and am not a big fan of the light notifications.

One can change the shell theme to obtain dark notifications, but I don't know a theme that fits well with Yaru-Dark.

Any suggestions?

7

Original post (updated below):

Ideally there would be a Yaru-dark shell theme that is changeable in gnome-tweaks.

Issues being tracked here and here.

For now, you can build the Yaru-dark shell theme from source. I have only tested this on a fresh install of 19.10.

Building and installing Yaru-dark gnome-shell theme from source

  1. Install git
sudo apt update && sudo apt install git
  1. Clone the yaru repo and checkout the latest release.
git clone https://github.com/ubuntu/yaru.git
cd yaru/
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
  1. Change $variant variable in gnome-shell.scss from light -> dark
sed -i 's/light/dark/g' gnome-shell/src/gnome-shell.scss
  1. Install build dependencies for building yaru. Note: If you receive an error here, review this.
sudo apt build-dep yaru-theme
  1. Build yaru
meson build
cd build
ninja
  1. Install the newly built theme into the user themes directory
mkdir -p ~/.themes/Yaru-dark/gnome-shell
cp gnome-shell/src/* ~/.themes/Yaru-dark/gnome-shell
  1. Now use gnome-tweaks to change the shell to Yaru-dark from Default. This can be found under Appearance if the User themes extension is enabled. You may need to install gnome-shell-extensions and reboot to get User themes to show up under Extensions in gnome-tweaks.

Update:

A new merge into master builds both the light and dark shell themes and allows them to be installed alongside each other. See here for merge details.

The updated steps are just the normal dev build instructions as described here.

Good guide and reference for this post here.

| improve this answer | |
2

You could try the 'pop' theme.

sudo apt install pop-gnome-shell-theme

I think 'pop-dark-slim' works well with the 'Yaru-dark'

Edit: I'm running Ubuntu 18.04 and I believe the theme was available in the repositories, but if it's not there on your system then just run this command first:

sudo add-apt-repository ppa:system76/pop

Note: You might want to remove the newly added repository after the installation:

sudo add-apt-repository -r ppa:system76/pop

(You can also build it from the source [GitHub])

| improve this answer | |
  • Is this theme available in the standard repositories? If not, please explain what has to be done to run the command you've provided. – DK Bose Jun 19 '19 at 14:52
  • @DKBose - It should be available in the standard repository. If it's not there, then you can get it from GitHub – nom4d Jun 19 '19 at 15:01
  • Have you checked whether it's available on your system? I couldn't find it in my 19.04 repos. Have you tried the GitHub route on your system? Please mention your system? Is it vanilla Ubuntu? – DK Bose Jun 19 '19 at 16:29
  • @DKBose Thanks, I edited the answer with some additional info. I installed the theme some time ago and I was pretty sure that it was available from the standard repo, but I might be wrong – nom4d Jun 20 '19 at 9:17
  • 2
    Hey @nom4d!!! Welcome to Ask Ubuntu. I am sort of against using that repository on an standard Ubuntu system. The packages generally installed from that repository are customised for Pop!_OS which may cause some features which you expect on Ubuntu to limit, for example, see this question. I have a fully updated 18.04 installation. But as soon as I add that PPA, 34 packages needs to be upgraded. I've shared details of those packages here. – Kulfy Jun 20 '19 at 12:10

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.