CONKY ( Conky-Colors ) dies on return from hibernate problem

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
JaguarNight
Level 3
Level 3
Posts: 121
Joined: Sat Feb 19, 2011 3:06 pm

CONKY ( Conky-Colors ) dies on return from hibernate problem

Post by JaguarNight »

LM 10, 64 bit, gnome,
regular conky + conky-colors installed and working well

However, when returning from hibernate/suspend CONKY-COLORS sometimes
( not all the time ) dies and I have to manually restart it, after that it works well...
The other regular CONKY never dies when returning from hibernate/suspend, but it's a simpler setup,
just system log in it.

Here is a copy of conky-colors conkyrc file.

Any help on solving this issue is appreciated much.
Regards.
ps. I even went as far as doing this workaround:
- killing conky process before going into hibernate/suspend - that works well
- return from hibernate/suspend --> gnome login --> conky restart - that does not work,
somehow there is no way to start a bash script after "return from hibernate/suspend gnome login"
although it can easily be done on regular after boot gnome login...
So, if anybody knows how to start a script on return from hibernate/suspend gnome login, that would solve
the issue...


######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

format_human_readable

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Droid Sans:size=8
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 180
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

alignment top_right
gap_x 5 #25 DEFAULT
gap_y 30 #40 DEFAULT
minimum_size 182 600
maximum_width 182

default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades yes

# DEFAULT COLOR was ccccccc

# script weather data, market quotes, calendar - default colors ( what can not be changed )
# headers - color0
# data - color1
# icons - color2

default_color white # weather text, market quotes text, calendar text
color0 9ED983 # ram bar, swap bar, median player status icon ECB626 7BBB5C 7DBE5E 8FCE72
color1 CBB720 # data 8FC215 93B813
color2 9ED983 # icons, weather temperature large, wind, sun, rss ECB626 7BBB5C 7DBE5E 8FCE72

