You are not logged in.

#1 2007-11-22 02:39:04

ghyspran
Member
Registered: 2006-03-16
Posts: 18
Website

No text in SLiM (font problem)

Pretty much what the title says.  When SLiM starts, there's no text asking for my username/password and what I type doesn't show up.  I can log in fine though.  The problem happened when I decided I wanted more fonts, so I copied some ttf fonts (around a hundred files) that I had on a flash drive into /usr/share/fonts/TTF (cp *.ttf /usr/share/fonts/TTF as root).  Then I changed .Xdefaults to use Consolas for urxvt and logged out.  Then I couldn't see any text except the big Login (default theme). I've changed urxvt back to a bitmap font though.

Offline

#2 2007-11-22 16:52:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: No text in SLiM (font problem)

You need to rebuild the font cache when adding fonts.

fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF

1000

Offline

#3 2007-11-22 20:41:02

ghyspran
Member
Registered: 2006-03-16
Posts: 18
Website

Re: No text in SLiM (font problem)

Rebooted and it works now.  Thanks anyway.

Offline

Board footer

Powered by FluxBB