Skip to content


Quick tip for Apple keyboard under Ubuntu

I am currently using my Apple keyboard with my Ubuntu workstation; if you use this kind of setup, you probably would like to remap the Apple key and make it behave like the left Alt key.

To make this happen, simply create an .xmodmap file in your home folder and put the following lines into it:


keycode 115 = Alt_L Meta_L
add mod1 = Alt_L Meta_L

Then, execute the following command:


xmodmap ~/.xmodmap

VoilĂ , the Apple key has become a left Alt key, enjoy :)

Posted in customization, ubuntu.

3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Great! Thanks!

    -Tres

  2. secoder said

    Thanks. Good tip.

  3. Oliver said

    Awesome!

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.