Talk:Making a Status Bar III
Has anyone had success with this method? Should "exec conky &" be replaced with "exec 'conky | awesome-client' &"?
This doesn't work for me either. Would be nice to use conky in the statusbar. ^^
Did ou correctly added widgets into awesomerc ?? Into statusbar { [add here] }
I believe the widgets were added into the statusbar correctly, the problem is that somehow they aren't getting updated by conky. If you have this working with awesome 2.1, may I see your .xinitrc, .conkyrc, and .awesomerc ?
working files
awesomerc : http://nopaste.org/p/agJEAviNcb conkyrc : http://nopaste.org/p/a7HTiE2seb
xinitrc : http://nopaste.org/p/aI3op8oXW
I belive that those files will help you
^ hmpf, dunno what I am doing wrong.. http://tinyurl.com/37k5kk (screenshot). >_<
To the person who submitted a screen shot: You're probably using a version of conky compiled with X11 support, because "0 widget_tell ..." is appearing on your root desktop.
To Czarnas: Thank you for posting your config files. I used all 3 of your files (with some changes to work on my system) and I'm still not getting the textboxes to update. I noticed in your .xinitrc that you're not piping conky's output into awesome-client. In your setup, how is conky communicating with Awesome?
^ Doh! You're right..
widget_tell
Conky is connecting by widget_tell. It's not a conky function, but awesome. If I'm wrong correct me please, but that i meaned from talk with _jd. If anybody need i can post package with conky for archlinux.
so basically we need a version of conky recompiled without X11 support to let it work? then it would also be great to have a package of such a conky.. ;)
tent:wq
I don't think you really need conky without X11 support. If you have "out_to_console yes" in your .conkyrc, conky will output information to the console and in your root desktop. What distro are you using? If you use Arch then there's a package in AUR called conky-cli.
By the way, I finally had success with using conky for the status bar. I made a modified version of awesome-client called "awtell" then added the line "conky | awtell &" to my .xinitrc .
In awesome 2.0 awesome-client would send commands to awesome whenever it receives them. It was possible to put something like "conky | awesome-client &" in your xinitrc. In awesome 2.1 it became possible to send a group of commands in one message to awesome. However this required to send a blank line to awesome-client. I've found that there's no way to output a blank line with conky so I made awtell. Awtell works similarly to the way awesome-client worked in 2.0, but it can also send a group of commands in one message by specifying a group size. In other words it works with conky. :)
--75.15.122.135 18:48, 27 February 2008 (CET)
Working Conky
I finally got it to work with the following configuration:
- recompiled conky without X11
- used this .conkyrc:
background no
no_buffers yes
out_to_console yes
update_interval 1
uppercase no
use_spacer no
total_run_times 0
TEXT
0 widget_tell mpdstats ${mpd_status} | ${mpd_artist} | ${mpd_album} | ${mpd_title} | ${mpd_elapsed} | ${mpd_length}
0 widget_tell clock ${time %a %e %b %Y %H:%M}
0 widget_tell cpustats cpu: ${cpu cpu0} (${cpu cpu1} ${cpu cpu2})
0 widget_tell netstats net: ${downspeedf eth1}/${upspeedf eth1}
- added this to my .xinitrc:
conky | awesome-client &
--Cciulla 14:23, 3 March 2008 (CET)