You are not logged in.
Pages: 1
Thunar version 4.18.3
XFCE4 version 4.18
GTK version 3.24.36
Arch Linux 6.1.9-arch1-2
GTK Theme "Adwaita"
Icon Theme "oxygen"
The icons used for the sidebar and the main display are from the "oxygen" set, but the icons on the toolbar are "Adwaita"
My question is, why are the icons in the toolbar from the "Adwaita" set and not the "oxygen" set?
If I use the GTK Inspector to look at one of the icons used I see, for example:
icon-name "go-previous-symbolic" char* GtkImage
icon-set NULL GtkIconSet GtkImage
I would have thought, in my ignorance, that GtkIconSet is "oxygen"
Can I use gtk.css to change the toolbar icons, and if so how? (I know nothing about css )
Last edited by AndyM48 (2023-02-13 14:09:21)
Offline
Hello and welcome.
My question is, why are the icons in the toolbar from the "Adwaita" set and not the "oxygen" set?
That's because the oxygen theme doesn't have the required symbolic or vector-based icons, so gtk works up the icon hierarchy chain until it finds an icon to use.
Can I use gtk.css to change the toolbar icons, and if so how? (I know nothing about css )
Yes, you can force non-symbolic icons using the following css tweak: add to (or create if missing) ~/.config/gtk-3.0/gtk.css the following:
.thunar toolbar image {-gtk-icon-style: regular;}
You'll need to restart thunar, and it's daemon component, for it to take effect.
Last edited by ToZ (2023-02-12 12:29:33)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you very much. I can start looking into it now
Do I have to put curly brackets around the css code or just as it stands?
Offline
Add it just like I've displayed above.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you - it works fine
Offline
Glad to hear. Can you mark the thread "[SOLVED]" by editing your first post in this thread and prepending "[SOLVED]" to the Subject line?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Sure
I changed to "elemetary-xfce" icons and it all looks great.
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 540.27 KiB (Peak: 541.55 KiB) ]