You are not logged in.
I found that all my GNOME apps (including Settings, Nautilus, Calculator, etc.) did not turn into dark mode. Here is my config:
$ echo $DESKTOP_SESSION
gnome-xorg
$ pacman --query gnome-shell gnome-themes-extra xdg-desktop-portal-gnome xdg-desktop-portal-gtk
gnome-shell 1:46.4-1
gnome-themes-extra 3.28+r6+g45b1d457-2
xdg-desktop-portal-gnome 46.2-2
xdg-desktop-portal-gtk 1.15.1-2
$ cat ~/.config/gtk-3.0/settings.ini
[Settings]
gtk-application-prefer-dark-theme=1
$ cat ~/.config/gtk-4.0/settings.ini
[Settings]
gtk-application-prefer-dark-theme=1
$ gsettings get org.gnome.desktop.interface color-scheme
'prefer-dark'
$ gsettings get org.gnome.desktop.interface gtk-theme
'Adwaita-dark'
Offline
Is "gnome-xorg" true or something you just set?
In any event, try to export GTK_THEME=Adwaita:dark, https://wiki.archlinux.org/title/Dark_mode_switching
Also https://wiki.archlinux.org/title/Dark_m … ngs_daemon (see the note above)
Offline
Is "gnome-xorg" true or something you just set?
In any event, try to export GTK_THEME=Adwaita:dark, https://wiki.archlinux.org/title/Dark_mode_switching
Also https://wiki.archlinux.org/title/Dark_m … ngs_daemon (see the note above)
@seth Thanks for your kind reply.
I didn't modify the env `DESKTOP_SESSION` so "gnome-xorg" is true.
`export GTK_THEME=Adwaita:dark` did turn dark, but producing a weird appearance:
Without `GTK_THEME`, Nautilus would look like:
Wiki only describes how to modify xsettings in Xfce, and I didn't find anywhere else how to modify xsettings in GNOME. I only changed the relevant settings in gsettings:
$ gsettings get org.gnome.desktop.interface color-scheme
'prefer-dark'
$ gsettings get org.gnome.desktop.interface gtk-theme
'Adwaita-dark'
Last edited by liblaf (2024-08-31 10:40:11)
Offline
Please don't embed ("huge" > 250x250 px) images, also the server doesn't seems to like that.
Replace them with links.
What's "weird" about it?
The icon gap might be bigger but I'm not sure whether that's because of the windows size or the theme.
Other than that it superficially looks like the dark adwaita style?
Do you have a reference of what you expect?
For desktops running with Xorg, an xsettings daemon is needed.
https://archlinux.org/packages/extra/x8 … gs-daemon/ provides /usr/lib/gsd-xsettings - should do.
To query gsettings configuration, GTK requires the Settings XDG Desktop Portal, provided by xdg-desktop-portal-gtk, to be running.
Check whether there's anything weird about xdg-desktop-portal in the system journal.
Offline