Skip to content

Instantly share code, notes, and snippets.

@atomicstack
Last active June 1, 2021 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomicstack/b0b7adba51a807198cb70f8a954fd74f to your computer and use it in GitHub Desktop.
Save atomicstack/b0b7adba51a807198cb70f8a954fd74f to your computer and use it in GitHub Desktop.
make XQuartz's xterm less fugly
# xterm args:
# xterm -fg white -bg black -en utf8 -tn xterm-256color -fa inputmono:size=14 -fn inputmono:size=14 -geometry 90x30
# see also:
# https://web.archive.org/web/20100616023737/http://yarger.asu.edu/NMR/Xdefaults.html
# https://gist.github.com/tshanks/1145068/e04565f405098193f3fe79b123fa805d0102a5ab
# https://unix.stackexchange.com/questions/332316/configure-unreadable-tiny-small-huge-xterm-fonts
# man xterm
xterm*faceName:inputmono:style=Regular:size=14
xterm*renderFont: true
xterm*saveLines: 9999999
xterm*termName: xterm-256color
xterm*VT100.geometry:90x30
# xterm*vt100.altIsNotMeta: true
# xterm*vt100.metaSendsEscape: true
# xterm*vt100.altSendsEscape: false
xterm*foreground: rgb:a8/a8/a8
xterm*background: rgb:00/00/00
# *XTerm*deleteIsDEL: true
xterm*jumpScroll: true
# xterm*colorBD: darkblue
# xterm*colorBDMode: true
xterm*activeIcon: false
xterm*awaitInput: true
xterm*scrollTtyOutput: false
xterm*scrollKey: true
# xterm*borderColor: LightBlue
# xterm*borderWidth: 5
xterm*cursorColor: LightBlue
xterm*Curses: True
xterm*pointerShape: arrow
# xterm*pointerColor: blue
xterm*scrollbar*thickness: 10
xterm*scrollbar*color: red
xterm*ScrollBar: True
xterm*scrollBar: on
xterm*rightScrollBar: true
xterm*VisualBell: True
# CGA colors
xterm*color0: rgb:00/00/00
xterm*color1: rgb:a8/00/00
xterm*color2: rgb:00/a8/00
xterm*color3: rgb:a8/54/00
xterm*color4: rgb:00/00/a8
xterm*color5: rgb:a8/00/a8
xterm*color6: rgb:00/a8/a8
xterm*color7: rgb:a8/a8/a8
xterm*color8: rgb:54/54/54
xterm*color9: rgb:fc/54/54
xterm*color10: rgb:54/fc/54
xterm*color11: rgb:fc/fc/54
xterm*color12: rgb:54/54/fc
xterm*color13: rgb:fc/54/fc
xterm*color14: rgb:54/fc/fc
xterm*color15: rgb:fc/fc/fc
# Make text bright, not fat, when it is bold
xterm*boldMode: false
xterm*colorBDMode: true
xterm*colorBD: rgb:fc/fc/fc
*Scrollbar.background: gray50
*Scrollbar.foreground: gray50
*Scrollbar.borderWidth: 0
*Scrollbar.shadowWidth: 0
*Scrollbar.thickness: 14
*Scrollbar.minimumThumb: 20
*Scrollbar.backgroundPixmap: gradient:horizontal?dimension=14&start=gray80&end=white
*Scrollbar.borderPixmap: gradient:horizontal?dimension=14&start=white&end=grey80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment