You are not logged in.
Hello I'm trying to set up dzen2 with conky-cli, here's my configs etc:
/bin/dzconky:
FG='#aaaaaa'
BG='#1a1a1a'
FONT='-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'
conky | dzen2 -e -h '16' -w '600' -ta r -fg $FG -bg $BG -fn $FONT
.conkyrc:
background no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer no
TEXT
${time "%A %-d. %B %H:%M}
And when i try to run dzconky, this appears:
[roberth@Magda ~]$ dzconky
usage: dzen2 [-v] [-p [seconds]] [-m [v|h]] [-ta <l|c|r>] [-sa <l|c|r>]
[-x <pixel>] [-y <pixel>] [-w <pixel>] [-tw <pixel>] [-u]
[-e <string>] [-l <lines>] [-fn <font>] [-bg <color>] [-fg <color>]
[roberth@Magda ~]$
Where is the error, and by the way, how do I get the same as xft-sans-10 with dzen2?
Last edited by Roberth (2007-12-16 20:49:02)
Use the Source, Luke!
Offline
You're missing a '' in front of the -e option.
Should be
conky | dzen2 -e '' -h '16' -w '600' -ta r -fg $FG -bg $BG -fn $FONT
afaik dzen doesn't support xft, so I would stick to terminus et al for now.
Cthulhu For President!
Offline
Hmmm I've installed the terminus font, but dzen doesn't find them, what can be the issue?
Use the Source, Luke!
Offline
Since your fn line (as you have it above) appears to work just fine, it would seem that X can't see it, either.
Did you run
pacman -S terminus-font
If you've done this, have you restarted X?
Cthulhu For President!
Offline
Yes.
dzen: error, cannot load font: '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'
Last edited by Roberth (2007-12-16 21:55:40)
Use the Source, Luke!
Offline
Try mine:
-fn -*-terminus-*-*-*-*-12-*-*-*-*-*-iso8859
Cthulhu For President!
Offline
dzen: error, cannot load font: '-*-terminus-*-*-*-*-12-*-*-*-*-*-iso8859'
Still doesn't work...
Use the Source, Luke!
Offline
I believe you must add the path to terminus in your xorg.conf... at least that's what I had to do:
Section "Files"
...
FontPath "/usr/share/fonts/local" # added for Terminus
...
EndSection
Last edited by thayer (2007-12-16 22:56:35)
thayer williams ~ cinderwick.ca
Offline
I believe you must add the path to terminus in your xorg.conf... at least that's what I had to do:
Section "Files" ... FontPath "/usr/share/fonts/local" # added for Terminus ... EndSection
Thank you that helped.
Use the Source, Luke!
Offline
Nevermind, had to set a gap.
Last edited by Roberth (2007-12-16 23:39:16)
Use the Source, Luke!
Offline
You have to make room for the dzen2.
Find the default gaps line in your xmonad.hs. Change the variables to your liking.
, defaultGaps = [(15,15,0,0)]
The above settings makes room for a statusbar at the top of the screen and one at the bottom, both with height of 15 pixels.
Offline