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

Re: Setup xterm to use TrueType Fonts in .Xdefaults



On Sun, Feb 20, 2011 at 11:15:08AM EST, Csanyi Pal wrote:

> Hi,
> 
> I'm trying to setup in .Xdefaults for xterm to use TrueType Fonts so I
> don't must use every time the 'control' key and pointer button three to
> set this up in the VT Fonts menu. 
> 
> I want also to setup the geometry for xterm and enable blinking cursor
> too. 
> 
> Lines that I tried to use for this setup in .Xdefaults doesn't works
> when I log out/in into X Window system, but only works when I run the
> command 'xrdb -merge .Xdefaults':
> 
> xterm*geometry: 90x40
> xterm*renderFont: default
> xterm*cursorBlink: true

try (untested): 

  xterm.VT100.renderFont: default

Not sure what font ‘default’ points to..

> Also when I start another xterm window after run the command 
> 'xrdb -merge .Xdefaults' I can't use the xterm menus anymore (control
> key and mouse buttons) because the menus become so large that it can't
> be displayed.

Depending on how you start X (startx?).. you could add your ‘xrdb -merge’
comnand to your ~/.xinitrc.

> I'm not sure whether is the renderFont option the right option for
> setting up xterm for TrueType Fonts?

You could also try ‘faceName’.

Check ‘man xterm’.

cj


Reply to: