Ubuntu – How to stop Unity 2d intercepting meta key when I’m in VirtualBox

11.10unityunity-2dvirtualbox

Whenever I'm working in virtualbox guest system and pressing meta key (aka winkey, or Mod4) a huge unity menu pop ups.

Is there any way to fix this behavior?

Best Answer

Still doesn't work, even on new profile :/. I created simple patch, to disable unity launcher and turn off highlighting menu on panel when Alt pressed.

annoying_keys_unity_2d.diff

Steps to apply it:

  • cd $build_dir (any empty dir)
  • apt-get source unity-2d
  • sudo apt-get build-dep unity-2d
  • wget https://raw.github.com/gist/1352470/eb9c736bd1041af4be04f0bafdd8e437c222ea15/annoying_keys_unity_2d.diff
  • patch -Np1 < annoying_keys_unity_2d.diff
  • cd unity-2d-4.12.0
  • dpkg-buildpackage -rfakeroot -b
  • cd ..
  • sudo dpkg -i ./*.deb