[openbox] Using Mouse To Change Virtual Desktops

Andrew Gallant jamslam at gmail.com
Thu Jun 28 15:11:59 EDT 2012


>> i do that all the time by scroll when mouse pointer is at an edge of the
>> screen.
>>
>
> How is that particular action defined in the openbox configuation
> file, rc.xml?
>
> For changing desktops the only action that seems to be available is
> the "GoToDesktop" action:
>
> http://openbox.org/wiki/Help:Actions#GoToDesktop
>
> Can this action be somehow bound to the mouse?

Yes. I'm pretty sure this is in the default rc.xml file:

<context name="Desktop">
    <mousebind button="Up" action="Click">
      <action name="GoToDesktop"><to>previous</to></action>
    </mousebind>
    <mousebind button="Down" action="Click">
      <action name="GoToDesktop"><to>next</to></action>
    </mousebind>

    ...
</context>

> What I would like to do is just move the mouse pointer to the screen
> edge and, after a short delay, thereby jump to the adjacent desktop
> in that direction.  AFAIK, it seems that there are no openbox actions
> that would correspond to this.

I don't know of any either.

- Andrew


More information about the openbox mailing list