Skip to content

Quick tip for Apple keyboard under Ubuntu

2007 May 2
by admin

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 :)

3 Responses leave one →
  1. December 9, 2007

    Great! Thanks!

    -Tres

  2. secoder permalink
    April 9, 2008

    Thanks. Good tip.

  3. Oliver permalink
    May 12, 2008

    Awesome!

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS