Skip to content

Instantly share code, notes, and snippets.

@brccabral
Last active September 27, 2023 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brccabral/e25c14eb03dbacd8d454c23db5302c71 to your computer and use it in GitHub Desktop.
Save brccabral/e25c14eb03dbacd8d454c23db5302c71 to your computer and use it in GitHub Desktop.
Yaru theme

Yaru theme

Build from source

sudo apt install meson sassc pkg-config libglib2.0-dev
cd $HOME
git clone git@github.com:ubuntu/yaru.git
cd yaru
mkdir xyz $HOME/YaruBuiltFromSource
meson setup --prefix=$HOME/YaruBuiltFromSource xyz
ninja -C xyz
ninja -C xyz install

Copy $HOME/YaruBuiltFromSource/share into /usr/local/share or https://github.com/ubuntu/yaru/blob/master/CONTRIBUTING.md#build-deb-files-from-source

#Inside yaru directory
cd yaru
#Building binary debian files
dpkg-buildpackage --build=binary -uc -us -tc
#Leaving yaru directory
cd ..
#Installing all generated .deb(s)
sudo dpkg -i yaru-theme-*.deb

Flatpak

Install Flatseal
Add ~/.themes to the Other files sections, this will allow all applications to access this folder.
Copy the theme folder from /usr/share/themes/Yaru-blue-dark to ~/.themes/Yaru-blue-dark.
Delete the broken ~/.themes/Yaru-blue-dark/gnome-shell.
Create a new folder ~/.themes/Yaru-blue-dark/gnome-shell.
Copy icons from /usr/share/gnome-shell/theme/Yaru-blue-dark into ~/.themes/Yaru-blue-dark/gnome-shell.
Back on Flatseal, add GTK_THEME=Yaru-blue-dark as a Variable. This variable will be applied to all applications and tell them to use Yaru-blue-dark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment