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

Re: xterm .Xdefaults & font size



On Fri, Sep 28, 2007 at 11:37:36PM +0200, Pál Csányi wrote:
> 2007/9/28, Peter Smerdon <psmerdon@magma.ca>:
> > "Pál Csányi" <csanyipal@gmail.com> writes:
> >
> > > 2007/9/28, Neil Watson <debian@watson-wilson.ca>:
> > >> On Fri, Sep 28, 2007 at 10:43:38PM +0200, Pál Csányi wrote:
> > >> >Where can I pass the -fn argument to xterm to set up font size, using dwm?
> > >>
> > >> You can assign you xterm properties in .Xdefaults:
> > >>
> > >> # fonts
> > >> xterm*faceName: Bitstream Vera Sans Mono:style=Bold
> > >
> > > I edit the .Xdefaults :
> > > xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*
> > >

The closest I have to xterm installed is aterm and it specifies that
for '-fn' argument, use the resource name 'font' so try

xterm*font: -biznetblachblahblah
xterm*boldfont: -biznetblahblhablah

> > > run xterm but the font do not changes. Why?
> >
> > did you run 'xrdb -merge ~/.Xresources' to add the changed resources or login/out of X?
> 
> Yes, I did, I logout/login of X.

that may require a full restart of X, I'm not sure, but just FTR,
if you're already editing ~/.Xdefaults on a cli somewhere, its pretty
darn easy to do the `xrdb -merge ~/.Xdefaults && xterm` and see
results immediately. Also, I use ~/.Xdefaults not ~/.Xresources. I'm
not sure if that's critical, but sure could be.

A

Attachment: signature.asc
Description: Digital signature


Reply to: