Conky: Clicking on desktop in KDE/Plasma5 makes conky disappear

Created on 6 Sep 2015  ·  7Comments  ·  Source: brndnmtthws/conky

I am not sure if it's conky's fault or kwin's, but once I click on the desktop, conky disappears.
I'm using this setup:

own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager'

conky gives me this output:

conky: desktop window (263) is root window
conky: window type - desktop
conky: drawing to created window (0x8c00002)
conky: drawing to double buffer

It is still running, though, just that I can't see it anymore. When logging out, it can be briefly seen once the desktop wallpaper unloads. Any ideas?

Conky 1.10.0, arch linux x64, plasma5.4

Most helpful comment

own_window_type = 'normal', = hides on show desktop
own_window_type = 'desktop', = hides when desktop is clicked and doesn't appear till you show desktop with alt-tab.

My fix was to use own_window_type = 'dock', with a kwin rule to force it below.


My plasma5 related config:

    double_buffer = true,
    own_window = true,
    own_window_argb_visual = true,
    own_window_class = 'Conky',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_transparent = true,
    own_window_type = 'dock',

All 7 comments

Hello,

The problem comes apparently from the own_window_type property.
It should not be "desktop" any more, but set it to "normal" and voila.

Sincerely.

"normal" does work, but it also reacts to stuff like "minimize all windows", which the "desktop" type does not react to. Meaning, I can no longer peek at my desktop, but have to actually move/minimize that cover my conky windows.

I also use Plasma 5 and have had luck with the settings below. There is still an issue where my conky window disappears occasionally when I right-click my desktop or open kicker. This is not a big problem since I also like to use a kwin script to raise and lower the conky window with a keyboard shortcut.

own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_hints = 'undecorated,below,skip_taskbar,sticky,skip_pager'

own_window_type = 'normal', = hides on show desktop
own_window_type = 'desktop', = hides when desktop is clicked and doesn't appear till you show desktop with alt-tab.

My fix was to use own_window_type = 'dock', with a kwin rule to force it below.


My plasma5 related config:

    double_buffer = true,
    own_window = true,
    own_window_argb_visual = true,
    own_window_class = 'Conky',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_transparent = true,
    own_window_type = 'dock',

Thank you @Zren your solution works very well 👍 finally i can use conky with plasma 5.

In XFCE, I was running into the same problem.

own_window_type = 'dock',
own_window_hints = 'below',

fixed it.

You can use 'desktop' instead of dock, and it still does ok.

Fixed via various comments and/or solutions. Closing due to inactivity. Thanks.

_Mix and match solutions make the world go round._ ♩♪ ♫ ♬ ♭ ♮ ♯

Was this page helpful?
0 / 5 - 0 ratings