[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X and fonts

On Mon, Sep 04, 2000 at 05:17:01PM +0200, Atila Nemet wrote:
> Where and how can I set up the fonts under X? I finally managed to
> make xterm use a little bigger fonts than the usual ones, but when I
> start some other consol applications (namely the fte editor) it uses
> the default little fonts again (maybe I screwed up something :o).
> I think that I am missing the general idea about the fonts. Can
> someone help me with that?

If you're running gnome or kde, this may not apply as they have their
own way of doing things.  However, most X applications use entries in
~/.Xresources to define their behaviour:

(0) /home/keeling/_ egrep -i 'rxvt|vt100' .Xresources 
XTerm*vt100*font:           -*-*-medium-r-*-*-12-*-*-*-c-*-iso8859-1
XTerm*vt100*geometry:       88x39+15+12
XTerm*vt100*loginShell:     true
XTerm*vt100*saveLines:      500
XTerm*vt100*scrollBar:      true
XTerm*vt100*background:     DarkSlateGray
XTerm*vt100*cursorColor:    green
XTerm*vt100*visualBell:     true
XTerm*vt100*foreground:     white
! rxvt uses vt100 resources, unless these over-ride them.
*Rxvt*font:                 -misc-*-medium-r-*-*-*-*-100-*-*-*-iso8859-1
*Rxvt*geometry:             88x44+15+12
*Rxvt*loginShell:           true
*Rxvt*meta:                 escape
*Rxvt*savelines:            1000
*Rxvt*scrollbar:            thin
*Rxvt*cursorColor:          green
*Rxvt*background:           DarkSlateGray
*Rxvt*foreground:           white
*Rxvt*visualBell:           true
*Rxvt*eightBitInput:        false

As well, you can use command line switches to define these things:

   (0) /home/keeling/_ rxvt -fn fixed &

> And out of curiosity: what are the really necessary files
> (packages???) to run X?

Really necessary?  I guess that depends on what you mean by "run X."
You don't *need* gs to run X, but I can't imagine running X without
it.  Here's what I have on mine; many are certainly not necessary,
unless you want to do something other than run contributed x clients:

(0) /home/keeling/_ dpkg -l | grep X | egrep -v 'eX|XT|EX'
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
ii  9menu           1.4-8          Creates X menus from the shell.
ii  gs              5.10-1         Postscript interpreter with X11 and svgalib 
ii  gv              3.5.8-9        A PostScript and PDF viewer for X using 3d A
ii  intlfonts-europ 1.1-2          International fonts for X -- European.
ii  rxvt            2.4.5-16       a VT102 emulator for the X window system
ii  tk8.0           8.0.4-2        The Tk toolkit for TCL and X11 v8.0 - Run-Ti
ii  xaw3dg          1.3-6.3        Adds a cute 3d to X apps using the athena wi
ii  xbase-clients    miscellaneous X clients
ii  xcontrib        3.3.2-3        XFree contributed clients.
ii  xext      extensions to X servers
ii  xfonts-100dpi    100 dpi fonts for X servers
ii  xfonts-75dpi    75 dpi fonts for X servers
ii  xfonts-base    standard fonts for X servers
ii  xfonts-scalable    scalable fonts for X servers
ii  xfree86-common    X Window System (XFree86) infrastructure
ii  xfs       X font server
ii  xlib6     shared libraries required by libc5 X clients
ii  xlib6-altdev    include files and libraries for libc5 X clie
ii  xlib6g    shared libraries required by X clients
ii  xloadimage      4.1-3          Graphics file viewer under X11
ii  xlockmore       4.12-4         Lock X11 display until password is entered.
ii  xmanpages    manual pages for X developers
ii  xpm4.7          3.4j-0.6       X Pixmap libraries (for libc5) - runtime
ii  xpm4g           3.4j-0.6       X Pixmap libraries (for libc6) - runtime
ii  xserver-common    files and utilities common to all X servers
ii  xserver-vga16    X server for VGA graphics cards
ii  xterm     X terminal emulator

Note that I'm running Accelerated X, not XFree86.

keelingNO@SPAM.spots.ab.ca (Stephen) TopQuark Software & Serv. Enquire within.
    [sed 's/NO@SPAM./@/g']               Contract programmer, server bum.  
    Any technology distinguishable from magic is insufficiently advanced.

Reply to: