3 ms·
As in this post https://askubuntu.com/questions/769417/how-to-change-global-dark-theme-on-and-off-through-terminal https://askubuntu.com/questions/769417/how-t
by lkdfjlkdfjlg 2y ago
As in this post
https://askubuntu.com/questions/769417/how-to-change-global-dark-theme-on-and-off-through-terminal https://askubuntu.com/questions/769417/how-to-change-global-...
I ran gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' and firefox isn't in dark mode, despite the fact that i have firefox configured to use the system theme and firefox is on GTK according to google.
Help again?
- vetinari 2y agoWhen you set dark mode in the current gnome (with support for dark mode), the following will be set: org.gnome.desktop.interface color-scheme 'prefer-dark' Valid values are “default”, “prefer-dark”, “prefer-light”. org.gnome.desktop.interface gtk-theme '(your-theme)-dark' This is the one you have set.
- lkdfjlkdfjlg 2y ago$ gsettings get org.gnome.desktop.interface color-scheme No such key “color-scheme” Debian 11. Is it because it's old-ish?
- vetinari 2y agoOh, Gnome 3.38. I'm not sure that version even supported dark mode, only dark themes. I won't comment on aging of Debian ;). Btw, what version of Firefox are you using? Debian comes with ESR, so chances are, that firefox' "ui.systemUsesDarkTheme = 1" still works (it doesn't in newer releases).
- lkdfjlkdfjlg 2y agoI have 102.6.0esr (came with the OS) and I also installed 126.0. Neither of them has has `ui.systemUsesDarkTheme`. So anyway do you think that if I upgrade to the latest Debian, your gtk command line will work?
- vetinari 2y agoIt should; it does on the gnome install: https://youtu.be/Vpkz89gN9zk https://youtu.be/Vpkz89gN9zk
- lkdfjlkdfjlg 2y agoOh man that's such a nice feature. I guess now I have a reason to upgrade. Thank you!