X Defaults

Table of Contents

1 RXVT Unicode

So far the best/nicest terminal emulator I've worked with. It is very configurable.

urxvt.internalBorder: 0

urxvt.loginShell:      true
urxvt.scrollBar:       false
urxvt.secondaryScroll: true
urxvt.saveLines:       65535
urxvt.cursorBlink:     false
urxvt.cursorUnderline: true
urxvt.urgentOnBell:    true
urxvt.termName:        rxvt-256color
urxvt.visualBell:      true

urxvt.perl-lib:        /usr/lib/urxvt/perl/
urxvt.perl-ext-common: default,matcher,searchable-scrollback
urxvt.urlLauncher:     firefox
urxvt.matcher.button:  1

urxvt.font: xft:DejaVu Sans Mono:weight=medium:pixelsize=16
urxvt.boldFont: xft:DejaVu Sans Mono:weight=black:pixelsize=16
urxvt.italicFont: xft:DejaVu Sans Mono:slant=italic:pixelsize=16
urxvt.transparent: true

1.1 Colors

Even the terminal has to look nice.

urxvt.background: #252a2b
urxvt.foreground: #eeeeec

urxvt.color0:  #0c191c
urxvt.color8:  #2e3436

urxvt.color1:  #a40000
urxvt.color9:  #ef2929

urxvt.color2:  #4e9a06
urxvt.color10: #8ae234

urxvt.color3:  #c4a000
urxvt.color11: #fce94f

urxvt.color4:  #204a87
urxvt.color12: #729fcf

urxvt.color5:  #5c3566
urxvt.color13: #ad7fa8

urxvt.color6:  #9f5902
urxvt.color14: #e9b96e

urxvt.color7:  #babdb6
urxvt.color15: #d3d7cf


I've looked at what kind of fonts I like best, this XFT configuration comes pretty close.

Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight

3 Emacs

Although pretty much everything is configurable in emacs itself, some settings take effect faster here than in its own config.

Emacs.font: DejaVu Sans Mono:weight=medium:pixelsize=16
Emacs.menuBar: off
Emacs.toolbar: off
Emacs.useXIM: off

4 Xfontsel

When looking at (X) fonts it can be nice to already see some code, since that's what I work with most of the time anyway.

xfontsel.sampleText: \
static void print_sample_message(XWindow *win) {\n\
  win.label->text = "Sample text 0123456789"\n\

xfontsel.sampleText16: \
static void print_sample_message(XWindow *win) {\n\
  win.label->text = "Sample text 0123456789"\n\

xfontsel.sampleTextUCS: \
static void print_sample_message(XWindow *win) {\n\
  win.label->text = "Sample text 0123456789"\n\

Date: 01-07-2012 14:38:14

Org version 7.8.11 with Emacs version 24

Validate XHTML 1.0