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

Re: Setup xterm to use TrueType Fonts in .Xresources (was Xdefaults) - SOLVED



Csanyi Pal <csanyipal@gmail.com> writes:

> Hi Chris,
>
> Chris Jones <cjns1989@gmail.com> writes:
>
>> On Sun, Feb 20, 2011 at 11:15:08AM EST, Csanyi Pal wrote:
>>
>>> 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
>
> This doesn't work for me.
>
>> 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 using xdm for starting X.
>
>>> I'm not sure whether is the renderFont option the right option for
>>> setting up xterm for TrueType Fonts?
>>
>> You could also try ‘faceName’.
>
> These lines bellow in my ~/.Xresources did the trick: :)
>
> xterm*geometry: 140x43
> xterm*faceName: default
> xterm*cursorBlink: true
> xterm*cursorUnderLine: true
>
>> Check ‘man xterm’.
>
> Yes.

-- 
Regards, Paul
<http://csanyi-pal.info>


Reply to: