Originally Posted by
kaivalagi
The "Playback position not available" is a known issue, it happens when the script is half way through determining all the details for a song, and the song changes. I am not sure why the "SU: not found" error is occuring. I assume you are getting conky output for your songs?
If conky is started in a session instead, you wont get bombarded with these error messages...as there is no originating terminal window for the script.
I could remove the error messages altogether, but in doing so will also remove the messages that need to be displayed if there is a real problem.
At some point in the week I'll have a look and see what I can do...
Eh, leave the error. I'll just reboot and that will fix that part.
I'm not sure why I have the sh:su error either. This is my conkyrc and the error I'm getting. I've posted that I do have an error with your gcal as well.
Code:
anxiousdog@ubuntu1:~$ killall conky
anxiousdog@ubuntu1:~$ conky &
[1] 26979
anxiousdog@ubuntu1:~$ Conky: desktop window (1c000b1) is subwindow of root window (1a6)
Conky: window type - override
Conky: drawing to created window (0x2c00001)
Conky: drawing to double buffer
ERROR: GoogleCalendarEngine Initialisation:Unexpected error:'root'
sh: Su: not found
Code:
# conky configuration
# edited by Mark Buck (Kaivalagi) <m_buck@hotmail.com>
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# 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 300 0
maximum_width 300
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# 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 10
gap_y 45
# 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 right
# colours
color1 white
# pink
color2 ff3399
# pink again
color3 ff3399
# blue
color4 9dd7ff
# red
color5 CC0000
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${voffset 5}${font Impact:size=55}${time %I:%M}$font
${voffset -70}${font Impact:size=14}${color1}$alignr${time %A}
$alignr${time %B %d}
$alignr${time %Y}$font
${execpi 1800 conkyForecast --location=UKXX0103 --template=/usr/share/conkyforecast/example/conkyForecast.template --imperial}
${color0}${hr 1}$color
${font Awesome 80s,:size=30}${color1}g${font Disko:size=30}${color2}What's Doin'
${color1}${font Print Bold:size=14}${execi 600 conkyGoogleCalendar --username=username --password=password --daysahead=8 --limit=5 --requestCalendarNames="kids"}
${color1}${font Mono:size=8}${pre_exec cal -3 | cut -c23-64 | sed 's/^/ /' }
${voffset -78}${color1}${font Bitstream Vera Sans Mono:size=8}${execpi 60 DKV=`date +%_d`; cal | sed '1d' | sed '1e' | sed '/./!d' | sed 's/^/ /' | sed 's/$/ /' | fold -w 24 | sed -n '/^.\{21\}/p' | sed /" $DKV "/s/" $DKV "/" "'${color2}'"$DKV"'${color1}'" "/}$font$color
${color0}${hr 1}$color
${font Rock Star 2.0,:size=30}${color1}o${font Disko:size=30}${color2}Now Playin'
${voffset -15}${font Print Bold:size=14}${color2} Artist: ${color1}${exec conkyRhythmbox --datatype=AR}${font}
${font Print Bold:size=14}${color2} Title: ${color1}${exec conkyRhythmbox --datatype=TI}${font}
${font Print Bold:size=14}${color2} Duration: ${color1}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE}${font}
Bookmarks