Configuration
From Ggl's wiki
Keyboard
In ~/.xmodmap:
keycode 133 = Multi_key keycode 134 = Multi_key keycode 94 = Escape remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L
The two first lines remaps the keys 133 and 134 (respectively left and right apple) on compose (Alt Gr). I use it to write accuented characters. I obtained the keycode 134 with xev, then I pushed the right-apple key (on a Macbook).
The third line remaps the key "<>" (between the left-shift and the 'w' on an azerty keyboard i.e. I use an azerty keyboard remapped in qwerty en_US) to escape. As a vim user, I find the escape key too far from letters.
The remaining lines swaps Caps Lock and the left Control key. They come from the xmodmap(1) manpage.
Then to type accented characters:
- acute accent: Alt-Gr ' e (or a, o, n, etc...)
- grave accent: Alt-Gr ` e
- ü = Alt-Gr " u
- ô = Alt-Gr ^ o
- ç = Alt-Gr , c
- ñ = Alt-Gr ~ n
- å = Alt-Gr o a
- æ = Alt-Gr a e
- Œ = Alt-Gr O E
- ø = Alt-Gr / o
- ß = Alt-Gr s s
To enter special character from their unicode value in urxvt, hold control and shift and type de character code like control+shit+2014 = '—'.
Terminal
In .Xdefaults:
Xft*antialias: true Xft*font: Terminus Xft*dpi: 96 Xft*hinting: full xterm*utf8: 2 xterm*faceName: Mono xterm*faceSize: 8 xterm*cursorColor: #aadddd ! xterm*on2clicks: regex [^ \n]+ xterm*on2clicks: 33:48,37:48,45-47:48,38:48 xterm*on3clicks: line *customization: -color ! XLock*logoutButton: -1 XLock*logoutButton: -1 urxvt*background: black urxvt*foreground: white urxvt*scrollBar: false urxvt.font: xft:Liberation Mono:pixelsize=12 urxvt.perl-ext-common: default,url-select urxvt.keysym.M-u: perl:url-select:select_next urxvt.underlineURLs:true urxvt.urlLauncher: chromium-browser urxvt.colorUL: #86a2be
- urxvt perl plugin url-select
- ArchLinux Wiki urxvt

