My idea is to use a minimized conky window on the desktop to show basically CPU and memory data all the time. Is this possible with Conky?

  • 7
    If I understand your question properly, this sounds like a window manager feature. The window manager would pin conky as on top of everything else, even when not focused. What window manager are you using? – Patrick Mar 29 '12 at 11:52
  • I use KDE 4.8.1 – gtludwig Mar 29 '12 at 12:16
  • I'm surprised this hasnt gotten an answer yet. However if it doesnt, you might try in superuser as they tend to be more geared towards desktops, while here is a bit more focused towards servers. KDE should definitely be capable of doing this though. – Patrick Mar 29 '12 at 23:36
  • This should be possible using the window behavior settings, though accessing those might be tricky, given that Conky does not request a border. – Bobby May 29 '12 at 17:55
  • I believe you just have to find the right window manager hints. – Kevin Cox Jan 29 '13 at 18:46

Yes, that's possible.

In the old times, I run xfwm4 with a fixed margin left on top side, now I just set the window type to panel in conky, the screen margin is no longer required.

  • I can confirm this behavior with Gnome's metacity as well. – Joseph R. Aug 3 '13 at 13:19

KDE can be configured to keep any window always on top of other windows. Just right-click the window chrome and select Advanced -> Keep Above Others. You can configure this to be the default for new Conky windows in Advanced -> Special Window Settings -> Arrangement & Access -> Keep Above.


I have a shortcut to display conky and the only way it can be displayed on top of maximized windows is to use wmctrl to raise it after the panel has been spawned:

function toggleConky {
    if pidof conky | grep [0-9] > /dev/null
        killall conky    # If conky is already running, kill it
        # Otherwise start it
        conky &          # Run in background
        sleep 0.1        # wait for it to load
        wmctrl -a conky  # raise it to the top

For this to work Conky has to be called "conky":

own_window yes
own_window_title conky
own_window_hints undecorated,above,sticky # doesn't do the trick
own_window_type panel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.