How to fix the KDE5 system tray issue

As described here I do not consider KDE5 ready for everyday use, as there are some important features missing as well as several bugs.

One of the things that annoyed me after installing Kubuntu 15.04, was the fact that gnome apps wouldn’t register to the system tray. But there is a solution ’till the KDE devs introduce a permanent fix…

A simple way is to install “trayer” from the repositories. This is a small and lightweight system tray. Then resize your KDE Panel, leaving some empty space at the right of your screen, which the trayer will occupy (in this example 200px). Start trayer giving the parameters that suit your needs, for example:

trayer --align right --widthtype pixel --width 200 --transparent true --heighttype pixel --height 30 --alpha 230 --padding 10

This will place the tray in the right side of your screen, having width 200px, height 30 px etc… Change the parameters depending on your preferences. Now, GTK apps will place their tray icons on trayer. You can get all possible options in the man page of trayer, by typing in your terminal:

man trayer

After you experiment a bit with the trayer settings and conclude with what suits you, put it all on a script. You can then make it run on KDE login.

3 thoughts on “How to fix the KDE5 system tray issue”

  1. I don’t have the package “trayer” in fedora, but this post still helped me to workaround the issue.

    I installed the tray implementation “stalonetray”, with the following configuration:

    window_layer bottom
    geometry 3x3-0-0
    grow_gravity NW
    icon_gravity NW

    This shows the non-kde icons on the bottom-right-side of the screen. You can set the geometry based on your panel position/size.

    1. Good to know this article was of some help! And thanks for showcasing another solution. I bet a lot of people are annoyed by this issue!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.