Skip to content

Instantly share code, notes, and snippets.

@zinovyev
Created November 16, 2014 22:24
Show Gist options
  • Save zinovyev/d4263e1ba1fef75a0b42 to your computer and use it in GitHub Desktop.
Save zinovyev/d4263e1ba1fef75a0b42 to your computer and use it in GitHub Desktop.
.Xresources
! To reread your .Xresources file, and throw away your old resources:
! xrdb ~/.Xresources
!
! To reread your .Xresources file, and keep your old resources:
! xrdb -merge ~/.Xresources
! XTerm config
!
! Color scheme
xterm*termName: xterm-256color
! Adding the following line to your resource file will then make xterm interpret all incoming data as UTF-8 encoded
XTerm*locale: true
! If you use the Alt key for keyboard shortcuts, you will need this in your resource file
XTerm*metaSendsEscape: true
! Scrolling
Xterm*saveLines: 4096
! This does start xterm in an 80 column by 32 row main window, but it also forces the menu windows to be 80 pixels by 32 pixels
xterm*VT100.geometry: 80x32
! Clipboard
XTerm*VT100.translations: #override <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)
! Colors: Xterm's foreground color (the text color) and the background color may be set from the command line, using the options -fg and -bg respectively
XTerm*foreground: rgb:b2/b2/b2
XTerm*background: rgb:08/08/08
! XTerm fonts
xterm*faceName: Terminus:size=12:antialias=true
xterm*font: 7x13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment