[Openbox] How to make switching windows stuck in a workspace


#1

So basically now once I use shortcuts for switching windows - it takes into consideration all the windows I open.
And I want to set it the way it jumps only inside one workspace that I am in.

Is it possible to do it?

P.S. as it said in the topic name i use openbox

Thank You
Kind regards.


#2

What shortcut are you using to cycle through open applications?


#3

The default one:
Alt-Tab
or
Super-Tab (in this case it also takes the window from another workspace)


#4

Find this in the ~/.config/openbox/rc.xml file:

    <keybind key="A-Tab">
      <action name="NextWindow">
        <allDesktops>yes</allDesktops>
        <raise>yes</raise>
        <finalactions>
          <action name="Focus"/>
          <action name="UnshadeRaise"/>
        </finalactions>
      </action>
    </keybind>

Change the allDesktops from “yes” to “no”

and restart openbox.

You can usually find what you need to know about openbox actions on this page - Openbox Actions


#5

Works perfectly.
Thank You.

Issue is solved.