I am having trouble with ${scroll} in conky.
My python weather script produces this line.
Code:
${scroll 76 1 ${color}The Flood Warning is cancelled for ${color0}|${color} the little Kanawha river at Elizabeth. ${color0}|${color}* At 1:00 am Thursday the stage was 35.7 feet. ${color0}|${color}* Fell below flood stage at 10:56 PM Wednesday. ${color0}|${color}* Flood stage is 36.0 feet. ${color0}|${color}* Forecast...the river will continue to fall to 22.2 feet by Friday morning. ${color0}|${color}* A crest near feet compares to a previous crest of 36.4 feet on February 24 ${color0}|${color} 2003. ${color0}|}
But it shows up as a blank line in conky.
Does anyone know why It is not working.
This is the .conkyrc that is being used.
Code:
# conky configuration
# set to yes if you want Conky to be forked in the background
background no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Monospace:size=10
# Text alpha when using Xft
#xftalpha 0.8
# 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
# Create own window instead of using desktop (required in nautilus)
#own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 930 0
maximum_width 923
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
#stippled_borders 8
# border margins
#border_inner_margin 4
# border width
border_width 1
# own window options
own_window yes
own_window_transparent yes
own_window_class Conky
own_window_type desktop
# 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 628 ### left &right
gap_y 31 ### up & down
# 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
# Default colors and also border colors
default_color CC9900
default_shade_color 8B0000
default_outline_color CC9900
# colours
color0 EE7600
color1 8B0000
text_buffer_size 5000 # larger templates require this value to increase.
lua_load ~/bin/draw_conky_bg_leakfix.lua
lua_draw_hook_pre draw_bg
TEXT
${execpi 150 cat /home/______/bin/Wunderground_Conky/log/Wunderground_Weather.txt}
This is the full output of my weather script.
Code:
${color}2011-11-24 ${color0}|${color} 12:53:00 AM EST${goto 415}${color}${time %r}${alignr}${color0}Using Backup W&I ${color}2011-12-28 ${color0}|${color} 01:54:55 PM EST
${voffset -3}${color0}$hr
${color0}| ${color}Today (Thursday)${goto 310}${color0}| ${color}Tommorow (Friday)${goto 620}${color0}| ${color}Sunday${goto 930}${color0}|
${color0}| ${color}Clear${goto 310}${color0}| ${color}Partly Cloudy${goto 620}${color0}| ${color}Rain Showers${goto 930}${color0}|
${color0}| ${color}33.00°F${color0}|${color} 0.56°C${color0}|${color}273.71 K${goto 310}${color0}| ${color0}High Temp: ${color}61.00°F${color0}|${color}16.11°C${color0}|${color}289.26 K${goto 620}${color0}| ${color0}High Temp: ${color}54.00°F${color0}|${color}12.22°C${color0}|${color}285.37 K${goto 930}${color0}|
${color0}| Windchill: ${color} N/A°F${color0}|${color} N/A°C${color0}|${color} N/A K${goto 310}${color0}| ${color0}Low Temp: ${color}40.00°F${color0}|${color} 4.44°C${color0}|${color}277.59 K${goto 620}${color0}| ${color0}Low Temp: ${color}36.00°F${color0}|${color} 2.22°C${color0}|${color}275.37 K${goto 930}${color0}|
${color0}| Dew point: ${color}32.00°F${color0}|${color} 0.00°C${color0}|${color}273.15 K${goto 310}${color0}| ${color0}Rain/Snow Chance: ${color}0%${color0}/${color}36%${goto 620}${color0}| ${color0}Rain/Snow Chance: ${color}70%${color0}/${color}18%${goto 930}${color0}|
${color0}| High Temp: ${color}56.00°F${color0}|${color}13.33°C${color0}|${color}286.48 K${goto 310}${color0}| ${color}2011-11-25 ${color0}|${color} 10:00:21 PM EST${goto 620}${color0}| ${color}2011-11-27 ${color0}|${color} 07:00:21 PM EST${goto 930}${color0}|
${color0}| Low Temp: ${color}34.00°F${color0}|${color} 1.11°C${color0}|${color}274.26 K${goto 310}${color0}| ${voffset -8}${color0}____________________________________${voffset 8}${goto 620}${color0}| ${voffset -8}${color0}____________________________________${voffset 8}${goto 930}${color0}|
${color0}| Wind: ${color}North (0) at 0(0) mph${goto 310}${color0}| ${color}Saturday${goto 620}${color0}| ${color}Monday${goto 930}${color0}|
${color0}| Bar: ${color}1026 mbar (-)${goto 310}${color0}| ${color}Partly Cloudy${goto 620}${color0}| ${color}Chance Of Rain${goto 930}${color0}|
${color0}| Humidity: ${color}96%${goto 310}${color0}| ${color0}High Temp: ${color}63.00°F${color0}|${color}17.22°C${color0}|${color}290.37 K${goto 620}${color0}| ${color0}High Temp: ${color}47.00°F${color0}|${color} 8.33°C${color0}|${color}281.48 K${goto 930}${color0}|
${color0}| Visibility: ${color}5.0 mi${goto 310}${color0}| ${color0}Low Temp: ${color}43.00°F${color0}|${color} 6.11°C${color0}|${color}279.26 K${goto 620}${color0}| ${color0}Low Temp: ${color}34.00°F${color0}|${color} 1.11°C${color0}|${color}274.26 K${goto 930}${color0}|
${color0}| Rain/Snow Chance: ${color}0%${color0}/${color}17%${goto 310}${color0}| ${color0}Rain/Snow Chance: ${color}10%${color0}/${color}11%${goto 620}${color0}| ${color0}Rain/Snow Chance: ${color}50%${color0}/${color}32%${goto 930}${color0}|
${color0}| Total Precip: ${color}0.00 in (0.0 mm)${goto 310}${color0}| ${color}2011-11-26 ${color0}|${color} 07:00:21 PM EST${goto 620}${color0}| ${color}2011-11-28 ${color0}|${color} 07:00:21 PM EST${goto 930}${color0}|
${color0}| Sun Rise/Sun Set: ${color}7:19 AM${color0}/${color}5:05 PM${goto 310}${color0}| ${voffset -8}${color0}___________________________________________________________________________${voffset 8}${color}${goto 930}${color0}|
${color0}| Moon Phase: ${color}1%${goto 310}${color0}| ${scroll 76 1 ${color}The Flood Warning is cancelled for ${color0}|${color} the little Kanawha river at Elizabeth. ${color0}|${color}* At 1:00 am Thursday the stage was 35.7 feet. ${color0}|${color}* Fell below flood stage at 10:56 PM Wednesday. ${color0}|${color}* Flood stage is 36.0 feet. ${color0}|${color}* Forecast...the river will continue to fall to 22.2 feet by Friday morning. ${color0}|${color}* A crest near feet compares to a previous crest of 36.4 feet on February 24 ${color0}|${color} 2003. ${color0}|}${color}${goto 930}${color0}|
${color0}| ${color}2011-11-24 ${color0}|${color} 10:00:21 PM EST${goto 310}${color0}| ${color}Station ID${color0}| ${color}City Name${color}${goto 930}${color0}|
Bookmarks