You are not logged in.

#1 2010-04-10 16:32:43

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

SOLVED: Xmobar-darcs + Conky-Cli not working correctly

I recently noticed that my conky was not displaying in my xmobar area so I decided to run conky in the console to see the output and got a bunch of errors. To begin with I am running:

conky-cli 1.8.0-1
xmonad-darcs 20100401-1
xmobar-dars 20100401-1

Here is the errors from running conky in the console:

╔═ comhack@Venus 12:22 PM 
╚═══ ~-> conky 
Conky: /home/comhack/.conkyrc: 26: no such configuration: 'alignment'
Conky: /home/comhack/.conkyrc: 28: no such configuration: 'border_width'
Conky: /home/comhack/.conkyrc: 33: no such configuration: 'draw_borders'
Conky: /home/comhack/.conkyrc: 34: no such configuration: 'draw_graph_borders'
Conky: /home/comhack/.conkyrc: 35: no such configuration: 'draw_outline'
Conky: /home/comhack/.conkyrc: 36: no such configuration: 'draw_shades'
Conky: /home/comhack/.conkyrc: 37: no such configuration: 'use_xft'
Conky: /home/comhack/.conkyrc: 38: no such configuration: 'xftfont'
Conky: /home/comhack/.conkyrc: 39: no such configuration: 'gap_x'
Conky: /home/comhack/.conkyrc: 40: no such configuration: 'gap_y'
Conky: /home/comhack/.conkyrc: 41: no such configuration: 'minimum_size'
Conky: /home/comhack/.conkyrc: 47: no such configuration: 'own_window'
Conky: /home/comhack/.conkyrc: 48: no such configuration: 'own_window_class'
Conky: /home/comhack/.conkyrc: 49: no such configuration: 'own_window_type'
Conky: /home/comhack/.conkyrc: 50: no such configuration: 'stippled_borders'
Conky: /home/comhack/.conkyrc: 54: no such configuration: 'show_graph_scale'
Conky: /home/comhack/.conkyrc: 55: no such configuration: 'show_graph_range'
Conky: no output_methods have been selected; exiting

Here is my ~/.conkyrc:

╔═ comhack@Venus 12:22 PM 
╚═══ ~-> cat .conkyrc
alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Droid Sans Mono:size=12
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${color 0}Root: ${fs_free /} | ${color 0}Home: ${fs_free /home} | ${color 0}Backup: ${fs_free /backup} | ${color 0}Other: ${fs_free /other} | ${color 0}Temp1: ${hwmon 1 tempf 1}F | ${color 0}Temp2: ${hwmon 2 tempf 1}F | ${color 
0}MB: ${hwmon 0 tempf 1}F  
Temp1: ${hwmon 1 tempf 1}F | ${color 0}Temp2: ${hwmon 2 tempf 1}F | ${color 0}Temp3: ${hwmon 0 tempf 1}F

Here is my ~/.xmobar:

