You are not logged in.
I logged out of my xfce session. Logged back in and conky did not start.
I now get this error:
xxx@xxx~]$ conky -c ~/AccuW_2/accuw.Toronto.conky
[1] 1442
bash: -c: command not found
[xxx@xxx ~]$ conky: no process foundNo changes at all were made to the computer. No software was uninstalled/reinstalled.
Here is my conky config that I've been using for months:
## killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky &
# 1e_Accuweather_USA_Images script by TeoBigusGeekus
# http://crunchbanglinux.org/forums/post/212605/
### Begin Window Settings ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
own_window_type normal #override
own_window_transparent yes
#own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
own_window_class Conky
own_window_title tedbell
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
# own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 150
#minimum_size 310 0 ## width, height
maximum_width 310 ## width, usually a good idea to equal minimum width
gap_x 10 ### left &right
gap_y 10 ### up & down
alignment top_right
#################################################### End Window Settings ###
### Font Settings ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont MonoCondensed:bold:size=10
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
draw_shades yes #no #### <<<--- To see it easier on light screens.
default_shade_color black
draw_outline yes #no #### <<<--- Amplifies text if yes
default_outline_color black
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
default_shade_color gray
default_outline_color black
default_color DCDCDC #Gainsboro
color0 ffe595 #Teo Gold
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 000000 #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan #48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red #A52A2A #DarkRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer right
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
############################################## End Miscellaneous Section ###
### LUA Settings ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.0
#
####################################################### End LUA Settings ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1
## ${image ~/Conky/images/red_1.png -p 0,15 -s 67x40}
## ${image ~/Conky/images/red_1.png -p 165,52 -s 125x75}
## $HOME/AccuW_2/Toronto/acc_int_images
default_bar_size 100 12
# stuff after 'TEXT' will be formatted on screen
TEXT
${color0}${time %A %d %b %Y} ${color1}--${color0} Scarborough, ON ${color1}--${color0} ${time %T}${color}\
${texeci 500 bash $HOME/AccuW_2/Toronto/acc_int_images}\
${image $HOME/AccuW_2/Toronto/cc.png -p 220,25 -s 67x40}
${execpi 600 sed -n '1p' $HOME/AccuW_2/Toronto/messages}
${font Instruction:size=20} Now ${execpi 600 sed -n '29p' $HOME/AccuW_2/Toronto/curr_cond}${goto 120} FL ${execpi 600 sed -n '30p' $HOME/AccuW_2/Toronto/curr_cond}${font}
${color0}Wind: ${color}${execpi 600 sed -n '31p' $HOME/AccuW_2/Toronto/curr_cond} ${execpi 600 sed -n '32p' $HOME/AccuW_2/Toronto/curr_cond}\
${color0}Today Tonight${color}
${color0}Hum: ${color}${execpi 600 sed -n '33p' $HOME/AccuW_2/Toronto/curr_cond}\
${font Toronto Subway:size=14}${goto 170}${color6}${execpi 600 sed -n '26p' $HOME/AccuW_2/Toronto/first_days}${color}\
${goto 210}${color9}${execpi 600 sed -n '27p' $HOME/AccuW_2/Toronto/first_days}${color}\
${goto 245}${color6}${execpi 600 sed -n '32p' $HOME/AccuW_2/Toronto/first_days}${color}\
${goto 290}${color9}${execpi 600 sed -n '31p' $HOME/AccuW_2/Toronto/first_days}${color} ${font}
${color0}Bar: ${color}${execpi 600 sed -n '34p' $HOME/AccuW_2/Toronto/curr_cond}\
${image $HOME/AccuW_2/Toronto/tod.png -p 160,100 -s 67x40}\
${image $HOME/AccuW_2/Toronto/ton.png -p 235,100 -s 67x40}
${color0}Cloud: ${color}${execpi 600 sed -n '35p' $HOME/AccuW_2/Toronto/curr_cond}
${color0}UVI: ${color}${execpi 600 sed -n '36p' $HOME/AccuW_2/Toronto/curr_cond}
${color0}Vis: ${color}${execpi 600 sed -n '38p' $HOME/AccuW_2/Toronto/curr_cond}
${color0}DP: ${color}${execpi 600 sed -n '37p' $HOME/AccuW_2/Toronto/curr_cond}°
${color0}Sunrise: ${color}${execpi 600 sed -n '39p' $HOME/AccuW_2/Toronto/curr_cond}\
${goto 160}${color0} Sunset: ${color}${execpi 600 sed -n '40p' $HOME/AccuW_2/Toronto/curr_cond}
${color0}Moonrise: ${color}${execpi 600 sed -n '41p' $HOME/AccuW_2/Toronto/curr_cond}\
${goto 160}${color0}Moonset: ${color}${execpi 600 sed -n '42p' $HOME/AccuW_2/Toronto/curr_cond}
${color0}9 DAY FORECAST ${color1}${hr}${color}
${color1}${execpi 600 sed -n '5p' $HOME/AccuW_2/Toronto/first_days}\
${execpi 600 sed -n '10p' $HOME/AccuW_2/Toronto/first_days}\
${execpi 600 sed -n '15p' $HOME/AccuW_2/Toronto/first_days}${color}\
${image $HOME/AccuW_2/Toronto/6.png -p 5,232 -s 67x40}\
${image $HOME/AccuW_2/Toronto/11.png -p 120,232 -s 67x40}\
${image $HOME/AccuW_2/Toronto/16.png -p 220,232 -s 67x40}
${font Toronto Subway:size=11}
${color6}${execpi 600 sed -n '8p' $HOME/AccuW_2/Toronto/first_days}°\
${color6}${goto 180}${execpi 600 sed -n '13p' $HOME/AccuW_2/Toronto/first_days}°\
${color6}${goto 283}${execpi 600 sed -n '18p' $HOME/AccuW_2/Toronto/first_days}°
${color9}${execpi 600 sed -n '9p' $HOME/AccuW_2/Toronto/first_days}°\
${color9}${goto 180}${execpi 600 sed -n '14p' $HOME/AccuW_2/Toronto/first_days}°\
${color9}${goto 283}${execpi 600 sed -n '19p' $HOME/AccuW_2/Toronto/first_days}° ${font}${color}
${color1} ${execpi 600 sed -n '20p' $HOME/AccuW_2/Toronto/first_days}\
${execpi 600 sed -n '1p' $HOME/AccuW_2/Toronto/last_days}\
${execpi 600 sed -n '6p' $HOME/AccuW_2/Toronto/last_days}${color}\
${image $HOME/AccuW_2/Toronto/21.png -p 5,310 -s 67x40}\
${image $HOME/AccuW_2/Toronto/last_2.png -p 120,310 -s 67x40}\
${image $HOME/AccuW_2/Toronto/last_7.png -p 223,310 -s 67x40}
${font Toronto Subway:size=11}
${color6}${execpi 600 sed -n '23p' $HOME/AccuW_2/Toronto/first_days}°\
${color6}${goto 180}${execpi 600 sed -n '4p' $HOME/AccuW_2/Toronto/last_days}°\
${color6}${goto 283}${execpi 600 sed -n '9p' $HOME/AccuW_2/Toronto/last_days}°
${color9}${execpi 600 sed -n '24p' $HOME/AccuW_2/Toronto/first_days}°\
${color9}${goto 180}${execpi 600 sed -n '5p' $HOME/AccuW_2/Toronto/last_days}°\
${color9}${goto 283}${execpi 600 sed -n '10p' $HOME/AccuW_2/Toronto/last_days}° ${font}
${color1} ${execpi 600 sed -n '11p' $HOME/AccuW_2/Toronto/last_days}\
${execpi 600 sed -n '16p' $HOME/AccuW_2/Toronto/last_days}\
${execpi 600 sed -n '21p' $HOME/AccuW_2/Toronto/last_days}${color}\
${image $HOME/AccuW_2/Toronto/last_12.png -p 5,385 -s 67x40}\
${image $HOME/AccuW_2/Toronto/last_17.png -p 120,385 -s 67x40}\
${image $HOME/AccuW_2/Toronto/last_22.png -p 225,385 -s 67x40}
${font Toronto Subway:size=11}
${color6}${execpi 600 sed -n '14p' $HOME/AccuW_2/Toronto/last_days}°\
${color6}${goto 180}${execpi 600 sed -n '19p' $HOME/AccuW_2/Toronto/last_days}°\
${color6}${goto 283}${execpi 600 sed -n '24p' $HOME/AccuW_2/Toronto/last_days}°
${color9}${execpi 600 sed -n '15p' $HOME/AccuW_2/Toronto/last_days}°\
${color9}${goto 180}${execpi 600 sed -n '20p' $HOME/AccuW_2/Toronto/last_days}°\
${color9}${goto 283}${execpi 600 sed -n '25p' $HOME/AccuW_2/Toronto/last_days}° ${font}
${color0}COMPUTER ${color1}${hr}${color}
${font Instruction:size=7.5}
${color1}CPU0:${goto 70}${color7}${cpubar cpu0}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${cpu cpu0}%${color}${goto 190}${color7}${execi 8 sensors | grep 'Core 0:' | cut -c16-17}°
${color1}CPU1:${goto 70}${color6}${cpubar cpu1}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${cpu cpu1}%${color}${goto 190}${color6}${execi 8 sensors | grep 'Core 1:' | cut -c16-17}°
${color1}RAM:${goto 70}${color4}${membar}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${memperc}%${color4}${goto 190}$mem/$memmax${font}
${color0}DISK ${color1}${hr}${color}
${color1}sda: ${color9}Write: ${diskio_write /dev/sda} ${color3}Read: ${diskio_read /dev/sda} ${color8}Temp: ${color8}${execpi 15 hddtemp -n /dev/sda} °
${font Instruction:size=7.5}
${color1}/:${goto 70}${color2}${fs_bar /}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${fs_used_perc /} %${color2}\
${goto 190}${fs_used /}/${fs_size /}
${color1}/home:${goto 70}${color8}${fs_bar /home}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${fs_used_perc /home} %${color8}\
${goto 190}${fs_used /home}/${fs_size /home}
${color1}../sda3:${goto 70}${color0}${fs_bar /media/sda3}${goto 70}${color1}${cpubar cpu4}${goto 80}${color5}${fs_used_perc /media/sda3} %${color0}\
${goto 190}${fs_used /media/sda3}/${fs_size /media/sda3}${font}
${color0}NETWORK ${color1}${hr}${color}
${color1}wlan0: ${color9}Down: ${downspeedf wlan0}${color3}Up: ${upspeedf wlan0}
${color8}RX${goto 110}${color8}TX${goto 200}${color8}Total
${color0}Today:${color}
${color} ${execi 300 vnstat -i wlan0 | grep "today" | awk '{print $2 $3}'}\
${color}${goto 110}${execi 300 vnstat -i wlan0 | grep "today" | awk '{print $5 $6}'}\
${color}${goto 200}${execi 300 vnstat -i wlan0 | grep "today" | awk '{print $8 $9}'}${color}
${color0}Yesterday:${color}
${color} ${execi 300 vnstat -i wlan0 | grep "yesterday" | awk '{print $2 $3}'}\
${color}${goto 110}${execi 300 vnstat -i wlan0 | grep "yesterday" | awk '{print $5 $6}'}\
${color}${goto 200}${execi 300 vnstat -i wlan0 | grep "yesterday" | awk '{print $8 $9}'}${color}
${color0}Last Week:${color}
${color} ${execi 300 vnstat -w -i wlan0 | grep "current week" | awk '{print $3 $4}'}\
${color}${goto 110}${execi 300 vnstat -w -i wlan0 | grep "current week" | awk '{print $6 $7}'}\
${color}${goto 200}${execi 300 vnstat -w -i wlan0 | grep "current week" | awk '{print $9 $10}'}${color}
${color0}${time %B}:${color}
${color} ${execi 300 vnstat -m -i wlan0 | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}\
${color}${goto 110}${execi 300 vnstat -m -i wlan0 | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}\
${color}${goto 200}${execi 300 vnstat -m -i wlan0 | grep "`date +"%b '%y"`" | awk '{print $9 $10}'} ${color}Can anyone tell me how to get it to be able to run as user again. I've traced the problem down to that.
Thanks,
Last edited by tedbell (2012-08-14 11:22:09)
Offline
Hit Ctrl+C before running:
$ conky -c ~/AccuW_2/accuw.Toronto.conky &Because that "[1] 1442" may indicate that you have unfinished business with the previous command. I think you may have skipped the "&" character (backgrounding). If that doesn't work, pkill conky and try again:
$ pkill conky; conky -c ~/AccuW_2/accuw.Toronto.conky &PS: This should probably be in the newbie section.
Last edited by DSpider (2012-08-14 11:00:25)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Hit Ctrl+C before running:
$ conky -c ~/AccuW_2/accuw.Toronto.conky &Because that "[1] 1442" may indicate that you have unfinished business with the previous command. I think you may have skipped the "&" character (backgrounding). If that doesn't work, pkill conky and try again:
$ pkill conky; conky -c ~/AccuW_2/accuw.Toronto.conky &PS: This should probably be in the newbie section.
Still can't run it:
[xxx@xxx ~]$ ^C
[xxx@xxx ~]$ pkill conky; conky -c ~/AccuW_2/accuw.Toronto.conky &
[1] 1650
[2] 1651
[xxx@xxx ~]$ bash: -c: command not found
conky: no process foundP.s. In never needed the '&' to run this. If it matters, I edited my bash rc to alias the command to just 'conky'
alias conky='killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky &'Last edited by tedbell (2012-08-14 11:12:19)
Offline
P.s. In never needed the '&' to run this. If it matters, I edited my bash rc to alias the command to just 'conky'
alias conky='killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky &'
Ok, there's your problem. When you're running "$ conky -c ~/AccuW_2/accuw.Toronto.conky", you're effectively running:
$ <insert 'conky' alias here> -c ~/AccuW_2/accuw.Toronto.conkyOr in other words:
$ killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky & -c ~/AccuW_2/accuw.Toronto.conkyHeh. Told you this belongs in the newbie section. ![]()
There's an "-c ~/AccuW_2/accuw.Toronto.conky" appendage at the end that Bash doesn't know how to interpret.
Last edited by DSpider (2012-08-14 11:18:44)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
tedbell wrote:P.s. In never needed the '&' to run this. If it matters, I edited my bash rc to alias the command to just 'conky'
alias conky='killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky &'Ok, there's your problem. When you're running "$ conky -c ~/AccuW_2/accuw.Toronto.conky", you're effectively running:
$ <insert 'conky' alias here> -c ~/AccuW_2/accuw.Toronto.conkyOr in other words:
$ killall conky && conky -c ~/AccuW_2/accuw.Toronto.conky & -c ~/AccuW_2/accuw.Toronto.conkyHeh. Told you this belongs in the newbie section.
There's an "-c ~/AccuW_2/accuw.Toronto.conky" appendage at the end that Bash doesn't know how to interpret.
![]()
I guess I never noticed the problem because conky always autostarted. I deleted the line and restarted and everything works now. Thanks!
Mods. move this to newbie or better yet delete it, it's embarassing. ![]()
Offline
Don't worry about it. We all make mistakes. Just be glad that it was something trivial: https://bbs.archlinux.org/viewtopic.php?id=11728
Last edited by DSpider (2012-08-14 11:27:47)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline