You are not logged in.
Pages: 1
Topic closed
I assume something's missing, but I can't figure out what. The icons in other programs such as GtkHash are present, though some were broken at one point (probably fixed by an upgrade). I tried installing a bunch of things including the gnome package group, and tried various themes as threads about similar problems suggest. Could it be because gdk-pixbuf2 is out-of-date?
Thanks
Offline
support for menu icons was removed from gtk3 at some point. other applications still using gtk2 can stil display them
Offline
The gap indicate that something responsible for drawing the program expects there to be icons - does this mean the gap will go away in a future update?
Offline
What I would do is to use dconf and see if there is an option to disable the icons.
However, it seems that you are not using a gnome-based desktop, so I cannot guarantee that it will work.
Offline
sorry, I remembered wrong. They only disabled menu icons by default at gtk3.10, and didn't remove the feature completely.
you can still enable them via settings.ini: https://wiki.archlinux.org/index.php/GTK%2B#GTK.2B_3.x
Offline
I don't seem to have an /etc/dconf directory, so am having trouble following dconf instruction - I'll investigate this soon.
I tried adding
gtk-icon-theme-name = gnome
to a couple of settings.ini files (one in /usr/share/gtk-3.0, other in /usr/share/themes/Adwaita/gtk-3.0 (I'm using Adwaita for now)) and that didn't seem to change anything. Images in menus is ticked in Xfce's Appearance settings.
echo $XDG_CONFIG_HOME
echoes nothing, so maybe there are some missing links or something?
Offline
XDG_CONFIG_HOME is /home/username/.config/, it is mentioned in that wiki section.
the setting that should enable menuicons in $XDG_CONFIG_HOME/gtk-3.0/settings.ini would be:
gtk-menu-images=1
sorry that I didn't mention this, I thought the name of the setting on that example would be self-explanatory
also, just to clarify the settings.ini file has nothing to do with dconf. use dconf-editor if you want to edit dconf setting.
Although I couldn't find anything in dconf that would enable menu icons, so settings.ini seems to be the only way.
Last edited by ooo (2014-08-27 18:10:36)
Offline
Although I couldn't find anything in dconf that would enable menu icons, so settings.ini seems to be the only way.
You are right. I remember an entry called menu_have_icons in org.gnome.desktop.interface, but it was removed since then. Sorry about that!
Offline
I made a file in /home/to7m/.config/gtk-3.0 called settings.ini, containing gtk-menu-images=1, and that didn't make the icons appear.
I then tried
export XDG_CONFIG_HOME=~/.config
export XDG_CONFIG_HOME=~/.config/
which didn't make the icons appear either, but now
echo $XDG_CONFIG_HOME
has an output
Also, this issue affects guvcview, which seems to be GTK2.
Offline
Both gtk-menu-images and gtk-button-images params were deprecated but still not ignored.
You can try with params below on your ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini:
gtk-button-images=1
gtk-menu-images=1
P.S.: the XDG_CONFIG_HOME env variable (no direct relation with the icons) is undefined by default and the dir ~/.config is already used by default, so the steps you did just doesn't changed nothing
Last edited by leomp12 (2019-01-06 04:15:27)
Offline
This topic is four years old. Please do not necrobump.
Closing.
Offline
Pages: 1
Topic closed