GTK3 theme issues

Hi guys, I’m running gnome 43.2 and I installed this theme: https://www.opendesktop.org/p/1891521
But after I apply it it doesn’t apply to the window manager due to it running on gtk4 and the theme is on gtk3 or smth like that so I copied the content from the gtk 4.0 folder that’s included in the theme and pasted them in ~/.config/gtk 4.0 but it still doesn’t apply to the window manager. Any way to fix this? it really takes away from the consistency of my interface.

Have you had a look at this

I don’t use GNOME so I can’t help much more but it may help

1 Like

hmmm, no, I’ll give this a go and get back to you.

yeah so I’ve been trying for the last 2 hours to make those damned scripts work but no success. I’ve created the script(s), made them executable, installed the dependencies mentioned in the readme but every time I tried to execute the install script I would get an error that something does not exist. I’m sure I’m doing something wrong but those install instructions are so non-beginner friendly that I’ll just call it a day and not use the theme. I’ve never attempted to install something directly from git and in the readme it just says “run ./install.sh”, this is not worth the hassle.

Sorry I couldn’t be of more help, if you post the exact output of the terminal someone might be able to help you more

it’s ok I appreciate that someone actually responded. I’ll redo the process now and post what I did step by step with the terminal outputs.

1 Like

i do not know of a way to use themes for GNOME default Interface and libadwaita apps…

OK, so:

  1. I created the build.sh script and execute it.
    After executing the output is this:
[schmitz@schmitz-endeavour ~]$ ./build.sh 
sassc needs to be installed to generate the css.
[sudo] password for schmitz: 
resolving dependencies...
looking for conflicting packages...

Package (2)        New Version  Net Change

community/libsass  3.6.5-2        2,62 MiB
community/sassc    3.6.2-3        0,02 MiB

Total Installed Size:  2,64 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                         [----------------------------------------] 100%
(2/2) checking package integrity                                       [----------------------------------------] 100%
(2/2) loading package files                                            [----------------------------------------] 100%
(2/2) checking for file conflicts                                      [----------------------------------------] 100%
:: Processing package changes...
(1/2) installing libsass                                               [----------------------------------------] 100%
(2/2) installing sassc                                                 [----------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
cp: cannot stat 'src/sass/_tweaks.scss': No such file or directory
cp: cannot stat 'src/sass/gnome-shell/_common.scss': No such file or directory
Internal Error: File to read not found or unreadable: src/main/gtk-3.0/gtk.scss
==> Generating the 3.0 gtk.css...
Internal Error: File to read not found or unreadable: src/main/gtk-4.0/gtk.scss
==> Generating the 4.0 gtk.css...
Internal Error: File to read not found or unreadable: src/main/gnome-shell/gnome-shell.scss
==> Generating the gnome-shell.css...
Internal Error: File to read not found or unreadable: src/main/cinnamon/cinnamon.scss
==> Generating the cinnamon.css...
Internal Error: File to read not found or unreadable: src/main/gtk-3.0/gtk-Light.scss
==> Generating the 3.0 gtk-Light.css...
Internal Error: File to read not found or unreadable: src/main/gtk-4.0/gtk-Light.scss
==> Generating the 4.0 gtk-Light.css...
Internal Error: File to read not found or unreadable: src/main/gnome-shell/gnome-shell-Light.scss
==> Generating the gnome-shell-Light.css...
Internal Error: File to read not found or unreadable: src/main/cinnamon/cinnamon-Light.scss
==> Generating the cinnamon-Light.css...
Internal Error: File to read not found or unreadable: src/main/gtk-3.0/gtk-Dark.scss
==> Generating the 3.0 gtk-Dark.css...
Internal Error: File to read not found or unreadable: src/main/gtk-4.0/gtk-Dark.scss
==> Generating the 4.0 gtk-Dark.css...
Internal Error: File to read not found or unreadable: src/main/gnome-shell/gnome-shell-Dark.scss
==> Generating the gnome-shell-Dark.css...
Internal Error: File to read not found or unreadable: src/main/cinnamon/cinnamon-Dark.scss

  1. I’ve created the gtkrc.sh script and made it executable.

  2. I’ve installed gtk-engine-murrine because it’s part of the requirements, I already have gnome-themes, and sassc was installed after running the build.sh script.

  3. created install.sh script

  4. executed install.sh script, output is:

./install.sh -c dark
GNOME Shell 43.2
cp: cannot stat '/home/schmitz/src/sass/_tweaks.scss': No such file or directory


and that’s where I get stuck

i do not really understand what you try to do… there is a tutorial:

simply git clone the repo and run the install.sh—
after this you can use the theme for legacy applications… but as i mentioned … GNOME changed to use libadwaita for the ui and default applications… not the traditional way anymore.

to hack GNOME to use this theme all over you need to do this:

git clone https://github.com/vinceliuice/Jasper-gtk-theme.git
cd Jasper-gtk-theme
./install.sh


cp -R ~/.themes/Jasper-Purple-Dark/gtk-4.0 ~/.config/
log out and back in … and it will work…

I’ve got it working finally! I realized I was doing it very wrong, and it was so easy in actuality. Thank you so much!!

i learned something too… i was not aware you even can do this for the libadwaita apps…

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.