Wink Saville’s Blog

July 5, 2009

Apple keyboard delete to right key remapping

Filed under: What I learned today, linux — wink @ 1:56 pm

Had some trouble getting the small aluminum keyboard to do a delete to the right. But with the help of this post I got it workings. Basically you need to create a .xmodmap file in your home directory with with the keycode of the key that you want to be Delete in this case 169 is for the “eject” button:

keycode 169 = Delete

Also by adding to .xmodmap:

keycode 133 = Alt_L MetaL

keycode 134 = Alt_R MelaR

You can map the command keys to Alt left and right respectively. You can use the “xev” program to determine the keycodes.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress