6

I just installed the elementary-tweaks package on Freya, and was wondering if there was a way to control the Prefer Dark Theme option programmatically with a script, or directly via the terminal. I am quite new to elementary OS and Linux in general so I don't really have much experience with such tasks. If someone could point me in the right direction, it would be much appreciated.

I am referring to this Prefer Dark Theme toggle option: enter image description here

1 Answer 1

5

I don't think there is an command for this, but you can edit a file. Create/edit the following file:

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

And change it to this:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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