The right way to swap the left CTRL key and the CAPS LOCK key under Linux (Debian and probably others):
$ sudo cp /etc/console/boottime.kmap.gz /etc/console/boottime.kmap-DIST.gz
$ sudo vim /etc/console/boottime.kmap.gz
Swap Control and Caps_Lock on these lines:
keycode 29 = Control
keycode 58 = Caps_Lock
That should take care of the console. To fix X, edit /etc/X11/xorg.conf, and add this line to the keyboard InputDevice section:
Option "XkbOptions" "ctrl:swapcaps"
Restart X with:
$ sudo /etc/init.d/gdm restart
Failing the above, you can just issue the command:
setxkbmap -option ctrl:swapcaps
This can also be put in you .xsession file.
The C Programming Language: 4.10 C functions may be used recursively; that is, a function may call itself either directly or indirectly. Uninquiring souls may take this as just another peculiarity of those C folk, of whose ways the…
_why's Estate Hey, welcome to my collection of why the lucky stiff links. Everything _why has published on the internet should be accessible from here. It works sort of like a museum that sells maps. Many of his ab…
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo - Wikipedia, the free encyclopedia "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo." is a grammatically correct sentence used as an example of how homonyms and homophones can be used to create complicated constructs. I…
The Black List 2009: Full Roster – Deadline.com The Black List 2009: Manager Score Card The Black List 2009: Agency Score Card…
Warzone Tower Defense Go to Mad Cow Forum for feedback…
Protovis Protovis is free and open-source, provided under the BSD License. It uses JavaScript and SVG for web-native visualizations; no plugin required (though you will need a m…
Readability - An Arc90 Lab Experiment READABILITY is a simple tool that makes reading on the Web more enjoyable by removing the clutter around what you’re reading. Follow the steps below to install READABILITY in your Web browser.…
Vacuum coffee maker - Wikipedia, the free encyclopedia A vacuum coffee maker brews coffee using two chambers where vapor pressure and vacuum produce coffee which is clean, crisp, rich and smooth compared to other brewing methods. This type of coffee maker…
The Setup This is some sort of waferbaby shindig. Sorry about that. Really.…
The Watcher: Sex, secrets and 'Dollhouse': Joss Whedon talks about the end of his Fox show What's below is a feature based on a Dec. 2 interview with Joss Whedon about "Dollhouse," "Dr. Horrible's Sing-Along Blog," "Glee," "Terminator" and various other things. Below the story is the full …
The Rise and Fall of Design Within Reach The Wigan Garden Spade is a thing of verdant beauty. Its hunter-green steel and sunny ash-wood handle evoke the pastoral fantasias of an aspiring gentleman farmer -- a dwarf maple in your yard, perhap…
Official Google Blog: Introducing Google Public DNS Sign up to get our posts via email. No more than one message per day.…
How I Hire Programmers (Aaron Swartz's Raw Thought) There are three questions you have when you’re hiring a programmer (or anyone, for that matter): Are they smart? Can they get stuff done? Can you work with them? Someone who’s smart but do…
The 50 most interesting articles on Wikipedia « Copybot Deep in the bowels of the internet, I came across an exhaustive list of interesting Wikipedia articles by Ray Cadaster. It’s brilliant reading when you’re bored, so I got his permission to…