Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I noticed that some applications use the Adwaita Dark theme, while others use the light one. Is there a way to make all applications use the Dark one?

share|improve this question
1  
Adding screenshots or at least mentioning what applications are having this issue, would be helpful. – Martín Canaval Feb 1 at 18:35
According to gnome-session --version, I have Gnome 3.4.2.1, but as I use OpenBox as WM (are you using Metacity?), instead of the solution below, I use obconf to change theme (and set other preferences). – Emanuel Berg Feb 1 at 20:37

2 Answers

up vote 2 down vote accepted

Replacing the main theme with the dark one in /usr/share/themes is not an ideal solution as each time gnome-themes is updated your theme will revert to default. It's preferable to properly configure your user account to use the dark theme, that way your settings will be preserved between updates. You can do that:

  • Manually: create (open if already present) the following file:

    ~/.config/gtk-3.0/settings.ini

    edit like this:

    [Settings]
    gtk-application-prefer-dark-theme=1


  • Via gnome-tweak-tool (which essentially does the same thing as above, writing the same file):

    enter image description here

share|improve this answer
I haven't tested this, so I'm giving you the benefit of the doubt :) This does seem neater. – Jeff Apr 5 at 0:53

Simply replace the main theme with the dark one (make a backup first):

cd /usr/share/themes/Adwaita/gtk-3.0
sudo mv gtk.css gtk.css.bak
sudo cp gtk-dark.css gtk.css

then restart the computer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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