You are not logged in.
My scroll wheel currently switches workspaces if I scroll too fast. I don't have a use for workspaces, so I wouldn't mind just disabling it altogether. Can you help me?
Offline
obconf > click Desktops > set # of desktops to 1
or modify .config/openbox/rc.xml accordingly.
Last edited by brontosaurusrex (2017-03-01 21:53:13)
Offline
To just disable the scrolling, remove this from rc.xml...
<context name="Desktop">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
</context>
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
Thank you very much, guys. Appreciate it
Offline
To just disable the scrolling, remove this from rc.xml...
<context name="Desktop"> <mousebind button="Up" action="Click"> <action name="DesktopPrevious"/> </mousebind> <mousebind button="Down" action="Click"> <action name="DesktopNext"/> </mousebind> </context>
It looks like that for "BunsenLabs GNU/Linux 8.9 (Hydrogen)" the format of rc.xml is different:
<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>
<mousebind button="A-Up" action="Click">
<action name="GoToDesktop"><to>previous</to></action>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="GoToDesktop"><to>next</to></action>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="GoToDesktop"><to>previous</to></action>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="GoToDesktop"><to>next</to></action>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
But my question is different:
the fragment
<action name="GoToDesktop"><to>next</to></action>
also appears in contexts "Frame" and "MoveResize".
Do I need to remove from these contexts, too?
Offline
^ if you want to disable the feature for those contexts, then yes.
Offline