Suddenly broken Conky

Forum rules
Before you post please read this

Suddenly broken Conky

Postby ShakeyJake on Sat May 14, 2011 1:30 pm

Hey guys,

When running conky I get the output:

Code: Select all
jack@jack-desktop ~ $ conky
Conky: desktop window (12000be) is subwindow of root window (15d)
Conky: window type - desktop
Conky: drawing to created window (0x4000001)
Conky: drawing to double buffer
/usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
Floating point exception
jack@jack-desktop ~ $


And obviously no conky. I have no idea why this is happening but its after an upgrade, so something is broken somewhere. I don't have clue what that /usr/share/themes line is about, nor the 'Floating Point Exception'.



Any ideas?
Much appreciated!
Jack :)
ShakeyJake
Level 1
Level 1
 
Posts: 35
Joined: Fri Feb 26, 2010 7:35 am

Linux Mint is funded by ads and donations.
 

Re: Suddenly broken Conky

Postby vrkalak on Sat May 14, 2011 5:42 pm

A couple more things are required from you:

1. Which desktop environment are you using?

2. Could you post your entire " .conkyrc " script?

Use this method, please >
Code: Select all
.conkyrc script
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3271
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Suddenly broken Conky

Postby Habitual on Sat May 14, 2011 6:00 pm

ShakeyJake wrote:after an upgrade


What exactly was this "upgrade"? System? Conky?
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2031
Joined: Sun Nov 21, 2010 8:31 pm
Location: Undecided

Re: Suddenly broken Conky

Postby ShakeyJake on Sat May 14, 2011 6:37 pm

Sorry, you guys are right, should have been more forthcoming. :-)

The system was an install of LMDE that hadn't been updated for a while. I ran an 'apt-get dist-upgrade' which, amongst other things, updated the kernel from .32 to .38.

The full ~/.conkyrc can be found here.

EDIT: But you said you'd prefer it like this.

Code: Select all
# .conkyrc by fabsh <fabsh@lamerk.org> and modified by Jack <jackelliott@gmail.com>


# Use Xft?
use_xft yes
xftfont Ubuntu:size=8
xftalpha 0.8
text_buffer_size 4096

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
#own_window_hints
#own_window_type desktop
#own_window_transparent yes
own_window_type override
#own_window_type dock
#own_window_type normal  #use this if you want a nice shadow to appear around conky

# If own_window is yes, these window manager hints may be used
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 200 0
maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 5
border_outer_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color grey
own_window_colour grey

# 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 12
gap_y 8

# 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

TEXT


${font Metal Lord:size=48}${alignc}Jack${font}

