[SOLVED] transparent conky vanishes when clicking on desktop

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
aalemann

[SOLVED] transparent conky vanishes when clicking on desktop

Post by aalemann »

Hi,

I want my conky to be transparent and this worked. Unfortunately, every time when I click on the desktop, conky vanishes - it is still running but no longer displayed. Any idea what I am doing wrong?

This is the header of my conky-script:

Code: Select all

alignment top_right
gap_x 5
gap_y 5
update_interval 1.0
default_color 000000
default_outline_color 000000
default_shade_color 000000
own_window_argb_visual yes
own_window_argb_value 50
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type desktop
use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 0.2
double_buffer yes
no_buffers yes
draw_graph_borders no
Thanks,
aalemann
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ninomrki
Level 3
Level 3
Posts: 100
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia
Contact:

Re: transparent conky vanishes when clicking on desktop

Post by ninomrki »

Try replacing own_window_type desktop with own_window_type override
Home is where the Wi-Fi is.

Registered Linux user #562302
aalemann

Re: transparent conky vanishes when clicking on desktop

Post by aalemann »

ninomrki wrote:Try replacing own_window_type desktop with own_window_type override
then conky doesn't appear at all
ninomrki
Level 3
Level 3
Posts: 100
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia
Contact:

Re: transparent conky vanishes when clicking on desktop

Post by ninomrki »

This is what I got in the code that includes own_window:

Code: Select all

own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
After I saved the code like that, it stopped disappearing for me.
Home is where the Wi-Fi is.

Registered Linux user #562302
aalemann

Re: transparent conky vanishes when clicking on desktop

Post by aalemann »

ninomrki wrote: After I saved the code like that, it stopped disappearing for me.
nope, that doesn't work for me. If I start conky, it is not appearing at all.
Maybe it is a problem related to cinnamon...?
ninomrki
Level 3
Level 3
Posts: 100
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia
Contact:

Re: transparent conky vanishes when clicking on desktop

Post by ninomrki »

I don't know, then. I'm on Mint 14 MATE

This is my full Conky code:

Code: Select all

alignment top_left
background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Demonized:size=10
gap_x 5
gap_y 60
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$hr
$alignc ${time %d} ${time %h} ${time %e} - ${time %Y} ${time %H}:${time %M}
$hr
$nodename - $sysname $kernel on $machine 
$hr
${color yellow}Uptime:$color $uptime
${color yellow}Frequency (in MHz):$color $freq
${color yellow}Frequency (in GHz):$color $freq_g
${color yellow}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color yellow}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color yellow}CPU Usage:$color $cpu% ${cpubar 4}
${color yellow}Processes:$color $processes  ${color yellow}Running:$color $running_processes
$hr
${color yellow}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color yellow}Networking:
Up:$color ${upspeed eth0} ${color yellow} - Down:$color ${downspeed eth0}
$hr
${color yellow}Name              PID   CPU%   MEM%
${color lightyellow} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightyellow} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightyellow} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightyellow} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$hr
${color yellow}Audacious:$color $audacious_status
${scroll 40 ${audacious_title 80}}
${color yellow}Track Lenght:$color $audacious_position of $audacious_length
$hr
You can try if it will work for you, if you have time and will to play around and then edit in your stuff into it.
Home is where the Wi-Fi is.

Registered Linux user #562302
aalemann

Re: transparent conky vanishes when clicking on desktop

Post by aalemann »

SOLVED

I had to get rid of the

Code: Select all

own_window_type

I deleted it, and everything is fine now.

Alternatively, you can set it to normal:

Code: Select all

own_window_type normal


Thanks for the inspiration :)
ninomrki
Level 3
Level 3
Posts: 100
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia
Contact:

Re: [SOLVED] transparent conky vanishes when clicking on des

Post by ninomrki »

You're welcome :)
Home is where the Wi-Fi is.

Registered Linux user #562302
Locked

Return to “Compiz, Conky, Docks & Widgets”