xkbset

Am I the last xkbset user on the planet?!

I've been an xkbset user for a long while now (I'd estimate at least since 2001). I'm someone who can't stand two things when working with laptops:

  • 1) I hate it when they don't have a 3rd mouse button (for all my handy-dandy copy/paste goodness under X)
  • 2) I hate it when they have all these damned unused keys all over the keyboard (Windows key, Internet Explorer key, email key, "arrow clicky on an abstract pull-down menu key")

Well, the wunnerful thing about Linux and X is that I could remap those useless keys to more useful functions. Couple this fact with the powerful fbkeys in Fluxbox, and I can set up some pretty useful combinations.

For example, in every laptop I've had thus far there's been a useless Windows key down on the left of the keyboard between the CTRL and the ALT. This is as good a place as any for a middle mouse button, so I've always remapped it with some variation of the following:

xkbset m
xkbset exp =m
xmodmap -e "keycode 115 = Pointer_Button2 Pointer_Drag2"

(Obviously, keycode 115 has to be changed when that number isn't valid)

Anyway, everything's been hunky-dory for a while now and I've been a content and happy beaver... At least, until sometime this last week....