Why doesn't dzen2 display text?

echo "Today"; cal; sleep 20 | dzen2 -x 200 -y 200 -w 200 -bg blue -fg white -l 8

The dzen2 window appears without any text on it.

Sincerely!
 
That's because you are passing to dzen2 only the output of sleep 20: that is, nothing.

You must use parentheses to see the output of the other commands:
(echo "Today"; cal; sleep 20) | dzen2 -x 200 -y 200 -w 200 -bg blue -fg white -l 8
 
Dies_Irae said:
That's because you are passing to dzen2 only the output of sleep 20: that is, nothing.

You must use parentheses to see the output of the other commands:
(echo "Today"; cal; sleep 20) | dzen2 -x 200 -y 200 -w 200 -bg blue -fg white -l 8
In fact echo "hello world" | dzen2 -x 200 -y 200 -w 200 -bg blue -fg white -l 8 -p 5 still does not work either.

Regards!
 
sw2wolf said:
In fact echo "hello world" | dzen2 -x 200 -y 200 -w 200 -bg blue -fg white -l 8 -p 5 still does not work either.

This is strange, I have copied your command, pasted it in a terminal and it worked.
Maybe you have some problem with your terminal colors and/or dzen2 X resources in your ~/.Xresources?
 
Back
Top