How to Turn Off Changing Desktops When Scrolling Touchpad in Lubuntu12.04 ?

Martin Bagge / brother brother at bsnet.se
Fri Oct 12 16:37:20 UTC 2012


On Fri, 12 Oct 2012, Lee Gold wrote:

> Using 12.04 with laptop. Moving the finger along the right edge of the
> touchpad acts as a scroll wheel. If the cursor is not in any app window
> but is in open desktop area then this scrolling action will transport
> one to a different desktop.
>
> I want to turn off all desktop changing with the touchpad. I only want
> the right click at the top of the window border which gives me the
> option to take that window to a different desktop - I want no other
> desktop changing action enabled with the mouse/touchpad.
>
> I used to go into /home/userone/.config/openbox/lubuntu-rc.xml and make
> changes. But this file and the syntax in there has changed slightly
> since 10.x and now I'm not sure how to do it.

Correct place.

> How to do? Thanks!

This is what I have and I believe it is standard.
     <context name="Desktop">
       <mousebind button="Up" action="Click">
         <action name="DesktopPrevious"/>
       </mousebind>
       <mousebind button="Down" action="Click">
         <action name="DesktopNext"/>
       </mousebind>
     [...]
     </context>


button="Up" is the action to take when you do "scrollwheel up"
button="Down" is the action to take when you do "scrollwheel down"

If you want no action just remove those sections from the config file.

When done issue
   openbox --reconfigure

Good luck!

See this manual:
http://openbox.org/wiki/Help:Bindings#Context

-- 
/brother
http://martin.bagge.nu
Bruce Schneier doesn't need to hide data with steganography - data hides from Bruce Schneier



More information about the Lubuntu-users mailing list