[olpc-help] How do I tell the XO X server to use the fonts that are on the device?

Mike Meyer mikem at salter-point.com
Wed Dec 26 12:29:40 EST 2007


How do I tell the XO X server to use the fonts that are on the device.

Why?  I'd like to use emacs on the XO using fonts that are slightly
bigger than unreadable/tiny.  (If folks have other suggestions on how
to do that, then I'd love to hear them).

The XO X server starts out using just the "built-in" fonts.  But there
are other fonts installed, and there is an xfs running.  So how do I
tell the X server to either contact xfs, or otherwise use the fonts
that are already install.

Below is the output from "xlsfonts", an "ls" of the fonts area, and
two "ps" commands that show that xfs is running and that X is sharted
with just "built-in" fonts.

I haven't had to do this sort of X server hacking in years, so I'm a
lot rusty at this.

Regards, --Mike


[olpc at xo-10-AF-EB ~]$ xlsfonts
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
cursor
fixed


[olpc at xo-10-AF-EB default]$ ls /usr/share/X11/fonts/100dpi
courB08-ISO8859-1.pcf.gz   lubBI24-ISO8859-1.pcf.gz
ncenBI08-ISO8859-1.pcf.gz
courB10-ISO8859-1.pcf.gz   lubI08-ISO8859-1.pcf.gz
ncenBI10-ISO8859-1.pcf.gz
courB12-ISO8859-1.pcf.gz   lubI10-ISO8859-1.pcf.gz
ncenBI12-ISO8859-1.pcf.gz
 ......
fonts.alias                luBS12-ISO8859-1.pcf.gz
timBI08-ISO8859-1.pcf.gz
fonts.dir                  luBS14-ISO8859-1.pcf.gz
timBI10-ISO8859-1.pcf.gz
 ......
lubBI19-ISO8859-1.pcf.gz    ncenB24-ISO8859-1.pcf.gz


[olpc at xo-10-AF-EB default]$ ps xua | grep xfs
xfs      1468  0.0  0.4   3208  1012 ?        Ss   21:25   0:00 xfs
-droppriv -daemon
olpc     1874  0.0  0.2   3972   596 pts/2    R+   21:37   0:00 grep xfs

olpc     1640  0.0  0.3   3076   928 tty8     S+   21:26   0:00 xinit
/usr/bin/olpc-session -- /usr/bin/X -fp built-ins -wr -auth
/home/olpc/.serverauth.1623
root     1641  0.4  1.9   8000  4584 tty3     Ss+  21:26   0:02 /usr/bin/X
:0 -fp built-ins -wr -auth /home/olpc/.serverauth.1623



-- 

Mike Meyer, Seattle WA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/community-support/attachments/20071226/92bbf037/attachment.htm 


More information about the community-support mailing list