Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 1998 12:22:18 -0600
From:      allen campbell <allenc@verinet.com>
To:        lfloyd@sonic.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: Q: setting the default font for xterm
Message-ID:  <19980704122218.A1775@verinet.com>
In-Reply-To: <199807040002.RAA08825@hub.freebsd.org>; from questions-digest on Fri, Jul 03, 1998 at 05:02:34PM -0700
References:  <199807040002.RAA08825@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> The "default" font is too small when I start an xterm session (using
> ctwm, if that matters).  I end up ALWAYS setting the font to "large"
> after the session starts.  Where do I set this, not only for me as an
> individual, but as the system default.

You need to specify a resource; XTerm*Font specifically.  You can
read about resources in the X man page.  Resources specific to
xterm can be found in the xterm man page. BTW, resources are simply
name=value pairs that are made available to X clients through the
xrdb program.

Figure out how X resources work before dealing with setting up a
system-wide default.  You can set up private resources in your
$HOME/.Xresources file.  Once you have these happy, you need to
figure out where to put the resources so that they are read by
default for all X sessions.

Establishing a system-wide resource involves setting the resource
in one of the system-wide resource files that is read when you
start X.  If you use startx, read the xinit man page for the standard
location of X resources.  If your using xdm, the resource database
location is documented in the xdm man page.

-- 
  Allen Campbell
  allenc@verinet.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980704122218.A1775>