You are not logged in.

#1 2017-03-01 21:12:32

BBQhungry
New Member
Registered: 2017-03-01
Posts: 2

[SOLVED] Disable workspace switching?

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

#2 2017-03-01 21:30:49

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: [SOLVED] Disable workspace switching?

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

#3 2017-03-01 22:16:09

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [SOLVED] Disable workspace switching?

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

#4 2017-03-02 02:16:06

BBQhungry
New Member
Registered: 2017-03-01
Posts: 2

Re: [SOLVED] Disable workspace switching?

Thank you very much, guys. Appreciate it

Offline

#5 2018-02-09 06:22:11

ainoneko
Member
Registered: 2016-07-03
Posts: 8

Re: [SOLVED] Disable workspace switching?

hhh wrote:

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

#6 2018-02-09 07:24:52

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] Disable workspace switching?

^ if you want to disable the feature for those contexts, then yes.

Offline

Board footer

Powered by FluxBB