You are not logged in.

#1 2018-09-27 20:20

jschall
Member
Registered: 2018-09-16
Posts: 51

[SOLVED] Conky disappears when I click the desktop

I am trying to setup Conky so it displays various system parameters on the desktop.

It works, and I managed to have it start on login.

But for some reason it hides when I left click on the desktop background, and I don't know how to bring it back to visibility. It is still running in the background, and if I kill it and restart it, it's visible again. Until I click on the desktop.

I suspect there is some parameter in the display setup that lets it hide like that, but I can't see what that might be.

Here is the display portion of my /home/jeff/.conkyrc:

===================================================
conky.config = {

    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 5,
    gap_y = 60,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}
==============================================

Does anybody know how to keep Conky on the desktop?

Last edited by jschall (2018-10-03 15:28)

Offline

#2 2018-09-27 21:59

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Conky disappears when I click the desktop

It is because of your "own_window" settings (type=desktop), below are the settings I use which might help

own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 255,

You may or may not need the argb settings depending on your compositor settings, but this works for me. smile

Offline

#3 2018-09-28 15:32

jschall
Member
Registered: 2018-09-16
Posts: 51

Re: [SOLVED] Conky disappears when I click the desktop

Thanks a lot, @Dai_trying.

It was the  "own_window_type = 'desktop'," that caused the problem.

"own_window_type = 'normal'," followed by "own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager'," did the trick.

Offline

#4 2018-09-28 16:37

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Conky disappears when I click the desktop

You're welcome, I thought you would need something else from that section too but didn't have time to test it before posting. Glad it sorted it out though smile

Offline

Board footer

Powered by FluxBB