Re: [wmii] XWindows default fonts

From: Suraj N. Kurapati <snk_AT_gna.org>
Date: Sat, 23 Feb 2008 10:39:46 -0800

Leslie Viljoen wrote:
> I'd like to change is the big ugly font that all the XWindows
> menus use. the same font used in the login screen's session
> chooser menu

Is the login screen produced by gdm (uses GTK+) or kdm (uses Qt) or
xdm (uses X)?

> Firefox uses it in its menus and tabs.

Firefox does not use X directly; it uses GTK+ instead.

Make a file called .gtkrc-2.0 in your home directory with the
following content:

  gtk-font-name = "Sans 11"

Change the font value accordingly.

> Anyway, how do I change it (or at least make it smaller)?

Make a file called .Xdefaults in your home directory with the
following content:

  ! see "font5" in /etc/X11/app-defaults/XTerm
  *font: -*-terminus-*-r-*-*-20-*-*-*-*-*-iso10646-*

To determine the best value for the "*font" key, run xfontsel and
play with the various parameters. Finally, ensure that your
.xinitrc loads your .Xdefaults file with this command:

  xrdb ~/.Xdefaults

New X programs should now respect your changes.

> I have been searching for "XWindows default fonts" in google for
> hours.

Try "xdefaults".
Received on Sat Feb 23 2008 - 19:40:22 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:36:00 UTC