You are not logged in.
Hi,
I've just installed terminus and dina fonts and I would really need to use them in my urxvt and in my tiling wm.
The problem is they don't show up in xfontsel so I can't get that string like *-terminus-*-*-*-*-12-*-*-*-*-*- (this one is clearly invented) to put in my .Xdefaults / config file.
I read somewhere that I would need to add the font path to my xorg.conf but I don't have a xorg.conf at all so I really don't know what to do.
Thank you for any help!
Last edited by rent0n (2010-04-09 18:34:33)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
I don't think you need to add a font path, I haven't done this is either of my machines and terminus works fine in both urxvt and awesome (my wm).
cat .Xdefaults | grep font
URxvt.font: xft:Terminus:pixelsize=9,xft:Kochi Mono
cat .config/awesome/theme.lua | grep font
theme.font = "terminus 9"
Offline
There are a couple of different font systems used in X. XFT (fontconfig) and the older system. xfontsel uses the old style font system.
I use:
xset +fp /usr/local/share/fonts/artwiz-fonts
in my .xinitrc to add font paths to X. This should fix xfontsel.
Check the wiki[1] for full details.
Offline
Add these lines into Xorg.conf:
Section "Files"
FontPath "/usr/share/fonts/local"
EndSection
Offline
Thanks everyone.
I managed to insert terminus and dina to xfontsel by using mikesd's method:
xset +fp /usr/share/fonts/local
This allowed me to use the terminus font in my i3 config file.
However, urxvt didn't like the xfontsel way of adding terminus (while it was okay for 'fixed'), so I had to use what snakebite suggested:
urxvt.font: xft:terminus:pixelsize=12
@FallenWizard: as I wrote above I don't have a xorg.conf file.
Last edited by rent0n (2010-04-09 18:34:12)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
xset +fp /usr/local/share/fonts/artwiz-fonts
I have this in xinit too, but isn't there a way to include /usr/share/fonts/local (for terminus) in the "default fonts path" or something? (without xorg.conf file, sure)
Offline