SYSTEM ${hr 2}
${voffset 4}${font openlogos:size=16}u${font}   ${voffset -5}OS:  ${alignr}${execi 3600 lsb_release -d | cut -f 2}
${voffset 4}${font StyleBats:size=16}O${font}   ${voffset -5}Uptime: ${alignr}${uptime}
${voffset 4}${font StyleBats:size=16}X${font}   ${voffset -5}CPU Scaling: ${alignr}${freq_g (0)}/3.20GHz
${voffset 4}${font StyleBats:size=16}P${font}   ${voffset -5}CPU Temperature: ${alignr}${execi 1 sensors | grep -A 1 'temp1' | cut -c15-21 | sed '/^$/d'}
${voffset 4}${font StyleBats:size=16}P${font}   ${voffset -5}GPU Temperature: ${alignr}${execi 10 nvidia-settings -query GPUCoreTemp -t}.0°C
${voffset 6}${font StyleBats:size=16}A${font}   ${voffset -5}CPU 1: ${alignr}${cpu cpu1}% ${cpubar cpu1 8,60}
${voffset 4}${font StyleBats:size=16}A${font}   ${voffset -5}CPU 2: ${alignr}${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${voffset 4}${font StyleBats:size=16}A${font}   ${voffset -5}CPU 3: ${alignr}${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${voffset 4}${font StyleBats:size=16}A${font}   ${voffset -5}CPU 4: ${alignr}${cpu cpu4}% ${alignr}${cpubar cpu4 8,60}
${voffset 4}${font StyleBats:size=16}g${font}   ${voffset -5}RAM: ${alignr}$memperc% ${membar 8,60}
${alignr}${voffset 5}$mem/$memmax

TIME ${hr 2}
${alignc 19}${font Ubuntu:bold:size=18}${time %H:%M}${font}
${voffset 2}${alignc}${time %A, %d %B %Y}

DISKS ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}3${font}   ${voffset -5}Root: $alignr ${fs_used_perc /}%
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home: $alignr ${fs_used_perc /home}%
${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Backup: $alignr ${fs_used_perc /disks/backup}%
${voffset 4}${fs_used /disks/backup}/${fs_size /disks/backup} ${alignr}${fs_bar 8,60 /disks/backup}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Black: $alignr ${fs_used_perc /disks/black}%
${voffset 4}${fs_used /disks/black}/${fs_size /disks/black} ${alignr}${fs_bar 8,60 /disks/black}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Green: $alignr ${fs_used_perc /disks/green}%
${voffset 4}${fs_used /disks/green}/${fs_size /disks/green} ${alignr}${fs_bar 8,60 /disks/green}
${font Pie charts for maps:size=14}0${font}   ${voffset -5}Swap: $alignr ${swapperc}%
${voffset 4}${swap}/${swapmax} ${alignr}${swapbar 8,60}
${font Pie charts for maps:size=14}a${font}   ${voffset -5}Ramdisk: $alignr ${fs_used_perc /disks/ramdisk}%
${voffset 4}${fs_used /disks/ramdisk}/${fs_size /disks/ramdisk} ${alignr}${fs_bar 8,60 /disks/ramdisk}

NETWORK ${hr 2}

${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${alignr}${upspeed eth1}/s ${upspeedgraph eth1 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${alignr}${downspeed eth1}/s ${downspeedgraph eth1 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Uploaded: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Downloaded: ${alignr}${totaldown eth1}
#${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Mail:${alignr}${execi 300 python ~/.scripts/gmail.py}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Local IP: ${alignr}${addr eth1}

PROCESSES ${hr 2}
NAME $alignr PID    CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}


This is just a standard LMDE install: gnome, compiz and nvidia graphics drivers are probably the relevant bits that might affect conky. Literally working fine then 'dist-upgrade', reboot, broken conky.


Cheers,
Jack
Jack :)
ShakeyJake
Level 1
Level 1
 
Posts: 35
Joined: Fri Feb 26, 2010 7:35 am

Re: Suddenly broken Conky

Postby ShakeyJake on Mon May 16, 2011 5:25 pm

On closer inspection (after random fiddling) it seems that changing conky to run in the background (background yes) results in no 'floating point exception' error message but still no conky either.
Jack :)
ShakeyJake
Level 1
Level 1
 
Posts: 35
Joined: Fri Feb 26, 2010 7:35 am

Re: Suddenly broken Conky

Postby colyn on Mon May 16, 2011 10:03 pm

Try this change the below line

Code: Select all
own_window_type override


to

Code: Select all
own_window_type conky


Also uncomment the below line

Code: Select all
#own_window_transparent yes


Try adding this line also

Code: Select all
own_window_class Conky
User avatar
colyn
Level 6
Level 6
 
Posts: 1190
Joined: Sat Aug 14, 2010 1:37 pm
Location: ¿ǝɯ ǝǝs ɐʎ ʇ,uɐƆ ˙ǝɹǝɥ ʇɥƃᴉɹ ɯ,I

Re: Suddenly broken Conky

Postby ShakeyJake on Wed May 18, 2011 3:03 pm

Sadly not, in fact when I add both

Code: Select all
own_window_class Conky
#own_window_type conky


I get the error message below. Line 23 is the 'own_window_type conky' line. Commenting this out results in the same output as with it, just without the error message. What can be done to stop this floating point exception? Would something like reinstalling conky have any effect or is the answer definitely in .conkyrc somewhere?

Code: Select all
jack@jack-desktop ~ $ conky
Conky: /home/jack/.conkyrc: 23: config file error
Conky: desktop window (12000be) is subwindow of root window (15d)
Conky: window type - normal
Conky: drawing to created window (0x4400001)
Conky: drawing to double buffer
/usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
Floating point exception
jack@jack-desktop ~ $
Jack :)
ShakeyJake
Level 1
Level 1
 
Posts: 35
Joined: Fri Feb 26, 2010 7:35 am

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 3 guests