Message: previous - next
Month: May 2017

Re: Trinity and multiple screens (in X sense)

From: deloptes <deloptes@...>
Date: Thu, 11 May 2017 20:13:56 +0200
Nick Koretsky wrote:

> On Thu, 11 May 2017 04:42:12 -0400
> Felix Miata <mrmazda@...> wrote:
>> >> 
>> >> seems to describe what you are actually after, but I'm not sure I
>> >> understand what you are after, other than avoiding the screen locking
>> >> problem that I'm not finding here. I know I'm using one Xorg "screen",
>> >> and don't think I understand what problem multiple Xorg "screens"
>> >> would solve for you. --
>> > Each screen has its own coordinate system, so it avoids all problems
>> > stemming from "0:0 is an upper left corner always". The tradeoff is
>> > that you cant move windows between screens.
>> I don't understand what trouble '0:0 upper left corner always' creates.
>> My screenshot's "HDTV" is at 0,0 left of my 1920x1200 at 1920,0 to match
>> the room physics, so mouse on session start moved left goes left, moved
>> right goes right, moved down hits menu starter, panel is on right screen,
>> I can move apps between screens and have windows straddle screens. ???
> I explained that to your once, but you seems to have missed it :)
>  This not a big problem when you screen setup is permanent, there could be
>  some problems with fullscreen games but nothing critical, but as soon as
>  you want you additional, sometimes off sometimes on, monitor to be left
>  one everything goes bonkers. Because every time you connect/disconnect it
>  display coordinates of you main (right) monitor change. And that means
>  that all windows with pinned positions and all maximized windows starts
>  jumping around, you can no longer force programs to start at certain
>  position because that position is different depending on whenever second
>  display is connected or not.

Perhaps my knowledge is outdated, but AFAIR one card - one screen. Even if
the PC has multiple outputs - they are mapped to monitors in Xorg.
Dual-head cards - can be using 2 screens or two cards in PC etc, however I
never had to use one.

Your statement is partially true regarding positioning. It is true only if
the coordinates are falling outside of the active monitor.

I still think you or we are mixing up the terminology here. I now checked
few documents again and find out that my understanding was also partial

Note: The terms used in this article are very specific to avoid confusion:

    Monitor refers to a physical display device, such as an LCD panel.
    Screen refers to an X-Window screen (that is: a monitor attached to a
    Display refers to a collection of screens that are in use at the same
time showing parts of a single desktop (you can drag windows among all
screens in a single display).

I also do not understand your problem completely. For example I have a
monitor attached to two pcs. if I switch to the other pc and switch back -
programs are still where they were. If I unplug or disable the monitor via
xrandr. Programs are moved to the active monitor and resized/squeezed
whatever. I have no problem with this as I understand that the software is
trying its best to match the new available size of the monitor (resolution)

This is also interesting:

There were a lot of interesting things around wayland.