You are not logged in.

#1 2010-04-09 10:35:44

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

[Solved] xfontsel: can't find teminus/dina

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! big_smile

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

#2 2010-04-09 10:54:32

snakebite
Member
From: Norway
Registered: 2009-05-13
Posts: 42

Re: [Solved] xfontsel: can't find teminus/dina

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

#3 2010-04-09 11:03:44

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: [Solved] xfontsel: can't find teminus/dina

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.

[1] - http://wiki.archlinux.org/index.php/Fonts

Offline

#4 2010-04-09 13:51:10

FallenWizard
Member
From: Vienna/ Austria
Registered: 2007-12-10
Posts: 99

Re: [Solved] xfontsel: can't find teminus/dina

Add these lines into Xorg.conf:

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

Offline

#5 2010-04-09 18:33:52

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Solved] xfontsel: can't find teminus/dina

Thanks everyone. smile

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

#6 2010-05-05 07:48:25

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [Solved] xfontsel: can't find teminus/dina

mikesd wrote:
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

#7 2010-05-05 09:03:21

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] xfontsel: can't find teminus/dina

^When you're using this line in .xinitrc why should there be then a need to use xorg.conf?

Offline

Board footer

Powered by FluxBB