[CLUE-Tech] List available X fonts using xlsfonts

Jeffery Cann fabian at jefferycann.com
Mon Mar 31 20:19:53 MST 2003


I posted (by accident to clue talk) a question about which X fonts were 
available for xterminals, under cygwin.

Jim Ockers posted a reply with a nice grep command:
 $ cd /usr/X11R6/lib/X11/fonts/misc
 $ ls *x* | grep '^[0-9]' | grep -v ISO8859 | grep -v KOI8

I learned via some X tutorials about a utility called 'xlsfonts'.  This will 
list all of the fonts known to your xserver.

 $ xlsfonts
-2rebels-adventure-semi bold-r-normal--0-0-0-0-p-0-ascii-0
-2rebels-beast wars-medium-r-normal--0-0-0-0-p-0-ascii-0
-2rebels-embargo-medium-r-normal--0-0-0-0-p-0-ascii-0
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-2

There's also a utility called fslsfonts which will list your fonts from your 
xfs (X windows font server); although I was not sure on the port number for 
my xfs daemon.


-- 
Life is a tie. In the end, no one wins. 
 -- Oswald Neimo 



More information about the clue-tech mailing list