Closed c02y closed 2 years ago
fastfetch prefers GTK settings from dconf / gsettings, since GTK 3/4 seems to do that to, as far as i digged into the source code.
To see what is stored in gsettings, run gsettings get org.gnome.desktop.interface gtk-theme
.
To see what is stored in dconf, run dconf read /org/gnome/desktop/interface/gtk-theme
Maybe something is misconfigured there for you?
Another option is that gtk is configured to prefer config files on lxde, so lxappearance just needs to set them. GTK has custom settings for cinnamon and mate at least. I will look into this.
BTW you can force both gtk and fastfetch to prefer a specific config file by setting the GTK<VERSION>_RC_FILES
environment variable.
I used to use xfce and cinnamon, but I deleted all of them and switched to i3 and use lxappearance-gtk3 to set the theme and system-wide font family and size instead, the old configuration from fastfetch or dconf/gsettings must come from old configuration I set in xfce or cinnamon.
Since I don't use xfce or cinnamon now, and I only use lxappearance-gtk3 for configuration, I tried to remove ~/.config/dconf/user
and reboot my system, now fastfetch
gets
Theme: Adwaita-dark [GTK2], Adwaita [GTK3/4]
Icons: ePapirus-Dark [GTK2], Adwaita [GTK3/4]
Font: Noto Sans (12pt) [GTK2], Cantarell (11pt) [GTK3/4]
They are still different, since I use lxappearance-gtk3
to set those values, but fastfetch says the values I set are for gtk2, how can I get the values I set correctly (BTW: I don't have gtk4 installed)?
UPDATE:
I already used dconf-editor
to set the three variables, now they are the same for GTK2/3/4
If the info fastfetch I get is not a bug, you can close this issue as you like.
TBH i am not sure if this is a bug or not, still reading through pages of GTK doc. Either way the GTK code needs some polishing, so i am leaving this open.
I just install a fresh Archlinux + i3 on the VM, and didn't install any DE like xfce or cinnamon, and install fastfetch and get its info
Theme: Adwaita [GTK2/3/4]
Icons: Adwaita [GTK2/3/4]
Font: Cantarell (11pt) [GTK2/3/4]
Then I install lxappearance-gtk3
and the necessary theme/font/icon packages and use lxapperance-gtk3
to set them as theme: Adwaita-dark, icon: ePapirus-Dark, font: Font: Noto Sans (12pt)
, then run fastfetch
again, the result from fastfetch is the same old default ones. So lxappearance-gtk3
doesn't affect the result of fastfetch
at all.
But I also tried screenfetch and neofetch, they are using the result of lxappearance-gtk3
, and there is no gtk4
in the results of screenfetch and neofetch which is right since I didn't have gtk4 installed, fastfetch
shows gtk4 which is not right.
Should be working now.
Output of
fastfetch --version
:Output of
fastfetch --load-config devinfo
:Output of
fastfetch --load-config devinfo-verbose
:Output of
fastfetch --list-features
:If you get the following error:
Error: couldn't find config: [...]
, copy the files in presets to/usr/share/fastfetch/presets/
or~/.local/share/fastfetch/presets/
. If this isn't possible (or to much work) for you, post the output offastfetch --show-errors --recache --multithreading false --disable-linewrap false
.Often helpful questions:
Terminal
field)Context
As you can see from the above result:
From fastfetch:
From neofetch:
From screenfetch:
From ~/.gtkrc-2.0
From ~/.config/gtk-3.0/settings.ini
I'm using lxappearance-gtk3 to set the theme/icon/font (the values are the same as ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini) , all the other configurations are the same except fastfetch, I don't know how fastfetch gets a different result for gtk2 and gtk3/gtk4 and I can not find it.
BTW:
Matcha-dark-azul
is from package calledmatcha-gtk-theme
, it is not even installed.