You are not logged in.

#1 2010-06-02 22:30:15

cabrey
Member
Registered: 2009-08-15
Posts: 29

DWM Fonts [solved]

Hi,

I'm trying out DWM and I'm really liking it. The only problem is the font. I understand that DWM is configured using config.h and I have successfully modified its settings with exception to the font. The first problem is that it seems to be in a weird format ("*-terminus-*-*-*-*-*-*-*-12-*-*"). The second problem is that it is already set to Terminus and I have Terminus installed, but it doesn't utilize it. Instead, it complains in the console about a bunch of fonts not being installed (I just use startx).

Can anyone help me out?

Thanks!

Last edited by cabrey (2010-06-02 23:02:24)

Offline

#2 2010-06-02 22:33:32

oew
Member
From: Norway
Registered: 2006-11-08
Posts: 105

Re: DWM Fonts [solved]

Use xfontsel to see if X can locate the Terminus font. It also gives you the correct syntax to use in config.h

I'm loading Terminus with these commands in .xinitrc

xset +fp /usr/share/fonts/local &
xset fp rehash &

there's no place like ~/

Offline

#3 2010-06-02 22:50:03

cabrey
Member
Registered: 2009-08-15
Posts: 29

Re: DWM Fonts [solved]

I did try xfontsel but I didn't see Terminus as an option. Note that I might be using it wrong. I'll try those, however.

Offline

#4 2010-06-02 23:02:07

cabrey
Member
Registered: 2009-08-15
Posts: 29

Re: DWM Fonts [solved]

Looks like that worked! Thanks!

Oooohh, so pretty. smile

Offline

#5 2010-06-02 23:32:55

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: DWM Fonts [solved]

cabrey wrote:

I did try xfontsel but I didn't see Terminus as an option. Note that I might be using it wrong. I'll try those, however.

Terminus is installed into /usr/share/fonts/local, the post_install hook message tells you that. So just add the following lines to your xorg.conf to include that directory into your font path:

Section "Files"
    FontPath "/usr/share/fonts/local"
EndSection

Offline

Board footer

Powered by FluxBB