[openbox] 2 monitors

Mikael Magnusson mikachu at gmail.com
Wed Mar 4 09:00:19 EST 2020


On 3/4/20, jouke hijlkema <jouke.hijlkema at gmail.com> wrote:
> I'm trying to configure my openbox to open certain applications on a given
> desktop and a given monitor. The desktop thing works. The monitor does not.
>
> The bit of my rc.xml that should do this:
>
>     </applications>
>      <application name="gnome-calendar" class="Gnome-calendar" >
>       <desktop>10</desktop>
>       <position force="yes">
>           <x>0</x>
>           <y>0</y>
>           <monitor>1</monitor>
>       </position>
>       <maximized>true</maximized>
>      </application>
>     <application name="brave-browser" class="Brave-browser">
>       <desktop>10</desktop>
>       <position force="yes">
>           <x>0</x>
>           <y>0</y>
>           <monitor>0</monitor>
>       </position>
>       <maximized>true</maximized>
>     </application>
>    </applications>
>
> This opens brave and calendar on desktop 10 but both on monitor 0. I
> expected calendar to open on monitor 1

I'm pretty sure rc.xml starts counting desktops from 1, ie you want to
specify 1 and 2, not 0 and 1.

-- 
Mikael Magnusson


More information about the openbox mailing list