[openbox] window placement

TT turkuting at gmail.com
Wed Apr 22 14:36:19 EDT 2015


On 04/22/2015 07:28 PM, Ian Zimmerman wrote:
> This should work.  Doesn't it?  How not?
>
>    <placement>
>      <center>yes</center>
>    </placement>
>
no, it doesn't.
how? well, opening a new window on an empty dekstop always opens it in 
the top left corner.
the relevant section of rc.xml:

<placement>
    <policy>Smart</policy>
     <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
     <!-- whether to place windows in the center of the free area found or
     the top left corner -->
    <monitor>Active</monitor>
     <!-- with Smart placement on a multi-monitor system, try to place 
new windows
     on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
     the active window is -->
    <primaryMonitor>1</primaryMonitor>
     <!-- The monitor where Openbox should place popup dialogs such as the
     focus cycling popup, or the desktop switch popup.  It can be an index
     from 1, specifying a particular monitor.  Or it can be one of the
     following: 'Mouse' - where the mouse is, or
     'Active' - where the active window is -->
</placement>

i also tried commenting out the other options, so it looked exactly like 
you suggested, but no change.

actually i remember i was complaining about this earlier, and dana 
jansens confirmed it.
i also vaguely remember someone saying that the development branch has 
re-implemented this feature.

can someone make further comments, suggestions, confirm, deny?

thanks.

tt.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20150422/b2732161/attachment.html>


More information about the openbox mailing list