Pet*_*ike 17 window-manager unity-2d
如何在 Ubuntu 11.10 (unity-2d) 中禁用移动窗口中的 alt+click 组合?
Eva*_*der 16
对于 Unity-2D,这是使用/apps/metacity/general/mouse_button_modifierGConf 键控制的。要禁用 Alt+单击拖动,请运行
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string disabled
Run Code Online (Sandbox Code Playgroud)
要重新启用它,请运行
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string '<Alt>'
Run Code Online (Sandbox Code Playgroud)
请注意,此 GConf 键控制多个鼠标快捷键:
注意:以这种方式禁用修饰符会在没有按下任何修饰键时导致 Alt+Drag 行为(每次拖动的行为类似于 Alt+drag) 将修饰符设置为“<SUPER>”会使 Super/Windows 键成为修饰符。然后应用程序可以使用 Alt+Drag,并使用 Super+Drag 移动窗口。
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string '<SUPER>'
Run Code Online (Sandbox Code Playgroud)
对于 Unity 3D