On Wed, Nov 29, 2023 at 07:23:48PM +0100, Jan Stary wrote:
> (Same with other WM's, which makes me think
> it's a X problem, not a wm problem.)

It's an X 'feature'.

You can have several physical displays, (monitor, television, projector, etc),
that show the same desktop.

Ignore for the moment the concept of one 'desktop' spanning several displays,
that is different.  Here we are talking about one 'desktop' which is shown in
one way or another on several monitors or other devices.

If those displays have the same resolution, (and refresh rate), then it's
easy, you just send the same pixel data to all of them.

If those displays have different resolutions, then something has to happen.

You have various choices:

Scale the display to fit, show only part of the display, etc, etc.

Example:
Maybe you have a laptop with 1920x1080 and you are doing a conference with a
projector that only displays 1280x1024.  In that case you might choose to
display only the top-left part of the desktop on the projector, and use the
right hand side for things that you only want to see on the laptop screen,
(such as a clock, or other widget).

But in that case, if you 'maximise' a window, you would probably only want it
to size itself as 1280x1024 and fill the projector screen, not size as
1920x1080 to fill the laptop screen and have some missing on the smaller
projector display.

So it is not really an 'X problem' it's an intended feature.

> 1. Why are there two "outputs" recognized
>    when the machine only has a (visible) VGA
>    connected by a VGA cable to the monitor?

Because your hardware supports those outputs at a lower level.  The board
you have is a D525MW.  There was another version of that board D525MWV which
actually had the LVDM connector header on it.

> 2. How can I make the VGA the primary globaly,
>    so that users don't need to say that in their ~/.xsession ?

An xorg.conf similar to that which I sent you, (with the names of the outputs
changed to what the machines actually have), does that on at least two
multi-headed machines that I have here.  However neither of those
is using Pineview or the intel driver, they are much newer and using the
modesetting driver.

Off the top of my head I would try adding a monitor section for the lvds
output and including:

Option "Disable" "true"

but that's just speculation as none of the machines I've tested required it.

Reply via email to