You are not logged in.

#1 2021-01-27 01:41:02

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 68

When the monitor is turned off, the window is repositioned or closed.

I am using a dual monitor, but when dpms enters the suspend or off mode and then turns on again,
the position of the program window is randomly moved or some programs (pcmanfm-qt) are closed by themselves.
So, when I manually turned off one of the two monitors, it was confirmed that all the windows on the turned off monitor moved to the turned on monitor by themselves.
It seems that some of the windows automatically close in the process of moving the windows between the monitors as the dual monitors turn off and on in dpms state.
Is there any way to keep the window's position fixed even when the monitor is turned off?

Monitors are connectd with hdmi and dvi cable.
desktop is lxqt.


- Queen Medley

Offline

#2 2021-01-27 06:47:25

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: When the monitor is turned off, the window is repositioned or closed.

Since placing windows is actually the window manager's job are you using the default (Openbox) or did you set another one?

When using Openbox perhaps ~/.config/openbox/rc.xml will give a clue.

Offline

#3 2021-01-27 08:12:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,609

Re: When the monitor is turned off, the window is repositioned or closed.

The output will likely unregister when going into powersaving mode, w/ no outputs the root window will shrink into nothing (0x0+0+0) and if you cannot coerse your WM to simply ignore that, nor your Monitors from doing it, your only chance is for the GPU driver to ignore it.
The binary nvidia X11 driver has an xorg.conf option "ConnectedMonitor", see /usr/share/doc/nvidia/README
I'm unaware of a common Xorg option to that effect, so we'd have to look at the kernel module - in particular which one you're using ;-)

Offline

Board footer

Powered by FluxBB