Sticky keys save my hands from RSI

Posted: April 12, 2007 in Applications, Emacs, GNU/Linux

There are some keystrokes that are quite painful if you type them over and over. The worst ones are those where your thumb has to wander below your palm. On my german dvorak keyboard M-q (which runs fill-paragraph in emacs) is such a candidate. But all one-handed keystrokes can be a source of RSI.

Today some newsgroup posting pointed my attention to the topic of sticky keys. With sticky modifier keys, if you want to type C-x M-a Z for example, you can instead type its linear form Control x Meta a Shift z. As I said, you can, but you can still use the normal press-keys-in-parallel variant.

Ok, so how do you get sticky keys? For the linux console you have to edit your keymap. You have to replace the symbols Control, Alt and Shift with their sticky counter parts SCtrl, SAlt and SShift. I did that for my custom German Dvorak Type II keymap you can fetch from http://www.tsdh.de/cgi-bin/wiki.pl/Configs.

For X11 you have to get the AccessX utility or use the control center of your desktop environment, if you use one and it provides an option for sticky keys. KDE and GNOME do AFAICT. The command line AccessX tool ax explains itself with ax help.

Happy typing. ;-)

Advertisements
Comments
  1. bojohan says:

    XEmacs has built-in support for sticky keys, btw.

  2. Tassilo Horn says:

    Cool, but I like to have sticky keys in everywhere. Currently I still use some applications beside emacs, like a shell running screen, a graphical browser and gimp. :)

  3. Zed says:

    For a long time, I’ve thought chording was a Bad Thing, but I’m coming around to considering only bad chording to be a Bad Thing and good chording to be a Good Thing.

    I’ve been experimenting with a variant on this number row tweak. All frequently used mod-keys are available to the strong fingers of both hands. So long as you avoid chords of more than two keys (I’ll have to remap M-< and all the M-shifteds), you can always make the chord with one keypress per hand, and without moving your hands much.

  4. AgainstMice says:

    Believe me mice destroy your wrists and forearms. You should use shortcuts as much as possible. Consider an Enterpad keyboard if you have too many shortcuts to remember.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s