Closed DarNCelsius closed 2 years ago
Fastfetch parses the following files in order, with version
being one of 2
, 3
and 4
looking for gtk-icon-theme-name =
:
<configdir>/gtk-<version>.0/settings.ini
<configdir>/gtk-<version>.0/gtkrc
<configdir>/gtkrc-<version>.0
<configdir>/.gtkrc-<version>.0
Where <configdir>
is one of the following (if no XDG env variables overwrite it) in order:
~/.config/
~/
/etc/xdg/
/etc
So for gtk 4, the first file parsed will be ~/.config/gtk-4.0/settings.ini
.
Can you please look if one of those files exist, and if yes, contain the wrong value?
Both ~/.config/gtk-4.0/settings.ini
and ~/.config/gtk-3.0/settings.ini
have the values as reported by Fastfetch:
gtk-font-name=DejaVu Sans, 9
gtk-icon-theme-name=Papirus-Dark
These values do not reflect the actual settings in use. This is the same as #199 then.
Neofetch:
██████████████████ ████████ darn@manjaro
██████████████████ ████████ ------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Model: X570 AORUS MASTER -CF
████████ ████████ Kernel: 5.18.12-3-MANJARO
████████ ████████ ████████ Uptime: 16 hours, 43 mins
████████ ████████ ████████ Packages: 1738 (pacman), 4 (flatpak)
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 2560x1440, 2560x1440, 2560x1440
████████ ████████ ████████ DE: Cinnamon 5.4.3
████████ ████████ ████████ WM: Mutter
████████ ████████ ████████ WM Theme: Arc-Dark
████████ ████████ ████████ Theme: Matcha-dark-azul [GTK2/3]
████████ ████████ ████████ Icons: Qogir-dark [GTK2/3]
Terminal: tilix
CPU: AMD Ryzen 7 3800X (16) @ 4.560GHz
GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT
Memory: 8277MiB / 15919MiB
Do you know where the settings app saves those settings, if it isn't this file? Some dconf / gsettings path probably.
BTW according to the arch wiki the file would be the correct location...
Please try latest commit, at least Cinnamon should be working now.
Cinnamon works fine now. XFCE and LXQT does not.
XFCE should have been working the whole time. What is the output of:
xfconf-query -c "xsettings" -p "/Net/IconThemeName"
xfconf-query -c "xsettings" -p "/Gtk/FontName"
Fixed it for XFCE. Really silly error.
Now only LXQT is left. Do you know where it does store its configuration?
~/.config/lxqt/lxqt.conf:
[General]
__theme_updated__=1620329891003
__userfile__=true
icon_follow_color_scheme=true
icon_theme=Qogir-dark
single_click_activate=true
theme=system
tool_button_style=ToolButtonTextBesideIcon
[Palette]
base_color=#22252c
highlight_color=#2097d9
highlighted_text_color=#ffffff
link_color=#55aaff
link_visited_color=#ff00ff
text_color=#ffffff
window_color=#14161b
window_text_color=#dbdbdb
[Qt]
cursorFlashTime=1000
doubleClickInterval=400
font="DejaVu Sans,10,-1,5,50,0,0,0,0,0"
style=kvantum-dark
wheelScrollLines=1
Is that really the GTK theme? Seems more like QT. Maybe it is more accurate to display a [QT] section, instead of GTK on LXQT?
After some time of googling, LXQT really seem to use the GTK settings from the files, so fastfetch already displays that correct. It does use QT for its apps though, and theme info for that doesn't get loaded yet. I am still deciding if i should replace with [Plasma] with [QT] and use it for LXQT too, or if i create a [LXQT] section.
GTK/QT style is handled using kvantum here. Font and Icon theme should be toolkit independent. I don't know where it gets the defaults though.
Here are my LXQT settings and fastfetch output. As you can see, the Icon and font output shows the wrong info here too.
kavantum is a pure QT theme. I am also pretty sure that GTK doesn't parse ~/.config/lxqt/lxqt.conf
, because the font is saved as an internal QT representation. If your setting app sets the GTK theme, it must be saved somewhere else. The screenshots you posted are all QT.
If you look at the bottom left of the app, there is a "GTK Style" category, which will modify .gtkrc-2.0 and .gtkrc-3.0 directly.
Here's the Kvantum blurb:
To be able to choose the theme Qt applications are using on your Linux system, tweak some settings, and have an overall better integration with Gnome / Gtk, you can give [Kvantum](https://github.com/tsujan/Kvantum/tree/master/Kvantum) a try. This is a SVG-based theme engine for both Qt4 and Qt5, KDE and LXQt.
This is what I mean by GTK/QT. :)
So that means, that on LXQT, ~/.gtkrc-3.0
is prefered over ~/.config/gtk-3.0/settings.ini
?
And please try the latest patch, you should be seeing qt theme now.
This is what I mean by GTK/QT. :)
This just means that you can achieve a QT look using Kvantum, that looks the same like GTK. Kvantum itself is purely QT.
Yes, I know, just clarifying.
~/.gtkrc-3.0 was a typo - I meant to write ~/.config/gtk-3.0/settings.ini
.
But if ~/.config/gtk-3.0/settings.ini
already contains the correct GTK config, it should already be displayed correctly. With the latest patch you should also see the QT config.
It may contain the right GTK config, but not for Icon and font info for XFCE, Cinnamon and LXQT, which is why I made this issue.
Here's the new output:
So the current behaviour is the correct one?
It think so. The QT info has the correct values for LXQT. Cinnamon and XFCE pulls info from the right sources. :+1:
It's a little odd seeing GTK2/3/4 values that I don't use anywhere though.
General description of bug:
It seems stuck on Papirus-Dark regardless of DE or WM. It's set to Qogir-dark in LXAppearance, XFCE and Cinnamon as the screenshot shows. I don't remember Plasma offhand.
Often helpful questions:
Output of
fastfetch --version
:Output of
fastfetch --load-config devinfo
:Output of
fastfetch --load-config devinfo-verbose
:Output of
fastfetch --list-features
: