Using Oneiric 11.10 and Unity. I want to disable the context menu that appears with Alt+RightClick. Alt+RightClick is a much used shortcut in Blender. It's possible to remap keys in Blender, but I was hoping to be able to turn it off in Ubuntu so that Blender get scontrol. I update my Blender installation often, so it's more convenient not to have to change settings every time.
It's in CCSM ▸ General ▸ General options ▸ Key bindings ▸ "Window Menu" ( Alt + Button3)
Because disabling it does not work (at least in 12.04 and 12.10, probably earlier versions too), you will need to change the shortcut to something else, like Super + Button3.
Warning - You should be very careful when using
ccsm; see this question for details.
Based on this site, overall:
- Install dconf-tools using
sudo apt-get install dconf-tools
- Launch the app
- Navigate org -> gnome -> desktop -> wm -> preferences.
- Set value of mouse-button-modifier to: none will disable Alt + left/right/middle key at next login OR switch to other keys, such as
Hopefully this will help you out.
Hmm, there is a bug in ubuntu / unity related to hardcoded shortcuts. Thats why changing the shortcuts in settings does nothing.
For anyone who is searching solution for this problem - i think there is none for now (other than changing it in the ubuntu / unity code). You can only change the shortcut in blender, or you can use in blender shift+alt+rmb instead of alt+rmb, which is generally the same, but stands for add loop to selection (with shift), not select loop.
You can check the details about the ubunut bug here: https://bugs.launchpad.net/unity/+bug/1022743
There is bug and it can be disabled. Instead we need to assign it to some less or not used shortcut. So i used Crtl+Shift+Alt+Button2(middle button of mouse). There is no other option than mouse buttons to use. Though there are up to 20 button options, choosing button20 dummy will reset it to button3 or any of the button you set before.
Crtl+Shift+Alt+Button2 as shortcut
Note: And you need CCSM to do this.