Page 1 of 1

Emacs sees both Command and Option as the Super key

Posted: 27. Oct 2011, 01:47
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.

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

Posted: 28. Oct 2011, 00:52
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.