Clicking on desktop in KDE/Plasma5 makes conky disappear #145

Open
Soukyuu opened this Issue Sep 6, 2015 · 6 comments

Comments

Projects
None yet
6 participants

Soukyuu commented Sep 6, 2015

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

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.

Soukyuu commented Dec 28, 2015

"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.

Contributor

marcpayne commented Dec 28, 2015

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'

Zren commented Jun 19, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment