Closed yozachar closed 2 years ago
Last night I was working on a dark theme, I can't understand how anyone can do this. And when I went to bed I had chills, anxiety and nightmares. What's worse, how are you supposed to work meaningfully with a dark theme? On my working environment, the Qt Creator, I see absolutely nothing. I see black writing or also blue or red writing on a black background. A compensation for pain and suffering is required for a dark theme.
Anyone who finds black humor may keep it. And if you still need a dark theme, you are welcome to make a big donation and I'll build a dark theme.
Apparently vokoscreenNG picks up a dark theme neatly! And no, it's no black magic.
This is what I did:
Method 1
(Update: doesn't seem to work, see: https://github.com/vkohaupt/vokoscreenNG/issues/211?notification_referrer_id=NT_kwDOAkosGLMzMzY1NzExNjM1OjM4NDE1Mzg0#issuecomment-1218214779 - try Method 2
)
OR
Method 2
Edit (or create) ~/.config/gtk-2.0/settings.ini
file. Paste the following lines:
[Settings]
gtk-application-prefer-dark-theme=true
gtk-enable-animations=true # (optional)
gtk-font-name="Inter 10" # (optional) your font name
gtk-icon-theme-name="Tela-circle-manjaro-dark" # your icon theme name
gtk-theme-name="Orchis-Green-Dark-Compact" # your gtk theme name
Create or a file called ~/.config/Trolltech.conf
and add the following content:
[Qt]
style=GTK+
Add these lines to /etc/environment
QT_QPA_PLATFORMTHEME=gtk2
QT_STYLE_OVERRIDE=gtk2
Re-login / Restart
Keeping this open for anyone who wants in-app theme switch.
You're right, it's not black magic. Like every Qt program, vokoscreenNG also supports dark themes. I understood Joe733 that he wants a built-in dark theme for desktops that don't support it.
Under KDE, or xfce with adwaita, a dark theme is set with two mouse clicks.
What desktop are you using?
I'm using the XFCE DE. But I'm planning to switch to one of the WM.
Update:
I've to mention this. When experimenting, I did Method 2
first, then Method 1
. Later I reverted Method 2
and surprise, the dark theme was gone. So it looks like Method 1
has no effect or I'm doing it the wrong way.
I understood Joe733 that he wants a built-in dark theme for desktops that don't support it.
In my personal opinion, there should be a shared understanding between OS and user apps (here) on theming. The part - "should each OS/App developer enforce it" - is very subjective.
Closing this issue for now.
Unable to gaze the screen, due to the beloved vokoscreen, art thou much keen, for an in-app dark theme?
Feel free to bump the thread, suggesting the issue to be re-opened
Requesting support for dark theme.