GTK4 apps don't respect dark theme in i3 #5896
Replies: 4 comments 2 replies
-
Stab in the dark here, but have you tried
? Maybe give https://wiki.archlinux.org/title/Dark_mode_switching and https://wiki.archlinux.org/title/GTK#Dark_theme_variant a good read. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, have not been able to fix, even with [Settings]
gtk-application-prefer-dark-theme=1 I note that I get an error with Nautilus, which is
which is weird, because |
Beta Was this translation helpful? Give feedback.
-
have you checked the solution from https://unix.stackexchange.com/questions/761808/how-to-globally-set-dark-mode-for-gtk-4-apps |
Beta Was this translation helpful? Give feedback.
-
I fixed this on 23.10 by creating
After a restart it was fixed for me. See also: https://discourse.gnome.org/t/using-adwaita-dark-on-another-compositor/17563/10 |
Beta Was this translation helpful? Give feedback.
-
Hi, this might be a bit of an obscure issue and could be more related to gnome rather than i3 so apologies in advance if this might not be the best place to put it.
i3 v4.22
Ubuntu 23.10
GNOME 45
Ive been a long-time GNOME user but recently, I wanted to try a tiling window manager so I have both GNOME and i3 co-existing on my system. When I log in after a fresh boot into GNOME, all my GTK3/4 apps are in dark mode as they should be. When I logout and log back in but this time using i3, GTK 4 apps like nautilus, gnome-clocks, gnome-calendar are in light mode.
Wierdly, if I log out again and back into gnome, the GTK apps are still in lightmode there too, regardless of whether I toggle the dark mode slider on or off. It is only if I do a full reboot that they are in dark mode again.
I have tried the following solutions:
Making sure in the
settings.ini
file in both~/.config/gtk-4.0/
and~/.config/gtk-3.0/
haveapplication-gtk-prefer-dark-theme
set to1
Making sure the following are set through dconf-editor:
gsd-xsettings
orxsettingsd
to apply my current GTK settings.Beta Was this translation helpful? Give feedback.
All reactions