╔═ comhack@Venus 12:27 PM 
╚═══ ~-> cat .xmobarcc
Config { font = "xft:Droid Sans Mono:size=8:bold:antialias=true"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 100
       , lowerOnStart = True
       , commands = [ Run Weather "KAOO" ["-t"," <tempF>F","-L","64","-H","77","--normal","green","--high","red","--low","lightblue"] 36000
                    , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
                    , Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Date "%a %b %_d %l:%M" "date" 10
                    , Run StdinReader
                    , Run CommandReader "/home/comhack/.xmonad/ledmon" "LED"  
                    , Run Com "~/.scripts/conkyscript" ["&"] "conky" 100
  
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{ %conky% | %cpu% | %eth0% |  %memory% | %swap% <fc=#ee9a00>%date%</fc> | %LED%| %KAOO%"
       }

and the conky script:

╔═ comhack@Venus 12:27 PM 
╚═══ ~-> cat .scripts/conkyscript 
#!/bin/bash
# Filename: ~/home/comhack/.scripts/conkyscript
conky -c ~/.conkyclirc -i1 -q > conkystat &
sleep 4
killall -q conky
cat conkystat
rm conkystat

and finally my ~/.xinitrc:

╔═ comhack@Venus 12:27 PM 
╚═══ ~-> cat .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
xscreensaver -no-splash &     
numlockx &                 
gnome-settings-daemon &
nitrogen --restore &
xsetroot -cursor_name left_ptr 
scripts/conkyscript &
exec ck-launch-session xmonad

I assume this has to do with a package getting upgraded but I cannot figure out which one changed. I tried looking for a .pacsave for conky, xmobar, and xmonad but could not find anything different. I also searched the forums and google but could not find a thread with the same issue. So anyone have an ideal whats going on?

Thanks

Last edited by securitybreach (2010-04-12 05:39:51)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#2 2010-04-11 16:17:51

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: SOLVED: Xmobar-darcs + Conky-Cli not working correctly

Bump.......

Anyone? I know I am not the only one uses Xmonad-darcs and conky-cli.

Thanks

Last edited by securitybreach (2010-04-11 16:18:29)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#3 2010-04-11 16:21:44

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: SOLVED: Xmobar-darcs + Conky-Cli not working correctly

Conky is complaining about all sorts of stuff:

╔═ comhack@Venus 12:22 PM 
╚═══ ~-> conky 
Conky: /home/comhack/.conkyrc: 26: no such configuration: 'alignment'
Conky: /home/comhack/.conkyrc: 28: no such configuration: 'border_width'
Conky: /home/comhack/.conkyrc: 33: no such configuration: 'draw_borders'
Conky: /home/comhack/.conkyrc: 34: no such configuration: 'draw_graph_borders'
Conky: /home/comhack/.conkyrc: 35: no such configuration: 'draw_outline'
Conky: /home/comhack/.conkyrc: 36: no such configuration: 'draw_shades'
Conky: /home/comhack/.conkyrc: 37: no such configuration: 'use_xft'
Conky: /home/comhack/.conkyrc: 38: no such configuration: 'xftfont'
Conky: /home/comhack/.conkyrc: 39: no such configuration: 'gap_x'
Conky: /home/comhack/.conkyrc: 40: no such configuration: 'gap_y'
Conky: /home/comhack/.conkyrc: 41: no such configuration: 'minimum_size'
Conky: /home/comhack/.conkyrc: 47: no such configuration: 'own_window'
Conky: /home/comhack/.conkyrc: 48: no such configuration: 'own_window_class'
Conky: /home/comhack/.conkyrc: 49: no such configuration: 'own_window_type'
Conky: /home/comhack/.conkyrc: 50: no such configuration: 'stippled_borders'
Conky: /home/comhack/.conkyrc: 54: no such configuration: 'show_graph_scale'
Conky: /home/comhack/.conkyrc: 55: no such configuration: 'show_graph_range'
Conky: no output_methods have been selected; exiting

Fix that first.

By the way, you don't need conky-cli anymore. The package in the repos supports the "out_to_x no" option.

Offline

#4 2010-04-11 17:14:38

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: SOLVED: Xmobar-darcs + Conky-Cli not working correctly

I was thinking about removing that stuff but I was not for sure if conky needed the configurations. The reason being is that I did not I did not get any notifcation from pacman when updating conky. Usually if there is a major change in the upstream configuration file, pacman tells you in the output. As far I know those entries have always been a part of ~/.conkyrc. So I guess I will just back it up and try deleting those entries. Also, thanks for the info about not needed conky-cli anymore.

Last edited by securitybreach (2010-04-11 17:17:08)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#5 2010-04-11 17:19:27

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: SOLVED: Xmobar-darcs + Conky-Cli not working correctly

Well I removed conky-cli and installed regular conky package and now I do not get the errors for the entries above. I then added the option you listed:

The package in the repos supports the "out_to_x no" option

but I still get:

╔═ comhack@Venus 01:19 PM 
╚═══ ~-> conky
Conky: no output_methods have been selected; exiting

Last edited by securitybreach (2010-04-11 17:24:06)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#6 2010-04-11 17:25:21

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: SOLVED: Xmobar-darcs + Conky-Cli not working correctly

Also, I do not know if it matters but I used conky-cli so I could output conky to my Xmobar. Can regular conky do this as well?

Last edited by securitybreach (2010-04-11 17:26:03)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

Board footer

Powered by FluxBB