Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using NX Client on Mac OS X 10.6 to access my Ubuntu 10.04 machine. I would like to use the Option/Alt key to Alt-Tab in the window manager and as the Meta key in Emacs.

Some searching on the internet suggests that I set my OSX ~/.Xmodmap file to:

keycode 66 = Alt_L
clear Mod1
add Mod1 = Alt_L Alt_R

Or:

clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
add Mod1 = Meta_L
add Mod2 = Mode_switch

Neither did the trick. Any suggestions?

Thanks!

share|improve this question

migrated from stackoverflow.com Jun 14 '11 at 20:33

This question came from our site for professional and enthusiast programmers.

    
It seems that Mac OS X captures some of the necessary key commands. This seems to be a change from before. Anyway, I stopped trying to do this and installed ubuntu on a separate partition on my mac. Ugh. – nwhsvc Aug 4 '10 at 18:42

You're probably looking for the instruction #3 and Rich's comment on this blog post. http://www.edwardotis.net/tech/?p=224

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .