Emacs sees both Command and Option as the Super key

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
jayfinger
Posts: 2
Joined: 25. Sep 2011, 01:44
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Emacs sees both Command and Option as the Super key

Post by jayfinger »

Any suggestions on how to fix or even troubleshoot are welcome.

Problem:
emacs running on the guest sees both the Command Key and the Option Key as "super". Typing C-h c Command-A shows "s-a", typing C-h c Option-A shows "s-a". I need an Alt/Meta key!

Emacs is the only app with this problem. I really need to be able to have my Alt/Meta key functionality!

My setup:

VirtualBox 4.1.4.
Host is MacBook Pro, running Snow Leopard 10.6.8 (Software Update reports no updates available)
Guest OS: CentOS 6, Ubuntu 11.04 (both have same problem)

Note: if I copy the VM to a WIndows machine and start it under Windows VirtualBox 4.1.4 then emacs works fine. So this seems like a Mac-specific problem.
jayfinger
Posts: 2
Joined: 25. Sep 2011, 01:44
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Re: Emacs sees both Command and Option as the Super key

Post by jayfinger »

Uggh. Never mind. It's a gnome problem when using the setting to swap alt/win keys, which I only enabled when I was running under the Mac host. Swapping the keys with xmodmap instead of gnome works fine. Grrr, I thought that was fixed in gnome a long time ago. Anyhow, not a VirtualBox issue.
Post Reply