You are not logged in.

#1 2008-10-19 23:39:08

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

dmenu and fonts?

I am trying to change the font for dmenu. It follows all my color options but it only will display the default font no matter what I put in for a font. I used the font string from the wiki and tried a number of other but nothing. Any ideas what I might be missing?

Thanks

dmenu_path | dmenu -nb '#000000' -nf '#ffffff' -sb '#1793D1' -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*' -b

Offline

#2 2008-10-20 00:09:24

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

Re: dmenu and fonts?

Xorg is finicky about the path to pcf fonts.  I've had to add the following to the bottom of the Files section of /etc/X11/xorg.conf in order for legacy x apps to work properly with my fonts:

Section "Files"
    ...
    ...
    FontPath    "/usr/share/fonts/local"       # for terminus and other local fonts
    FontPath    "/home/thayer/.fonts"          # for local fonts
    FontPath    "/home/thayer/.fonts/bitmaps"  # for local bitmaps
EndSection

thayer williams ~ cinderwick.ca

Offline

#3 2008-10-20 00:22:55

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: dmenu and fonts?

I already have

FontPath    "/usr/share/fonts/local"

in my xorg.conf already and I don't have any local fonts. Still dmenu will only show the default font and nothing else.

Offline

#4 2008-10-20 05:55:48

Aprz
Member
From: Newark
Registered: 2008-05-28
Posts: 277

Re: dmenu and fonts?

If you don't have /usr/share/fonts/local/ then you probably don't have terminus.

$ pacman -S terminus-font

Last edited by Aprz (2008-10-20 06:02:55)

Offline

#5 2008-10-20 12:07:52

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: dmenu and fonts?

Terminus fonts are installed. I have tried many other fonts also that I do have installed but still dmenu only uses the default font.

Offline

#6 2008-10-20 14:00:23

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

Re: dmenu and fonts?

No idea, sorry...how are you executing dmenu? Is it possible you're executing the wrong script? When you run xfontsel can you select Terminus as a font choice?


thayer williams ~ cinderwick.ca

Offline

Board footer

Powered by FluxBB