Dark color scheme not supported if Adwaita:dark is set
Hi, I'm getting this error using dino. Other apps are using the dark theme with no issues.
(dino:3328): Adwaita-WARNING **: 18:07:05.799: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
If I export GTK_THEME=Adwaita:dark and then run dino it does use the dark color scheme.
https://github.com/dino/dino/wiki/Frequently-asked-questions-(FAQ)#how-to-set-a-dark-theme
@licaon-kter thanks for the answer but that doesn't work. That's why I'm opening the issue here :smile:
Right, so the last solution is to set GTK_THEME as you said.
Which Dino version?
Which OS?
Which WM/DE?
- Dino 0.4.2
- Guix System (Linux)
- WM/DE: tested in:
- i3 window manager
- GNOME
I'm not sure if this might somehow be related to Steam Deck not being able to Dark-theme Dino in gamescope mode. Desktop mode is fine. Flatpak.
Since a couple of days dino have stopped respecting the setting gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' for me. I'm running version 0.4.3 - Ilulissat on arch with sway as my window manager.
Here is the exact pacman information:
[capitol@batia ripasso]$ LANG=C pacman -Q --info dino
Name : dino
Version : 0.4.3-2
Description : Modern XMPP (Jabber) chat client written in Vala
Architecture : x86_64
URL : https://dino.im
Licenses : GPL3
Groups : None
Provides : None
Depends On : glib2 glib-networking gtk4 libadwaita gpgme libgee libgcrypt libsignal-protocol-c libsoup sqlite qrencode gspell libnice gstreamer gst-plugin-gtk
gst-plugins-base gst-plugins-good libsrtp webrtc-audio-processing
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 6.75 MiB
Packager : Robin Candau <[email protected]>
Build Date : Fri Sep 22 17:53:16 2023
Install Date : Fri Oct 6 17:44:47 2023
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Something changed again, new fix is to export GTK_THEME=Adwaita:dark
Since a couple of days dino have stopped respecting the setting gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' for me. I'm running version 0.4.3 - Ilulissat on arch with sway as my window manager.
Same here. Arch with sway as wm and dino doesn't respect gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'. Every other app I'm using does respect it.
Running GTK_THEME=Adwaita:dark dino does run dino in dark mode. Nice workaround, but would be good to have dino just respect the org.gnome.desktop.interface settings.
@ismay it's not Dino that is not respecting it, but GTK
@ismay it's not Dino that is not respecting it, but GTK
I see. None of my other GTK apps have this problem though. Are you sure it's not something on Dino's end?
@ismay it's not Dino that is not respecting it, but GTK
I see. None of my other GTK apps have this problem though. Are you sure it's not something on Dino's end?
Same. (Edit: I'm on KDE, I use Dino as a poor man's alternative to another XMPP client while testing video-chat and such.)