You are not logged in.

#1 2011-03-13 16:25:06

Kobussie
Member
From: NL - Groningen
Registered: 2007-04-06
Posts: 43
Website

[SOLVED] conky window disappearing

Hi all!

I recently installed conky. I use a LXDE desktop. Conky is working at startup; I start it from /etc/xdg/lxsession/LXDE/autostart.
But if I click on the desktop, my conky window disappears, although conky is still running. My .conky.rc:

alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color lightgreen
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=8
gap_x 10
gap_y 20
minimum_size 5 5
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_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$nodename - $sysname $kernel - ip $addr
${color lightblue}Time:$color $time ${color lightblue}Uptime:$color $uptime
$hr
${color lightblue}Frequency (in GHz):$color $freq_g
${color lightblue}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color lightblue}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color lightblue}CPU Usage:
${color lightblue}total:$color ${cpu cpu0}% ${cpubar cpu0 6}
${color lightblue}CPU 1:$color ${cpu cpu1}% ${cpubar cpu1 6}
${color lightblue}CPU 2:$color ${cpu cpu2}% ${cpubar cpu2 6}

${color lightblue}Processes:$color $processes  ${color lightblue}Running:$color $running_processes
$hr
${color lightblue}File systems:
 /     $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
 /home $color${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
 /var  $color${fs_used /var}/${fs_size /var} ${fs_bar 6 /var}
 /audio $color${fs_used /media/sdb/audio}/${fs_size /media/sdb/audio} ${fs_bar 6 /media/sdb/audio}
 /video $color${fs_used /media/sdb/video}/${fs_size /media/sdb/video} ${fs_bar 6 /media/sdb/video}
${color lightblue}Networking:
Up:$color ${upspeed eth0} ${color lightblue} - Down:$color ${downspeed eth0}
$hr
${color lightblue}Name              PID   CPU%   MEM%
${color lightblue} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightblue} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightblue} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightblue} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightblue} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

Last edited by Kobussie (2011-03-13 21:24:42)

Offline

#2 2011-03-13 16:55:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: [SOLVED] conky window disappearing

Are you using a compositing window manager (Like Compiz)  If so, you may want to try

own_window_argb_visual yes

You might also comment out "own_window_type desktop" or try changing it to override.

You might also need something like:

 own_window_hints undecorated,below,skip_taskbar,sticky

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-03-13 20:33:12

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: [SOLVED] conky window disappearing

This was happening to me for a while. Commenting out "own_window_type desktop", like ewaller suggested, worked for me.

Offline

#4 2011-03-13 21:24:13

Kobussie
Member
From: NL - Groningen
Registered: 2007-04-06
Posts: 43
Website

Re: [SOLVED] conky window disappearing

Thanks!

Commenting out "own_window_type desktop" worked for me! After that I choose "undecorate" in the window-manager, and put the window on all desktops.

Offline

Board footer

Powered by FluxBB