You are not logged in.

#1 2007-12-16 20:21:45

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Dzen2 and conky-cli issue

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

#2 2007-12-16 20:54:09

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Dzen2 and conky-cli issue

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

#3 2007-12-16 21:29:28

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Dzen2 and conky-cli issue

Hmmm I've installed the terminus font, but dzen doesn't find them, what can be the issue?


Use the Source, Luke!

Offline

#4 2007-12-16 21:48:19

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Dzen2 and conky-cli issue

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

#5 2007-12-16 21:50:33

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Dzen2 and conky-cli issue

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

#6 2007-12-16 22:08:04

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Dzen2 and conky-cli issue

Try mine:

-fn -*-terminus-*-*-*-*-12-*-*-*-*-*-iso8859

Cthulhu For President!

Offline

#7 2007-12-16 22:39:29

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Dzen2 and conky-cli issue

dzen: error, cannot load font: '-*-terminus-*-*-*-*-12-*-*-*-*-*-iso8859'

Still doesn't work...


Use the Source, Luke!

Offline

#8 2007-12-16 22:56:26

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Dzen2 and conky-cli issue

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

#9 2007-12-16 23:10:38

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Dzen2 and conky-cli issue

thayer wrote:

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

#10 2007-12-16 23:34:52

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Dzen2 and conky-cli issue

Nevermind, had to set a gap.

Last edited by Roberth (2007-12-16 23:39:16)


Use the Source, Luke!

Offline

#11 2007-12-16 23:41:42

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Dzen2 and conky-cli issue

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

Board footer

Powered by FluxBB