TEXT
# REMOVED LINE BELOW
#${font Droid Sans:style=Bold:size=8}SYSTEM $stippled_hr${font}
##############
# - SYSTEM - #
##############
${color2}${font Poky:size=15}S${font}${color}${goto 32}${voffset -8}Kernel: ${alignr}${color1}${kernel}${color}
${goto 32}Uptime: ${alignr}${color1}${uptime}${color}
# |--CPU
# ADDED ${voffset -8} BELOW
${voffset -8}${offset 2}${color2}${font Poky:size=16}P${color}${font}${voffset -4}${goto 32}CPU: ${font Droid Sans:style=Bold:size=8}${color1}${cpu cpu1}%${color}${font} ${alignr}${color1}${cpugraph cpu1 8,60 white white}${color1}
# |--MEM
${color2}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}RAM: ${font Droid Sans:style=Bold:size=8}${color1}$memperc%${color}${font}
${offset 1}${voffset 2}${color0}${membar 4,18}${color}${goto 32}${voffset -2}F: ${font Droid Sans:style=Bold:size=8}${color1}${memeasyfree}${color}${font} U: ${font Droid Sans:style=Bold:size=8}${color1}${mem}${color}${font}
# |--SWAP
${voffset 2}${color2}${font Poky:size=14}s${font}${color}${voffset -8}${goto 32}SWAP: ${font Droid Sans:style=Bold:size=8}${color1}${swapperc}%${color}${font}
${voffset 4}${offset 1}${color0}${swapbar 4,18}${color}${voffset -4}${goto 32}F: ${font Droid Sans:style=Bold:size=8}${color1}$swapmax${color}${font} U: ${font Droid Sans:style=Bold:size=8}${color1}$swap${color}${font}
# ADDED THIS LINE FOR HD INFO
$color HD: ${font Droid Sans:style=Bold:size=8}${color1}${fs_used /} / ${fs_size /}
# |--PROC
# ADDED IN LINE BELOW Processes: ${font Droid Sans:style=Bold:size=8}${color1} $processes
${voffset 2}${color2}${font Poky:size=15}a${font}${color}${goto 32}${voffset -10}Processes: ${font Droid Sans:style=Bold:size=8}${color1} $processes ${color}${alignr 13}CPU${alignr}RAM${color}
${voffset -1}${goto 42}${color1}${top name 1}${color}${font Droid Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 1}${alignr }${top mem 1}${color}${font}
${voffset -1}${goto 42}${color1}${top name 2}${color}${font Droid Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 2}${alignr }${top mem 2}${color}${font}
${voffset -1}${goto 42}${color1}${top name 3}${color}${font Droid Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 3}${alignr }${top mem 3}${color}${font}
###############
# - NETWORK - #
###############
# CHANGED VOFFSET FROM 4 TO 2
${voffset 2}${font Droid Sans:style=Bold:size=8}NETWORK$font IN:${color1} ${font Droid Sans:style=Bold:size=8}${tcp_portmon 1 32767 count}$color$font OUT:${color1} ${font Droid Sans:style=Bold:size=8}${tcp_portmon 32768 61000 count} $stippled_hr${font}
# |--WLAN0
${if_up wlan0}
${voffset -13}${color2}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Droid Sans:style=Bold:size=8}${color1}${upspeed wlan0}${color}${font} ${alignr}${color2}${upspeedgraph wlan0 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color2}${totalup wlan0}${color}${font}
${voffset -2}${color2}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Droid Sans:style=Bold:size=8}${color1}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color2}${totaldown wlan0}${color}${font}
${voffset -2}${color0}${font Poky:size=14}Y${font}${color}${goto 32} ${voffset -2}Signal: ${font Droid Sans:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
${voffset 4}${color2}${font Poky:size=13}w${font}${color}${goto 32}${voffset -8}Local IP: ${alignr}${color2}${addr wlan0}${color}
${goto 32}Public IP: ${alignr}${color2}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
# |--ETH1
${else}${if_up eth1}
${voffset -13}${color2}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Droid Sans:style=Bold:size=8}${color1}${upspeed eth1}${color}${font} ${alignr}${color1}${upspeedgraph eth1 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color1}${totalup eth1}${color}${font}
${voffset -2}${color2}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Droid Sans:style=Bold:size=8}${color1}${downspeed eth1}${color}${font} ${alignr}${color1}${downspeedgraph eth1 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color1}${totaldown eth1}${color}${font}
${voffset -2}${color2}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color1}${addr eth1}${color}
${goto 32}Public IP: ${alignr}${color1}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
# |--PPP0
${else}${if_up ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Droid Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color2}${totalup ppp0}${color}${font}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Droid Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 white white}${color}
${goto 32}Total: ${font Droid Sans:style=Bold:size=8}${color2}${totaldown ppp0}${color}${font}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr ppp0}${color}
${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Network Unavailable${voffset 14}${endif}${endif}${endif}
#############
# - CLOCK - #
#############
# CHANGED VOFFSET FROM 4 TO -10
${voffset -10}${font Droid Sans:style=Bold:size=8}DATE|TIME: ${font Droid Sans:style=Bold:size=8}${color1} ${time %H:%M}${font}${color} $stippled_hr${font}
# REMOVED 2 LINES BELOW
#${voffset -10}${alignc 46}${color2}${font Arial Black:size=30}${time %H:%M}${font}${color}
#${voffset 6}${alignc}${time %d %B %Y}${voffset -6}
################
# - CALENDAR - #
################
${voffset -2}${color2}${font Poky:size=16}D${font}${voffset -8}${font Droid Sans:style=Bold:size=7}${offset -17}${voffset 4}${time %d}${font}${color}${voffset -1}${font Droid Sans Mono:size=7}${execpi 300 DJS=`date +%_d`; cal |sed '2,7!d'| sed '/./!d' | sed 's/^/${goto 32} /'| sed 's/$/ /' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${font Droid Sans:style=Bold:size=8}${color1}'"$DJS"'${color}${font Droid Sans Mono:size=7}'" "/}${voffset -1}
####################
# - MEDIA PLAYER - #
####################
${voffset 4}${font Droid Sans:style=Bold:size=8}MEDIA PLAYER $stippled_hr${font}
${execpi 2 /usr/share/conkycolors/bin/conkyRhythmbox -t /home/val/.conkycolors/templates/conkyPlayer.template}
##################################
## WEATHER ##
##################################
# weather header and line text
${voffset 3}${font Droid Sans:style=Bold:size=8}WEATHER $stippled_hr${font}
# 80 F icon text
${voffset -55}${font RadioSpace:size=30}${color}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" ctb}${font}
# thermometer icon
${voffset -28}${goto 40}${font Weather:size=43.5}${offset -33}${color2}y${font}
# text CLOUDY SUNNY etc...
${voffset -4}${font Ubuntu:size=20}${color1}${alignc 10}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" ccb}${font}
# high low temp, humidity, wind all text
${voffset 8}${font DroidSansFallback:size=8.63}${color}${offset -12}${execi 1800 /home/val/valscripts/weather/weather.sh "33432"}${font}
# current condition icon to the right of high low / humidity / wind
${voffset -45}${font ConkyWeather:size=35}${color}${alignc -40}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" cp}${font}
##################################
## FORECAST ##
##################################
# text day of week above forecast icons: sun mon tue, default font 8.62
${voffset 0}${font DroidSansMono:bold:size=6}${color2}${offset 30}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" dl}${font}
# forecast icons: default size 37.9
${voffset -2}${font ConkyWeather:size=30}${color1}${offset 14}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" fcp}${font}
# text high low temp forecasts below icons
${voffset -4}${font DroidSansFallback:bold:size=7}${color2}${offset 9}${execi 1800 /home/val/valscripts/weather/weather.sh "33432" fct}${font}
###############
# - MARKET - #
###############
${voffset 5}${font Droid Sans:style=Bold:size=8}${color}MARKET $stippled_hr${font}$color
#^DJI -dow, ^GSPC -sp500, DX-Y.NYB -dollarindex, ^IXIC -naz, ^TNX -10Ynote, EURUSD=X -euro, GCU11.CMX -gold, CLX11.NYM -oil
# execute every 30 seconds, INDU and ^DJI are not working, so using diamonds instead * 10
${font Droid Sans:style=Bold:size=8}$color1${execi 10 python /home/val/valscripts/stocks.py DIA ^GSPC ^VIX ^IXIC DX-Y.NYB EURUSD=X GCQ12.CMX CLN12.NYM }
# to change gold and oil tickers go to yahoo finance
##############
# - RSS - #
##############
# the format is: rss address.xlm Nminutes Nitem in line
#$color1${rss http://www.cnbc.com/id/19746125/device/rss/rss.xml 1 item_title 0} THIS IS FOR CNBC FEED
${font Droid Sans:style=Bold:size=8}$color${rss http://feeds.marketwatch.com/marketwatc ... format=xml 1 item_title 0}
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Compiz, Conky, Docks & Widgets”