2 Conky Problems-Suddenly scrunched formatting and IP set to 127.0.0.1

Advertisement

2 Conky Problems-Suddenly scrunched formatting and IP set to 127.0.0.1
I have 2 problems with conky, I'm not sure if they are related. First, conky started displaying all scrunched up with much of the formatting wrong. I did not make any configuration changes at the time. I'm sure that I can go through my conkyrc and adjust everything so that it's looking correct again, but I'd rather not unless I have no other choice.
Second, a while after starting conky, the IP changes from my correct IP, to 127.0.0.1.
I've exhausted my google-fu and I don't know what is wrong. Thanks ahead of time for any help!
Screenshot:
Conkyrc:
# Conky configuration
# Configuration Section #
# Boolean value, if true, Conky will be forked to background when started.
background no
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont sans:size=7:bold
update_interval .75
total_run_times 0
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 1900
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 8
# The next line appears to be depricated
# border_margin 4
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
default_bar_size 155 10
alignment top_left
gap_x 0 #gap from left
gap_y 0 #gap from top
no_buffers yes
uppercase no
cpu_avg_samples 3
net_avg_samples 3
override_utf8_locale no
text_buffer_size 512
# Main Layout Section #
TEXT
# Arch Image
${image /home/tim/Pictures/Arch.png -s 50x47 -f 5000}
# Top Info Line#
${voffset -12}${offset 30}Arch Linux
${offset 36}Uptime: $uptime
${offset 42}$nodename - $sysname $kernel on $machine
${offset 48}Pacman: ${execpi 1000 /home/tim/Scripts/pacupdate.pl} #This is the pacman update line. This requires a cron job run regularly. Currently a copy can be found in /home/tim/Scripts/pacmansync.sh. The Cron copy in at /etc/cron.hourly/pacmansynch.sh
# Main Bar: CPU
${voffset -5}${font sans:size=15}${color lightgrey}C${font sans:size=11:bold}PU${voffset 3}${hr 2}${font}
$alignr${voffset -20}AMD Phenom II
${voffset 5}CPU 1:
CPU 2:
CPU 3:
${alignr}${voffset -48}${offset -150}${cpu cpu1}%
${alignr}${offset -150}${cpu cpu2}%
${alignr}${offset -150}${cpu cpu3}%
${alignr}${voffset -48}${offset -190}${freq 1}MHz
${alignr}${offset -190}${freq 2}MHz
${alignr}${offset -190}${freq 3}MHz
${alignr}${voffset -24}${offset -80}${color #cc2222}Total=${cpu cpu0}%
${alignr}${voffset -12}${color}Temp=${hwmon temp 2}C
${voffset -5}${cpugraph cpu0 000000 cc2222}
${color cc2222}${voffset -7}${cpubar cpu1 7,90}${offset 5}${cpubar cpu2 7,90}${offset 5}${cpubar cpu3 7,90}
# Main Bar: Memory
${font sans:size=15}${color lightgrey}M${font sans:size=11:bold}EMORY${voffset 3}${hr 2}${font}
${alignr}${voffset -20}$memperc% - $mem/$memmax
# RAM Usage Bar
${voffset 7}${color lightgrey}RAM:
${voffset -12}${offset 35}${color DarkSlateGray}${membar 10,245}
# SWAP Usage Bar
${color lightgrey}Swap:
${voffset -12}${offset 35}${color DarkSlateGray}${swapbar 10,40}
# Main Bar: Processes
${font sans:size=15}${color lightgrey}P${font sans:size=11:bold}ROCESSES${voffset 3}${hr 2}${font}
${alignr}${voffset -20}${color lightgrey}$color$running_processes ${color grey}of $color$processes ${color grey}processes running
${voffset 5}${color}Name
${alignr}${voffset -12}${offset -100}PID
${alignr}${voffset -12}${offset -50}CPU %
${alignr}${voffset -12}MEM %
# Process List: Top CPU
${color orange}CPU usage${color}
# Line 1
${color FFBF40} ${top name 1}
${alignr}${voffset -12}${offset -100}${top pid 1}
${alignr}${voffset -12}${offset -50}${top cpu 1}%
${alignr}${voffset -12}${top mem 1}%
# Line 2
${color FFD580} ${top name 2}
${alignr}${voffset -12}${offset -100}${top pid 2}
${alignr}${voffset -12}${offset -50}${top cpu 2}%
${alignr}${voffset -12}${top mem 2}%
# Line 3
${color FFEABF} ${top name 3}
${alignr}${voffset -12}${offset -100}${top pid 3}
${alignr}${voffset -12}${offset -50}${top cpu 3}%
${alignr}${voffset -12}${top mem 3}%
# Line 4
${color FFFFFF} ${top name 4}
${alignr}${voffset -12}${offset -100}${top pid 4}
${alignr}${voffset -12}${offset -50}${top cpu 4}%
${alignr}${voffset -12}${top mem 4}%
# Process List: Top Memory
${color orange}Mem usage${color}
# Line 1
${color FFBF40} ${top_mem name 1}
${alignr}${voffset -12}${offset -100}${top_mem pid 1}
${alignr}${voffset -12}${offset -50}${top_mem cpu 1}%
${alignr}${voffset -12}${top_mem mem 1}%
# Line 2
${color FFD580} ${top_mem name 2}
${alignr}${voffset -12}${offset -100}${top_mem pid 2}
${alignr}${voffset -12}${offset -50}${top_mem cpu 2}%
${alignr}${voffset -12}${top_mem mem 2}%
# Line 3
${color FFEABF} ${top_mem name 3}
${alignr}${voffset -12}${offset -100}${top_mem pid 3}
${alignr}${voffset -12}${offset -50}${top_mem cpu 3}%
${alignr}${voffset -12}${top_mem mem 3}%
# Line 4
${color FFFFFF} ${top_mem name 4}
${alignr}${voffset -12}${offset -100}${top_mem pid 4}
${alignr}${voffset -12}${offset -50}${top_mem cpu 4}%
${alignr}${voffset -12}${top_mem mem 4}%
# Main Bar: Disks
${font sans:size=15}${color lightgrey}D${font sans:size=11:bold}ISKS${voffset 3}${hr 2}${font}
#List of Disks w/ usage bars
${color Red}Root:${color white}${fs_free /} f/o ${fs_size /}
${voffset -12}${offset 125}${color DarkRed}${fs_bar 10,5 /}
${color Orange}home:${color white}${fs_free /ubuntu} f/o ${fs_size /ubuntu}
${voffset -12}${offset 125}${color DarkOrange}${fs_bar 10,27 /ubuntu}
${color LightSlateGray}tc1:${color white}${fs_free /media/truecrypt1} f/o ${fs_size /media/truecrypt1}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,80 /media/truecrypt1}
${color LightSlateGray}tc2:${color white}${fs_free /media/truecrypt2} f/o ${fs_size /media/truecrypt2}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,80 /media/truecrypt2}
${color LightSlateGray}tc3:${color white}${fs_free /media/truecrypt3} f/o ${fs_size /media/truecrypt3}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,80 /media/truecrypt3}
${color LightSlateGray}tc4:${color white}${fs_free /media/truecrypt4} f/o ${fs_size /media/truecrypt4}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,155 /media/truecrypt4}
${color LightSlateGray}tc5:${color white}${fs_free /media/truecrypt5} f/o ${fs_size /media/truecrypt5}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,155 /media/truecrypt5}
${color LightSlateGray}tc6:${color white}${fs_free /media/truecrypt6} f/o ${fs_size /media/truecrypt6}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,3 /media/truecrypt6}
${color LightSlateGray}tc7:${color white}${fs_free /media/truecrypt7} f/o ${fs_size /media/truecrypt7}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,135 /media/truecrypt7}
${color LightSlateGray}tc8:${color white}${fs_free /media/truecrypt8} f/o ${fs_size /media/truecrypr8}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,135 /media/truecrypt8}
${if_mounted /media/truecrypt9}${color LightSlateGray}tc9:${color white}${fs_free /media/truecrypt9} f/o ${fs_size /media/truecrypt9}
${voffset -12}${offset 125}${color DarkSlateGray}${fs_bar 10,135 /media/truecrypt9}${voffset 12}${endif}${voffset -12}
${color LightSlateGray}Dropbox:${color white}${execi 60 ~/Scripts/dropbox_size.sh} Used of 6G
${voffset -12}${offset 125}${color SlateGray}${execibar 60 ~/Scripts/dropbox_size_p.sh}
# Main Bar: Networking
${font sans:size=15}${color lightgrey}N${font sans:size=11:bold}ETWORK${voffset 3}${hr 2}${font}
${alignr}${voffset -20}${color}${font} In:${tcp_portmon 1 32767 count} Out:${tcp_portmon 32768 61000 count} ALL: ${tcp_portmon 1 65535 count}
# Speed Graphs
${voffset 5}$alignc${addr eth0}
${color DarkGreen}${downspeedgraph eth0 30,140 006400 006400 3400}${alignr}${color DarkRed}${upspeedgraph eth0 30,140 8B0000 8B0000 175}
${alignr}${voffset -3}${offset -140}${color DarkGreen} ${downspeed eth0}/s
${voffset -12}${offset 140}${color DarkRed} ${upspeed eth0}/s
${voffset -12}${color DarkGreen}Dn${color LightGray} ${alignr}${color DarkRed}Up${color}
# Main Bar: Weather
# overlandpark=USKS0450
# Find new locations with the following Command
${font sans:size=15}${color lightgrey}W${font sans:size=11:bold}EATHER${voffset 3}${hr 2}${font}
Location: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=CN}
Conditions: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=CC}
# Now Conditions
${color SkyBlue}${font ConkyWeather:size=36}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=WF}${font}${color}
# Column 1
${voffset -40}${offset 50}Temp: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=HT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Bar: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=BR -i}
${offset 50}Bar: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=BD -i}
# Column 2
${voffset -37}${offset 125}Wind: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=WS -i}${color}
${offset 125}From the ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=WD -i}.${color}
${offset 125}Gust: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=WG -i}${color}
# Column 3
${voffset -37}${offset 200}UV: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=UI}
${offset 200}Rise: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SR}
${offset 200}Set: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SS}
${voffset 10}Tomorrow
${color SkyBlue}${font ConkyWeather:size=36}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=WF}${font}${color}
# Column 1
${voffset -40}${offset 50}High: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=HT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Low: ${color LightSkyBlue}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=LT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Rain: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=PC}
# Column 2
${voffset -37}${offset 125}Wind: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=WS -i}${color}
${offset 125}From the ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=WD -i}.${color}
${offset 125}Gust: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=WG -i}${color}
# Column 3
${voffset -37}${offset 200}UV: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=1 --endday=1 --datatype=UI}
${offset 200}Rise: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SR}
${offset 200}Set: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SS}
${voffset 10}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --spaces=5 --datatype=DW}
${color SkyBlue}${font ConkyWeather:size=36}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=WF}${font}${color}
# Column 1
${voffset -40}${offset 50}High: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=HT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Low: ${color LightSkyBlue}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=LT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Rain: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=PC}
# Column 2
${voffset -37}${offset 125}Wind: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=WS -i}${color}
${offset 125}From the ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=WD -i}.${color}
${offset 125}Gust: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=WG -i}${color}
# Column 3
${voffset -37}${offset 200}UV: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=2 --endday=2 --datatype=UI}
${offset 200}Rise: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SR}
${offset 200}Set: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SS}
${voffset 10}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --spaces=5 --datatype=DW}
${color SkyBlue}${font ConkyWeather:size=36}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=WF}${font}${color}
# Column 1
${voffset -40}${offset 50}High: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=HT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Low: ${color LightSkyBlue}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=LT -iux}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}F${color}
${offset 50}Rain: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=PC}
# Column 2
${voffset -37}${offset 125}Wind: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=WS -i}${color}
${offset 125}From the ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=WD -i}.${color}
${offset 125}Gust: ${color orange}${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=WG -i}${color}
# Column 3
${voffset -37}${offset 200}UV: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --startday=3 --endday=3 --datatype=UI}
${offset 200}Rise: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SR}
${offset 200}Set: ${execi 3600 conkyForecast -C ~/Scripts/Files/conkyForecast.config --datatype=SS}
# Conky Cant Render Much More than This.
tmp1 ${hwmon temp 1}
CPU ${hwmon temp 2}
tmp2 ${hwmon temp 3}
Repaly
Gusar wrote:The scrunching is a change in freetype. It's intended. So you'll have to readjust all voffsets. No idea about the IP.
Thanks, I spent some time reformatting everything. It's good to know that this wasn't a bug
Read More: The other 5 answers