You are not logged in.
Hi.
I'm trying to pipe some conky-generated text into dzen2. I took some code from this post.
background no
out_to_x no
out_to_console yes
update_interval 1.0
TEXT
^r(2x10)^fg(#B64403)^r(2x10) mem: $memperc% ^r(2x10)^fg(#435493)^r(2x10) root: $fs_free_perc% ^r(2x10)^fg(#B64403)^r(2x10) $cpu%/${acpitemp}C ^r(2x10)^fg(#435493)^r(2x10) ${time %d-%m-%y %H:%M} ^r(2x10)^fg(#B64403)^r(2x10)
but then :
$ conky -c conkyrc
^r(2x10)^fg(
^r(2x10)^fg(
Obviously the "#" character is interpreted as the start of a comment. As I've seen many examples here using conky-cli I tried it, but it didn't work either. Finally, I couldn't find a way to escape this comment character.
Anyone knows how to solve this problem ?
Offline
Strange. What version of Conky are you using? Post the output of conky --version.
Offline
Conky 1.7.1.1 compiled Sun Jul 5 20:06:45 PDT 2009 for Linux 2.6.30-ARCH (x86_64)
Compiled in features:
System config file: /etc/conky/conky.conf
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* RSS
* wireless
* support for IBM/Lenovo notebooks
* config-output
* Imlib2
* ALSA mixer support
* apcupsd
pacman -Qo /usr/bin/conky
/usr/bin/conky is owned by conky 1.7.1.1-2
Offline
It seems to be a problem wiht conky 1.7. I just upgraded conky-cli to 1.7 and now I have the problem
So change the pkgbuild for conky-cli to 1.6 and everything should work fine.
Offline
I tried to install conky-new 1.7.2_rc2-1 and it looks like the next version is offering the same behaviour ...
Offline
Since 1.7 version, commentin' in TEXT section with # charcter enabled. the solution will be in adiing \ (backslash charcter) before #.
Offline