Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 20:43:53 +0530
From:      "N. Raghavendra" <raghu@mri.ernet.in>
To:        herbert langhans <herbert.raimund@gmx.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: X Window - how to get the standard font
Message-ID:  <868wljcx1q.fsf@riemann.mri.ernet.in>
In-Reply-To: <20090428230135.2d0d945d.herbert.raimund@gmx.net> (herbert langhans's message of "Tue, 28 Apr 2009 23:01:35 %2B0200")
References:  <20090428230135.2d0d945d.herbert.raimund@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 2009-04-28T23:01:35+02:00, herbert langhans wrote:

> #xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
> - the same appears in the fontsize I like.
>
> Now the question:
> Can I set the bigger font somewhere, so that i.e. xmessage appears
> always in the preset, bigger font without typing the whole -fn
> -*-*.... string in? Somewhere in .xinitrc?

You can add the line

xmessage*font: -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-*

to the file `~/.Xresources'.  (I think that file is read at the start
of the X session, but to be certain you can add

xrdb -merge ${HOME}/.Xresources

to ~/.xinitrc or ~/.xsession, as the case may be.  I personally keep
my Xresources elsewhere, and merge them as above.)

HTH,
Raghavendra.

-- 
N. Raghavendra <raghu@mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.



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