[openbox] 2 monitors

jouke hijlkema jouke.hijlkema at gmail.com
Thu Mar 5 04:19:38 EST 2020


Brilliant. Thanks Mikael! I should have figured that out myself ....

On Wed, Mar 4, 2020 at 3:03 PM Mikael Magnusson <mikachu at gmail.com> wrote:

> 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
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20200305/7b201184/attachment.htm>


More information about the openbox mailing list