[openbox] multihead in stacked layout not working right in openbox

Mikael Magnusson mikachu at gmail.com
Wed Sep 16 07:12:45 EDT 2015


On Wed, Sep 16, 2015 at 3:57 AM, LaJoie, Chris <chris at etriptrader.com> wrote:
> So I have a setup where I have 2 monitors, one on top of the other (as in: xrandr --output DisplayPort-1  --above DisplayPort-0). Everything works fine on the top monitor, but on the bottom one (which I want to be the primary) there are several issues which may stem from the same thing.
>
> The most glaring and irritating issue is that when I try to maximize a window on the bottom monitor, the result is a full-width short window (a little over 120px tall). It seems this may be related to my bottom monitor being 1600x1200 and the top one being 1600x1080, but the numbers don't add up exactly so I'd hesitate to speculate. In any case, that size is quite unusable so I have to unmaximize it and size it manually so it fills my screen.
>
> Another problem is that openbox seems to be doing everything it can to avoid displaying any windows on this screen. If I have a GTK app opened on my bottom monitor and it opens a dialog (for example a File Open dialog), the dialog does show entirely on the bottom screen, but it's height gets forced down to the minimum the dialog will allow.
>
> Another symptom is a program for which I have an <application> element in rc.xml forcing it to display in the center of whatever screen the mouse is on. This results in the program displaying exactly half way between the top and bottom screens (when my cursor is in the bottom screen). It works correctly when the cursor is in the top screen, placing the window in the center of the screen.
>
> I am running Arch Linux with Openbox 3.6.1 (standalone).
> Is this an easy fix?

If you have any panels running, try closing them. Some panels set
hints improperly in multi-monitor setups so they're basically saying
"i'm filling this entire screen and 32px on the next screen".

-- 
Mikael Magnusson


More information about the openbox mailing list