Available languages

Useful links
Читать на русском

Saturday, April 14, 2012

How to disable alt drag Ubuntu Unity

With Unity-2D, this is controlled using the /apps/metacity/general/mouse_button_modifier GConf key. To disable Alt+Click dragging, run
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string disabled
To re-enable it, run
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string ''
Note that this GConf key controls several mouse shortcuts:
  • Alt+Click: Move windows
  • Alt+Middle Click: Resize windows
  • Alt+Right Click: Open a generic window menu
N.B: Disabling the modifier in this way can lead to the Alt+Drag behavior when no modifier keys are pressed (Every drag behaves like Alt+drag) Setting the modifier to '' makes the Super/Windows key the modifier. Alt+Drag can then be used by applications, and Super+Drag to move the window.
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string '
 
Link:
http://askubuntu.com/questions/80623/how-to-disable-altclick-from-moving-windows 

No comments: