Re: [wmii] Assigning custom keybindings

From: Miernik <public_AT_miernik.name>
Date: Sat, 23 Jun 2007 07:31:56 +0200

Kai Grossjohann <kai.grossjohann_AT_de.verizonbusiness.com> wrote:
> One could use xmodmap to change the Caps Lock key (to the left of A on
> a qwerty keyboard) to behave like Ctrl, and to change the Ctrl key
> (below the left Shift key) to behave like the "windoze" key. Then one
> could use any key that's not used often to do like Caps Lock normally
> does.

That's what I do, here is how:

miernik_AT_tarnica:~$ cat /home/miernik/.Xmodmap | grep -v ^!
  keycode 66 = Control_L Control_R
  keycode 64 = Alt_L Alt_R
  keycode 37 = Meta_L Meta_R
  keycode 109 = Super_L Super_R

  clear lock
  clear control
  clear mod1
  clear mod3
  clear mod4

  add control = Control_L Control_R
  add mod1 = Alt_L Alt_R
  add mod3 = Meta_L Meta_R
  add mod4 = Super_L Super_R

-- 
Miernik
http://miernik.name/
Received on Sat Jun 23 2007 - 07:32:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:25:18 UTC