Hello,
I did exit openbox en saw three error - messages.
1) :command not foundox/autostart.sh: line 1 :
:command not foundox/autostart.sh: line 2 :
:command not foundox/autostart.sh: line 3 :
:command not foundox/autostart.sh: line 4 :
My autostart.sh looks like this :
Code:
nitrogen --restore &
(sleep 5 && pypanel) &
(sleep 5 && netwmpager) &
(sleep 5 && conky)
2) Openbox message : Unable to find a valid menu file "var/lib/openbox/debian-menu.xml"
3) Conky : use-spacer schould have a argument of left, right or none. "no" seems to be "false" so defaulting to none.
My .conkyrc looks like this :
Code:
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
#position
gap_x 0
gap_y 0
alignment top_left
#behaviour
update_interval 1
#colour
default_color FFFFFF
own_window_colour 636363
#font
use_xft yes
xftfont Sans:size=10
#to prevent window from moving
minimum_size 1280 0
use_spacer no
TEXT
${alignc}${voffset -1}${color FFFFFF}Date: ${color 86B7FD}${time %a %b %d}${color FFFFFF} | Uptime: ${color 86B7FD}${font}${uptime_short}${color FFFFFF} | Weather: ${color 86B7FD}${execi 300 /home/primo/.conky/weather.sh "NAM|CA|ON|TORONTO"}
sh"" root/conky/weather.sh /bin/sh^M: Bad intepreter: no such file or directory.
weather.sh looks like this :
Code:
#!/bin/sh
#AccuWeather (r) RSS weather tool for conky
#
#USAGE: weather.sh <locationcode>
#
METRIC=1 #Should be 0 or 1; 0 for F, 1 for C
if [ -z $1 ]; then
echo
echo "USAGE: weather.sh <locationcode>"
echo
exit 0;
fi
curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'
Who can help me to get rid of al this error-messages ?
Roelof