Ubuntu – How to increase icon size of xfce4-panel window buttons (panel-tasklist-menu)

iconsxfce

After searching for a solution for a few days, I believe that this could be a bug. After increasing the height of the xfce-panel I noticed, that the icons of the window buttons remained small. Because this looks stupid and makes recognizing the icons harder than it has to be I want to increase the icon size of the window buttons of my xfce4-panel. I am running Linux Mint 14 Xfce, but this should affect everyone running Xfce 4.10.

The xfce docs tell me that I "can set a custom icon size in gtk-icon-sizes with the name panel-tasklist-menu. The default icon size is 16px". — Source.

As far as I can tell this can be done in a few different ways:

  1. Using the graphical Settings Editor to customize the settings stored by Xfconf to add in the xsettings the Property IconSizes panel-tasklist-menu=32,32 (Or maybe just panel-tasklist-menu=32)

  2. Editing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml directly, doing basically the same thing

  3. Adding gtk-icon-sizes="panel-tasklist-menu=32,32" to ~/.gtkrc-2.0

  4. Adding this to the gtkrc of my theme (/usr/share/themes/Mint-X/gtk-2.0/gtkrc)

As you can guess nothing worked. Now after a while of blind trial&error trying to guess the correct way to define the icon size, I surrender. I was able to change the size of pretty much all the other icons on the panel, but still the size of the window button icons eludes me.

Has anyone an idea how I can increase the icon size of the xfce4-panel window buttons? Or should I send a bug report?

Best Answer

If you mean the Window Buttons panel plugin, then what you describe seems to be the behaviour when you have Show button labels enabled in the plugin Properties. This certainly sounds like a bug and you can report it on Xfce's Bugzilla.

You can improve the icon display if you uncheck that option, which will result in a Windows 7-like look of the tasklist (which I find more useful and easy to use). In this config, the icons are scaled appropriately.