Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 doesn't find font
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Tue Sep 23, 2008 10:40 pm    Post subject: X11 doesn't find font Reply with quote

I've installed the outstanding profont out of the devnull overlay (package name: "profont-x11") but I cannot use it:

Code:

$ xlsfonts | grep pro
$


What went wrong?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Tue Sep 23, 2008 11:00 pm    Post subject: Reply with quote

Did you include it in the Files Section of /etc/X11/xorg.conf, then restart X ?
Code:
Section "Files"
    FontPath "/usr/share/fonts/<whatever>/"
Back to top
View user's profile Send private message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Wed Sep 24, 2008 11:25 am    Post subject: Reply with quote

Thanks! That worked:

Code:
$ xlsfonts | grep pro
-nil-profont-medium-r-normal--0-0-72-72-c-0-iso8859-1
-nil-profont-medium-r-normal--10-100-72-72-c-50-iso8859-1
-nil-profont-medium-r-normal--11-110-72-72-c-60-iso8859-1
-nil-profont-medium-r-normal--12-120-72-72-c-60-iso8859-1
-nil-profont-medium-r-normal--15-150-72-72-c-70-iso8859-1
-nil-profont-medium-r-normal--17-170-72-72-c-140-iso8859-1
-nil-profont-medium-r-normal--22-220-72-72-c-120-iso8859-1
-nil-profont-medium-r-normal--29-290-72-72-c-160-iso8859-1


But now XTerm does not find the font:
Code:
$ xterm
xterm:  unable to open font "-nil-profont-medium-r-normal--12-120-72-72-c-60-iso8859
-1 ", trying "fixed"....


My ~/.Xdefaults:
Code:
$ cat .Xdefaults
XTerm*background:Black
XTerm*foreground:White
XTerm*font: -nil-profont-medium-r-normal--12-120-72-72-c-60-iso8859-1
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Sep 24, 2008 12:31 pm    Post subject: Reply with quote

Code:
xrdb -merge ~/.Xdefaults
and restart xterm
Back to top
View user's profile Send private message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Wed Sep 24, 2008 6:26 pm    Post subject: Reply with quote

Thanks. But I have to do this after every startup. How can I set my .Xdefaults permanently?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Sep 24, 2008 6:27 pm    Post subject: Reply with quote

How do you start X - with kdm/gdm/xdm, or with startx?
Back to top
View user's profile Send private message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Wed Sep 24, 2008 6:28 pm    Post subject: Reply with quote

Manually. startx.
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Sep 24, 2008 7:02 pm    Post subject: Reply with quote

Ok then it's easy. Just add the following line to your $HOME/.xinitrc file
Code:
xrdb .Xdefaults
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum