[SOLVED] transparent conky vanishes when clicking on desktop

Forum rules
Before you post please read this

[SOLVED] transparent conky vanishes when clicking on desktop

Postby aalemann on Thu Sep 26, 2013 4:25 am

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 aalemann on Thu Sep 26, 2013 8:15 am, edited 1 time in total.
Linux Mint 15 Olivia
Linux 3.8.0-19-generic x86_64
Intel(R) Core(TM) i3-2100
aalemann
Level 1
Level 1
 
Posts: 19
Joined: Wed Nov 28, 2012 5:57 am

Linux Mint is funded by ads and donations.
 

Re: transparent conky vanishes when clicking on desktop

Postby ninomrki on Thu Sep 26, 2013 5:41 am

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

Registered Linux user #562302
User avatar
ninomrki
Level 2
Level 2
 
Posts: 90
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia

Re: transparent conky vanishes when clicking on desktop

Postby aalemann on Thu Sep 26, 2013 6:51 am

ninomrki wrote:Try replacing own_window_type desktop with own_window_type override


then conky doesn't appear at all
Linux Mint 15 Olivia
Linux 3.8.0-19-generic x86_64
Intel(R) Core(TM) i3-2100
aalemann
Level 1
Level 1
 
Posts: 19
Joined: Wed Nov 28, 2012 5:57 am

Re: transparent conky vanishes when clicking on desktop

Postby ninomrki on Thu Sep 26, 2013 7:53 am

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
User avatar
ninomrki
Level 2
Level 2
 
Posts: 90
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia

Re: transparent conky vanishes when clicking on desktop

Postby aalemann on Thu Sep 26, 2013 8:02 am

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...?
Linux Mint 15 Olivia
Linux 3.8.0-19-generic x86_64
Intel(R) Core(TM) i3-2100
aalemann
Level 1
Level 1
 
Posts: 19
Joined: Wed Nov 28, 2012 5:57 am

Re: transparent conky vanishes when clicking on desktop

Postby ninomrki on Thu Sep 26, 2013 8:14 am

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
User avatar
ninomrki
Level 2
Level 2
 
Posts: 90
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia

Re: transparent conky vanishes when clicking on desktop

Postby aalemann on Thu Sep 26, 2013 8:15 am

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 :)
Linux Mint 15 Olivia
Linux 3.8.0-19-generic x86_64
Intel(R) Core(TM) i3-2100
aalemann
Level 1
Level 1
 
Posts: 19
Joined: Wed Nov 28, 2012 5:57 am

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

Postby ninomrki on Thu Sep 26, 2013 8:16 am

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

Registered Linux user #562302
User avatar
ninomrki
Level 2
Level 2
 
Posts: 90
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia

Linux Mint is funded by ads and donations.
 

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 1 guest