I am trying to get my xterm window under gnome to open with large fonts,
with light green foreground and dark green background. I have the
following .Xdefaults file contents:

$ cat .Xdefaults
! This is a comment ;-)

#ifdef COLOR
*customization: -color

!! Let's cast a wide net, for any app supporting these
! Blink instead of beeping
*visualBell: True
*scrollTtyOutput: False
*scrollKey: True

XTerm*saveLines: 1500
! Do not clear the screen after the program exits
XTerm*VT100*titeInhibit: true

! Enable soft cut and paste
XTerm*VT100.translations: #override \

! Fix up xterm's keybindings
xterm*VT100.translations: #override \
<Key>BackSpace: string(0x7F) \n\
<Key>Insert: string(0x1b) string("[2~")\n\
<Key>Delete: string(0x1b) string("[3~")\n\
<Key>Home: string(0x1b) string("[1~")\n\
<Key>End: string(0x1b) string("[4~")\n\
<Key>Page_Up: string(0x1b) string("[5~")\n\
<Key>Page_Down: string(0x1b) string("[6~")\n\
<KeyPress>Prior: scroll-back(1,page)\n\
<KeyPress>Next: scroll-forw(1,page)

! Set xterm defaults
Xterm*background: darkgreen
Xterm*foreground: lightgreen

Xterm*font: 9x15


At some point I had the colours displaying correctly but I could not get
the default font to change to large. In an attempt to get Xterm to use
the above file I ran the command:

$ xrdb ~/.Xdefaults

Now when xterm opens I have a black on white display with tiny fonts. I
have to use Xterm in a specific instance because the version of gnome
terminal that ships with CentOS-5 breaks vt102 emulation horribly. I have
already spent way too much time trying to get Xterm and Xdefaults to work
together as they should. I do not understand what it is that I am missing
or doing wrong. Can somebody please point out what is wrong with my

I have already read, and reread, the man page.


*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:[email protected]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcentos @
postedJul 29, '08 at 3:37p
activeJul 29, '08 at 5:35p

2 users in discussion

Bill Campbell: 1 post James B. Byrne: 1 post



site design / logo © 2023 Grokbase