Disable dimming of minimized app icons in XFCE4 taskbar

I use the XFCE4 desktop environment in my Linux distro. By default, when you minimize an application in XFCE4, its icon becomes dimmed on the taskbar. This is to indicate which windows are minimized with a quick glance at the taskbar. However, not everyone likes this behavior. Some users prefer to see minimized app icons in full color. While XFCE4 does not come with an option to disable the dimming of icons, there is a quick hack which will allow you to change the appearance of the minimized window icons.

Advertisement


Here is how icons look like, by default:

XFCE4 default taskbar iconsAll minimized windows have a dimmed icon in the taskbar, while it is bright for active windows.

To change this behavior, you need to create a simple text file in your "home" directory, e.g.

/home/username

Just open your favorite text editor and paste the following text:

style "xfce-tasklist-style"
{
  # Lucency of minimized icons. Valid values are between 0 (completely
  # hide the icon) and 100 (don't lighten the icon).
  XfceTasklist::minimized-icon-lucency = 100
}
class "XfceTasklist" style "xfce-tasklist-style"

XFCE4 gtkrcThese lines override the default appearance of taskbar icons in XFCE4. The parameter "minimized-icon-lucency" defines how much lightened the minimized app icon should be. If you set it to 100, the icon will not be changed when you minimize the app's window.

Save the file as .gtkrc-2.0 in your home directory.

Now, go to XFCE4's settings manager and pick the Appearance icon. Switch to some gtk theme:XFCE4 change gtk style 1

Then switch back to your previous theme:XFCE4 change gtk style 2

This causes the .gtkrc-2.0 file to be applied to your appearance settings.

Now, just restore and minimize back all your windows. The taskbar icons will not be dimmed anymore.XFCE4 taskbar icon not dimmed

You can read more details about gtkrc-2.0 tricks applicable to XFCE4 components in its official documentation.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “Disable dimming of minimized app icons in XFCE4 taskbar”

  1. This did not work for me, but jchelpau from the irc help channel helped me and I had to paste this in this file /home/calico/.gtkrc-xfce

    style “xfce-tasklist-style” {
    XfceTasklist::minimized-icon-lucency = 100
    }
    widget_class “*XfceTasklist*” style “xfce-tasklist-style”

Leave a Reply

Your email address will not be published. Required fields are marked *