[openbox] Problem with maximised windows using multiple displays and tint2 panel

Anthony Thyssen a.thyssen at griffith.edu.au
Sun Feb 4 19:54:20 EST 2018


You need to get openbox to specify the appropriate margins for your setup.

For me this is...  (in ".config/openbox/rc.xml")

  <margins>
    <top>0</top>
    <bottom>28</bottom>
    <left>60</left>
    <right>0</right>
  </margins>

Just fill in the details for your setup, and restart

You can check what openbox (or other window manager) set it by looking at
the display
properties, using the "xprop" command to gather the information...
xprop -root | grep _NET_DESKTOP_GEOMETRY\(
xprop -root | grep _NET_NUMBER_OF_DESKTOPS\(
xprop -root | grep _NET_WORKAREA\(

In sequence this returned the size of the display, the number of desktops,
then the workarea on
each desktop (x,y,width,height).  For openbox those four numbers just
repeat for each desktop.
I have a 1920x1080  pixel display,  with 4 desktops  each with a workarea
of 60, 0, 1860, 1052

NOTE: Not all applications follow the defined window manager workarea.
Especially the older ones.


On Sun, Feb 4, 2018 at 7:51 AM, Dan MacDonald <allcoms at gmail.com> wrote:

> Hi
>
> I am running tint2 git with the standard openbox package as used in
> Ubuntu 17.10 ie 3.6.1. tint2 has a config option called strut_policy:
>
> https://gitlab.com/o9000/tint2/blob/master/doc/tint2.md#panel
>
> When strut_policy is set to 'follow_size', maximised windows shouldn't
> cover the tint2 panel and indeed that is the case for my primary
> display but not for my secondary, smaller display. The bottom of
> maximised windows get obscured by the tint2 panel on my smaller, 1080
> display.
>
> At first I suspected this was more likely to be a bug in tint2 so I
> quizzed its developer but he believes tint2 is acting correctly so
> maybe I have misconfigured openbox or this is an openbox bug? I have
> posted my openbox config, tint2 config and other details in this
> ticket:
>
> https://gitlab.com/o9000/tint2/issues/696
>
> Please let me know if any more details about my config are required
>
> Thanks
> _______________________________________________
> 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/20180205/0d5c21d5/attachment.html>


More information about the openbox mailing list