[openbox] Sending a window to Desktop 2

Jonas Linde jonas at init.se
Tue Jan 31 03:24:55 EST 2017


Hello!

And Luciano ES spoke unto the world. And said:
>I want Openbox to recognize new windows created by a certain application 
>and send them to Desktop 2.
>
>    <application class="Whatever" type="normal">
>	  <focusNew>no</focusNew>
>      <maximized>no</maximized>
>      <focus>no</focus>
>	  <desktop>2</desktop>
>    </application>

I believe there's an error in your config; the <configNew> tag doesn't
belong in <application> but in <focus>, like so:

  <openbox_config ...>
    <focus>
      <focusNew>no</focusNew>
    </focus>
    <applications>
      <application class="Whatever" type="normal">
          <focus>no</focus>
          <desktop>2</desktop>
      </application>
    </applications>
  </openbox_config>

At least that's what my rc.xml looks like and it behaves like you
describe that you want it to.

Cheers,
-- 
Jonas Linde <jonas at init.se> - http://jonaseel.se/ - +46-707-492496


More information about the openbox mailing list