Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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


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?


share|improve this question

migrated from 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

1 Answer 1

You're probably looking for the instruction #3 and Rich's comment on this blog post.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.