Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-25-2015, 11:21 AM
|
#1
|
Member
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161
Rep:
|
Conky generates "sh: 1: skb: not found" on terminal (a lot!)
I have a conky I love but it has for a long time been generating an error I do not understand, can anyone point me in the right direction? If I start my conky instance form terminal it gives:-
Code:
conky: no process found
Conky: desktop window (160001c) is subwindow of root window (1a6)
Conky: window type - panel
Conky: drawing to created window (0x5600002)
Conky: drawing to double buffer
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
sh: 1: skb: not found
....endlessly for as long as it runs. It seems to be spitting it out around once a second! It will eventually stop altogether after a few hours and the GUI promt to submit an error report pops up(or rather did until I checked the box to ignore future errors of this type).
I have googled for hours and found nothing that appears to be relevant, have absolutely no idea how to fix this. I am currently running ubuntu 14.10 but I have had this exact issue with this particular conky since 12.04 and possibly before.
|
|
|
03-26-2015, 06:05 AM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Please show us your conky configuration file.
|
|
|
03-26-2015, 06:36 AM
|
#3
|
Member
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161
Original Poster
Rep:
|
The rc file looks like:-
Code:
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
#############################
# - Window specifications - #
#############################
own_window yes
own_window_type panel
own_window_transparent yes
#own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
#own_window_colour gray
own_window_class Conky
own_window_title Chronograph
gap_x 10
gap_y 0
alignment tr
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 280 300
maximum_width 280
################ Graphics settings ######################
use_xft yes
xftfont Ubuntu:normal:size=8
override_utf8_locale yes
text_buffer_size 2048
draw_shades no
#default_shade_color black
#default_bar_size 40 8
default_outline_color black
own_window_argb_visual yes
default_color FFDEAD #NavajoWhite
color0 8FBC8F # DarkSeaGreen
color1 C2CCFF # LightSlateGray
color2 3300CC # Mid Blue
color3 7FFF00 # Chartreuse
color4 FFA07A # LightSalmon
color5 c0c0c0 # Silver
color6 00BFFF # DeepSkyBlue
color7 00FFFF # Cyan
color8 FFFF00 # Yellow
color9 330088 # Dark Blue
xftalpha 1
### LUA Settings ###########################################################
lua_load ~/.conky/.scripts_orange/main.lua
lua_draw_hook_pre conky_widgets
lua_load ~/.conky/.scripts_orange/bargraph.lua
lua_draw_hook_post main_bars
TEXT
${voffset 150}
${goto 32}${font :bold:pixelsize=11}${time %a, %d %b %Y}${font}
##### MAIL ########
${voffset -205}${goto 240}${color5}${font Martin Vogel's Symbols:size=26}k
# ${voffset -35}${goto 230}${font :bold:size=8}GMX${font}
# ${goto 230}${execpi 300 python ~/.conky/.scripts_orange/gmx.py}
${voffset -25}${goto 230}${font :bold:size=8}GMAIL${font}
${goto 230}${execpi 300 python ~/.conky/.scripts_orange/gmail.py}
# ${goto 230}${font :bold:size=8}rambler${font}
# ${goto 230}${execpi 300 python ~/.conky/.scripts_orange/rambler.py}${font}${color}
################ Weather ######################
${voffset 30}${color2}Weather by weather.noaa.gov ${hr}${color}
${if_existing /proc/net/route eth0}
${voffset -10}${goto 32}${font Ubuntu:size=16}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL temperature 30}°C ${font}${font Ubuntu:normal:size=8}${goto 90}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL cloud_cover 30}${goto 155}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL weather 30}${font}
${goto 32}PRESSURE:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL pressure 30}hPa
${goto 32}HUMIDITY:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL humidity 30} %
${goto 32}WIND:${alignr}${font Ubuntu:normal:size=8}from the ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir 30} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir_DEG 30} degrees at ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_speed 30}KPH${font}
${goto 32}${color2}${font Ubuntu:normal:size=8}${color}LAST UPDATE:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL last_update 30} UTC
${else}${if_existing /proc/net/route wlan0}
${voffset -10}${goto 32}${font Ubuntu:size=16}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL temperature 30}°C ${font}${font Ubuntu:normal:size=8}${goto 90}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL cloud_cover 30}${goto 155}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL weather 30}${font}
${goto 32}PRESSURE:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL pressure 30}hPa
${goto 32}HUMIDITY:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL humidity 30} %
${goto 32}WIND:${alignr}${font Ubuntu:normal:size=8}from the ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir 30} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir_DEG 30} degrees at ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_speed 30}KPH${font}
${goto 32}${color2}${font Ubuntu:normal:size=8}${color}LAST UPDATE:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL last_update 30} UTC
${else}${font :bold:size=8}${color red}${alignc}${blink Network Unavailable!}${color}
${goto 12}${font Ubuntu:normal:size=14}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL temperature 900}°C${font}${font Ubuntu:normal:size=8}${goto 90}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL cloud_cover 900}${goto 155}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL weather 900}
${goto 12}PRESSURE:${goto 165}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL pressure 900}hPa
${goto 12}WIND:${goto 50}from the ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir 900} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_dir_DEG 900} degrees at ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL wind_speed 900}KPH
${goto 12}HUMIDITY:${goto 165}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL humidity 900} %
${goto 12}LAST UPDATE:${goto 100}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGLL last_update 300}${voffset 5}${endif}${endif}
######### System ##########
${voffset -25}${color2}SYSTEM ${hr} ${color}
${voffset 0}${font Poky :size=12}p${font :size=8}${goto 32}${voffset -6}CPU1${alignr} ${cpu cpu1}%
${font :size=8}${goto 32}${voffset 3}CPU2${alignr} ${cpu cpu2}%
${font :size=8}${goto 32}${voffset 3}CPU3${alignr} ${cpu cpu3}%
${font :size=8}${goto 32}${voffset 3}CPU4${alignr} ${cpu cpu4}%
${voffset 3}${goto 32}${font :size=8}MEM ${alignr} $memperc%
${voffset 3}${goto 32}${font :size=8}SWAP ${alignr} $swapperc%
${voffset 3}${goto 32}${font :size=10}RELEASE:${alignr}${execi 2600 cat /etc/issue.net} $machine
${voffset 0}${goto 32}${font :size=10}KERNEL: ${alignr}$kernel
${voffset 0}${goto 32}${font :size=10}HOST:${alignr}$nodename
${voffset 0}${goto 32}${font :size=10}UPTIME: ${alignr}$uptime
# ${goto 32}CPU temperature:${alignr}${hwmon temp 2} °C
# ${goto 32}sda temperature:${alignr}${exec hddtemp /dev/sda -n --unit=C} °C
# ${goto 32}sdb temperature:${alignr}${exec hddtemp /dev/sdb -n --unit=C} °C
########## HDD ###########
${voffset -20}${color2}${font}HDD ${hr} ${color}
${goto 32}${voffset 0}${font :size=8}root ${goto 50} ${alignr} ${fs_used /}
${goto 32}${voffset 7}${font :size=8}home ${goto 50} ${alignr} ${execi 5 /home/gregg/.scripts/conkyhome}
${goto 32}${voffset 7}${font :size=8}Work ${goto 50} ${alignr} ${execi 5 /home/gregg/.scripts/conkywork}
${goto 32}${voffset 7}${font :size=8}VM ${goto 50} ${alignr} ${execi 5 /home/gregg/.scripts/conkyvm}
${goto 32}${voffset 7}${font :size=8}Dropbox ${goto 50} ${alignr} ${execi 5 /home/gregg/.scripts/conkydropbox}
${goto 32}${voffset 7}${font :size=8}Software ${goto 50} ${alignr} ${execi 5 /home/gregg/.scripts/conkysoftware}
##### Network ########
${voffset -10}${color2}NETWORK ${color}active interface: ${gw_iface} ${color2}${hr}${color}
${if_existing /proc/net/route wlan0}
${voffset -10}${font :size=8}$alignc WIRELESS
${voffset}${font Martin Vogel's Symbols:size=20}m${font}${goto 32}${voffset -10}${font :size=8}Public IP: ${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 32}Router IP: ${gw_ip}
${goto 32}Local IP: ${addr wlan0}
${goto 32}ESSID: ${wireless_essid wlan0}
${voffset -5}${font VariShapes:size=13}q${font}${goto 32}${voffset -5}${font :size=8}Up: ${upspeed wlan0}/s
${goto 32}Sent: ${totalup wlan0}
${voffset -30}${alignr}${upspeedgraph wlan0 20,110 FF8C00 B22222 -t -l}
${voffset -5}${font VariShapes:size=13}Q${font}${goto 32}${voffset -5}${font :size=8}Down: ${downspeed wlan0}/s
${goto 32}Received: ${totaldown wlan0}
${voffset -30}${alignr}${downspeedgraph wlan0 20,110 B22222 FF8C00 -t -l}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}$alignc CABLE
${voffset}${font Martin Vogel's Symbols:size=20}m${font}${goto 32}${voffset -10}${font :size=8}Public IP: ${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 32}Router IP: ${gw_ip}
${goto 32}Local IP: ${addr eth0}
${voffset -5}${font VariShapes:size=13}q${font}${goto 32}${voffset -5}${font :size=8}Up: ${upspeed eth0}/s
${goto 32}Sent: ${totalup eth0}
${voffset -30}${alignr}${upspeedgraph eth0 20,110 FF8C00 B22222 -t -l}
${voffset -5}${font VariShapes:size=13}Q${font}${goto 32}${voffset -5}${font :size=8}Down: ${downspeed eth0}/s
${goto 32}Received: ${totaldown eth0}
${voffset -30}${alignr}${downspeedgraph eth0 20,110 B22222 FF8C00 -t -l}${font}
${else}${font :bold:size=8}${color red}${alignc}${blink Network Unavailable!}${color}${voffset 15}${endif}${endif}
##### Processes #########
${voffset -30}${color2}${font :bold:size=8}PROCESSES ${hr} ${color}
${goto 32}${font :size=10}${top name 1}${alignr -10}${top cpu 1}%
${goto 32}${font :size=10}${top name 2}${alignr -10}${top cpu 2}%
${goto 32}${font :size=10}${top name 3}${alignr -10}${top cpu 3}%
${goto 32}${font :size=10}${top name 4}${alignr -10}${top cpu 4}%
${goto 32}${font :size=10}${top name 5}${alignr -10}${top cpu 5}%
${goto 32}${font :size=10}${top name 6}${alignr -10}${top cpu 6}%
${goto 32}${font :size=10}${top name 7}${alignr -10}${top cpu 7}%
${goto 32}${font :size=10}${top name 8}${alignr -10}${top cpu 8}%
${goto 32}${font :size=10}${top name 9}${alignr -10}${top cpu 9}%
${goto 32}${font :size=10}${top name 10}${alignr -10}${top cpu 10}%
##### Memory #########
${voffset -20}${color2}${font :bold:size=8}MEMORY ${hr} ${color}
${goto 32}${font :size=10}${top_mem name 1}${alignr -10}${top_mem mem 1}%
${goto 32}${font :size=10}${top_mem name 2}${alignr -10}${top_mem mem 2}%
${goto 32}${font :size=10}${top_mem name 3}${alignr -10}${top_mem mem 3}%
${goto 32}${font :size=10}${top_mem name 4}${alignr -10}${top_mem mem 4}%
${goto 32}${font :size=10}${top_mem name 5}${alignr -10}${top_mem mem 5}%
${goto 32}${font :size=10}${top_mem name 6}${alignr -10}${top_mem mem 6}%
${goto 32}${font :size=10}${top_mem name 7}${alignr -10}${top_mem mem 7}%
${goto 32}${font :size=10}${top_mem name 8}${alignr -10}${top_mem mem 8}%
${goto 32}${font :size=10}${top_mem name 9}${alignr -10}${top_mem mem 9}%
${goto 32}${font :size=10}${top_mem name 10}${alignr -10}${top_mem mem 10}%
##### Radio Tray ########
# ${voffset 10}${color2}Radio Tray ${hr} ${color2}
# ${color2}Station:${color} ${execi 15 qdbus net.sourceforge.radiotray /net/sourceforge/radiotray net.sourceforge.radiotray.getCurrentRadio}
# ${color2}Artist & Song${color}
# ${execi 15 qdbus net.sourceforge.radiotray /net/sourceforge/radiotray getCurrentMetaData| fold -s -w35}
# ${voffset 10}
Its a mildly tweaked version of conky_orange from conky manager, there are various lua scriptys it calls which I can share also if you need them.
Screenshot:-
|
|
|
03-26-2015, 07:13 AM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Your Conky calls several scripts in your users .scripts directory. Since the error message states that the shell, not Conky, has problems to find a file sbk this is the first place I would check.
A simple
Code:
grep sbk ~/.scripts/*
should reveal which script makes that call.
|
|
1 members found this post helpful.
|
03-26-2015, 08:10 AM
|
#5
|
Member
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161
Original Poster
Rep:
|
Thanks TobiSGD, I finally feel like I'm getting somewhere now, I had no idea what the error was telling me!
So I did:-
Code:
grep skb ~/.conky/.scripts_orange/*
and that returned:-
Code:
~/.conky/.scripts_orange/main.lua:if conky_parse("${exec skb 1}") == "Rus" then textlang = "RUS" else textlang = "UK" end
So I have opened up that lua script, the offending section looks like:-
Code:
if conky_parse("${exec skb 1}") == "Rus" then textlang = "RUS" else textlang = "UK" end
local d = conky_parse("${exec xset q | grep Num |awk '{print $4\" \"$8}'}")
local i = 1
local num_on = false
local caps_on = false
colour_num = 0x000000
colour_cap = 0x000000
for word in string.gmatch(d, "%a+") do
if i == 1 and word == "on" then colour_cap = 0xc0c0c0 end
if i == 2 and word == "on" then colour_num = 0xc0c0c0 end
i = i + 1
end
I have googled for skb extensively and found little or nothing that makes any sense to me, could this be an alias the author had set on their system? If so what do you think it would likely for?? To my limited understanding this appears to be the bit of code that draws the keyboard language indicator at the top of the conky and it seems to work afaik. As a test I tried commenting that one line out and it got a bit weird, the 'UK' from the top was replaced by 'Conky is good for you' which obvs doesn't fit in the frame so is drawn across the whole of the width of my conky!!!
|
|
|
03-26-2015, 09:17 AM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Did a little research and found it: http://plhk.ru/
They don't offer an Ubuntu package, but it is trivial to install, just untar it, change to the directory and either do or just the first make and then copy the resulting binary into your path, possibly /usr/local/bin.
|
|
1 members found this post helpful.
|
03-26-2015, 10:16 AM
|
#7
|
Member
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161
Original Poster
Rep:
|
TobiSGD that is brilliant, my noisy terminal is now silent!!!
Thanks.
|
|
|
03-26-2015, 01:00 PM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Always happy to help.
|
|
|
All times are GMT -5. The time now is 05:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|