LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-03-2009, 01:02 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Conky disappears unexpectedly from desktop


Sometimes when opening an application (web browser, etc), conky disappears from my debian lenny desktop. I am trying to find out why but no result yet.

If I run ps -ax in CLI, I can see conky is still running but not showing on desktop.

In addition, let me tell you I am starting conky by adding it to preferences/sessions. I have seen some of you start it by a script. Is that better or necessary?

Here is my .conkyrc so you can help me finding the problem. Any help or suggestion will be very welcome. Thanks in advance,

Quote:
background yes
use_xft yes
xftfont Sans:size=9
update_interval 2
total_run_times 0
double_buffer yes
no_buffers yes
text_buffer_size 1024
draw_borders no
draw_graph_borders
own_window yes
own_window_type normal
own_window_transparent yes
own_window_colour 5090b4
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size 265 0
maximum_width 265
default_color black
draw_shades no
color0 black
color1 FCAF3E
color2 white
alignment top_right
gap_x 20
gap_y 38
no_buffers yes
net_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
${color0}${font :size=14}SYSTEM ${hr 1}${font}
${voffset 4}${color blue}${font Vibrocentric:style=bold:size=12}${pre_exec lsb_release -d | cut -c14-35}${font}
${voffset 4}${font :size=10:style=bold}${color2}$sysname $kernel $alignr $machine
${voffset 4}${color0}${font :size=10}CPU1: ${alignr}${cpu cpu1}%
${voffset 4}${color0}CPU2: ${alignr}${cpu cpu2}%
${voffset 4}${color0}Core1 Temp: ${alignr}${color0}${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp1_input | cut -c1,2}°C
${voffset 4}${color0}Core2 Temp: ${alignr}${color0}${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp3_input | cut -c1,2}°C
${voffset 4}${color0}CPU Fan: ${alignr}${acpifan}${color0}
${voffset 4}${color}sda temp: ${alignr}${execi 30 nc localhost 7634 | cut -d\| -f4}°C
${voffset 4}${color}sdb temp: ${alignr}${execi 30 nc localhost 7634 | cut -d\| -f9}°C
${voffset 4}${color0}RAM:${alignr}${color0}$mem / ${color0}$memmax / $memperc%
${voffset 4}${color0}SWAP USAGE: ${alignr}$swapperc%
${voffset 4}${color0}Uptime:${alignr}${color0}${uptime}
${color0}${voffset 4}${font :size=14}NETWORK ${font Snap.se:size=8}${hr 1}${font}
${color0}${voffset 4}Hostname:${color blue}$alignr$nodename
${color0}${voffset 4}eth0:${color yellow}${font :style=bold}$alignr${addr eth0}
${voffset 4}${color0}${font :size=14}FILESYSTEM ${hr 1}${font}
${color0}${voffset 4}Root:${alignr}${fs_used /}/${fs_size /}
${color0}${voffset 4}home:${alignr}${fs_used /home/}/${fs_size /home/}
${color0}${voffset 4}/backup:${alignr}${fs_used /media/backup}/${fs_size /media/backup}
${color0}${voffset 4}${font :size=14}PROCESSES ${font Snap.se:size=8}${hr 1}${font}${voffset 4}${color2}
NAME $alignr PID CPU MEM
${font}${color0}${hr 1}
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
${voffset 4}${color0}${font :size=14}TIME-DATE ${hr 1}${font}
${voffset 4}${color2}${font :size=10}${time %H:%M:%S}${font :size=10}${alignr}${color2}${time %a %d/%m/%y}
${voffset 4}${color0}${font :size=14}WEATHER ${hr 1}${font}
${voffset 4}${alignc}${color2}${font :size=10}${rss http://rss.accuweather.com/rss/livew...7|BUENOS+AIRES 300 item_titles 1}
${voffset 4}${color0}${font :size=14}CALENDAR ${hr 1}$color${font}
${voffset 4}${color} ${font :size=8}$alignc${time %B}
${font Mono:size=10}${color yellow}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${font :style=bold}${color red}'"$DJS"'${font Mono:size=10}${color yellow}'" "/}

Last edited by glore2002; 11-03-2009 at 01:04 PM.
 
Old 11-03-2009, 06:36 PM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
thats what i got mentioned in mine as a comment
# Use double buffering (reduces flicker, may not work for everyone)
 
Old 11-04-2009, 11:46 AM   #3
condor216
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
i don't know how similar this is but my conky flashes on and off for no aparrent reason(no $blink and not meant too)at random intervals here is my conkyrc.sh

# Use Xft?
use_spacer yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 0.5
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
background no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 0 780
#maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 10
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Use short unit
short_units on
TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
${font Weather:size=16}xyz${font} CPU Temp: ${alignr}${acpitemp}C
${font StyleBats:size=16}A${font} CPU1: ${freq_g cpu1} GHz ${cpu cpu1}% ${alignr}${cpugraph cpu1 10,120 000000 ff0000}
${font StyleBats:size=16}A${font} CPU2: ${freq_g cpu2} GHz ${cpu cpu2}% ${alignr}${cpugraph cpu2 10,120 000000 00ff00}
${font StyleBats:size=16}g${font} RAM: $memperc% $mem/$memmax ${alignr}${membar 10,120}
${font StyleBats:size=16}j${font} SWAP: $swapperc% $swap/$swapmax ${alignr}${swapbar 10,120}
${font Webdings:size=16}~${font} Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 10,120 BAT0}
DATE ${hr 2}
${alignc 60}${font Arial Black:size=26}${time %H:%M:%S}${font}
${alignc}${time %A %d %B %Y}
DISKS ${font StyleBats:size=16}j${font}${hr 2}
${font RsbillsDng:size=16}i${font} ROOT: ${fs_free /}/${fs_size /} ${alignr}${fs_bar 10,120 /}
${font Webdings:size=16}H${font} HOME: ${fs_free /home}/${fs_size /home}${alignr}${fs_bar 10,120 /home}
DISK I/O ${font StyleBats:size=16}o${font}${hr 2}
${color}Read: ${diskio_read } ${alignr}${diskiograph_read /dev/sda 10,120 000000 00ff00 2}
${color}Write: ${diskio_write } ${alignr}${diskiograph_write /dev/sda 10,120 000000 ff0000 2}
NETWORK ${font Webdings:size=16}k${font}${hr 2}
${if_up eth0}
${color}Wire Connection Up: ${color }${upspeed eth0} k/s ${alignr}${upspeedgraph eth0 10,120 000000 ff0000}
${color}Wire Connection Down: ${color }${downspeed eth0}k/s ${alignr}${downspeedgraph eth0 10,120 000000 00ff00}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0}
$endif${if_up wlan0}
${color}Wireless Connection Up: ${color }${upspeed wlan0} k/s ${alignr}${upspeedgraph wlan0 10,120 000000 ff0000}
${color}Wireless Connection Down: ${color }${downspeed wlan0}k/s ${alignr}${downspeedgraph wlan0 10,120 000000 00ff00}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr wlan0}
$endif
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=THXX0002 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=THXX0002 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=THXX0002 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=THXX0002 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=THXX0002 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=THXX0002 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=THXX0002 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 10}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 70}${execpi 600 conkyForecast --location=THXX0002 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=THXX0002 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
${endif}
HIGHEST CPU ${hr 2}
${color #ddaa00} ${top name 1}${top_mem cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color lightgrey} ${top name 3}${top cpu 3}
${color lightgrey} ${top name 4}${top cpu 4}
HIGHEST MEM ${hr 2}
${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${color lightgrey} ${top_mem name 4}${top_mem mem 4}z
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conky disappears after I click anywhere else on desktop (HELP needed) mlynch1985 Linux - Software 6 05-17-2009 10:08 AM
LXer: Conky-like Desktop Info Application With Html Support (gtk-desktop-info) [Ubunt LXer Syndicated Linux News 0 05-01-2009 11:50 PM
two conky-s on desktop n0p.cracker Linux - Desktop 4 05-30-2008 03:01 PM
Linux desktop freezes unexpectedly andrew.sharp3 Linux - Hardware 3 01-07-2008 05:15 PM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration