View previous topic :: View next topic |
Author |
Message |
d135-1r43 Tux's lil' helper
Joined: 14 Apr 2005 Posts: 129
|
Posted: Tue Sep 23, 2008 10:40 pm Post subject: X11 doesn't find font |
|
|
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 |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Tue Sep 23, 2008 11:00 pm Post subject: |
|
|
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 |
|
|
d135-1r43 Tux's lil' helper
Joined: 14 Apr 2005 Posts: 129
|
Posted: Wed Sep 24, 2008 11:25 am Post subject: |
|
|
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 |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Sep 24, 2008 12:31 pm Post subject: |
|
|
Code: | xrdb -merge ~/.Xdefaults | and restart xterm |
|
Back to top |
|
|
d135-1r43 Tux's lil' helper
Joined: 14 Apr 2005 Posts: 129
|
Posted: Wed Sep 24, 2008 6:26 pm Post subject: |
|
|
Thanks. But I have to do this after every startup. How can I set my .Xdefaults permanently? |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Sep 24, 2008 6:27 pm Post subject: |
|
|
How do you start X - with kdm/gdm/xdm, or with startx? |
|
Back to top |
|
|
d135-1r43 Tux's lil' helper
Joined: 14 Apr 2005 Posts: 129
|
Posted: Wed Sep 24, 2008 6:28 pm Post subject: |
|
|
Manually. startx. |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Sep 24, 2008 7:02 pm Post subject: |
|
|
Ok then it's easy. Just add the following line to your $HOME/.xinitrc file |
|
Back to top |
|
|
|