Search Unity

How to make Orbit (Alt-Drag) work on OpenBox

Discussion in 'Linux' started by apaatsio, Nov 10, 2015.

  1. apaatsio

    apaatsio

    Joined:
    Nov 10, 2015
    Posts:
    3
    According to this Scene View Navigation manual, you should be able to orbit the camera by pressing Alt and dragging with mouse. On OpenBox the Alt-Drag moves the window by default and therefore the orbiting doesn't work in Unity.

    I got this working by commenting out (or deleting) the following lines from ~/.config/openbox/rc.xml
    <mousebind button="A-Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="A-Left" action="Click">
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Right" action="Drag">
    <action name="Resize"/>
    </mousebind>
    <mousebind button="A-Left" action="Drag">
    <action name="Move"/>
    </mousebind>


    Remember to run openbox --reconfigure afterwards.
     
    Eraph likes this.
  2. Eraph

    Eraph

    Joined:
    Aug 15, 2015
    Posts:
    45
    Good to know. Same behaviour on Linux Mint.
    I'd actually like to use the middle mouse button to orbit, same as in Blender.