Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Mint 19.2 on my desktop which has both a Samsung 24in monitor as well as a new LG UHWQ 34in monitor which are setup in Mint as continuous display (side by side).
Every time I wake up the computer (or cold boot it), if one monitor is turned off or not on the proper input, Mint thinks the monitor is unplugged and proceeds to reconfigure my desktop as duplicate.
This literally happens every time. I have to go to Display and uncheck "MIrror displays" then drag the smaller monitor to the proper side, and click apply.
Not a huge task but I cannot force Mint to save the config and stick to it.
Anybody has seen this before? I cannot recall if the previous Mint releasee did that but I sure can tell you windows 10 no matter how much I hate it doesnt do that at all.
IMO, this is the correct behaviour when the monitor is switched off when you start the machine.
You could write a small script that configures the monitors as you want - an xrandr oneliner - arandr can actually do that for you. Then bind that script to a hotkey that you press after you switch both monitors on.
I mentioned "switched off" but most of the time, they are on a different input. I use both monitors for my desktop as well as for my work laptop. When I shutdown work laptop and resume the desktop, if the monitors are still on the input from the laptop, Mint does what I said.
The command you suggested gave:
Code:
Screen 0: minimum 8 x 8, current 5360 x 1440, maximum 32767 x 32767
HDMI-0 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 800mm x 335mm
DVI-D-0 connected 1920x1080+3440+0 (normal left inverted right x axis y axis) 477mm x 268mm
3440x1440 59.97*+ 49.99 29.99
1920x1080 60.00*+ 50.00
Perhaps this is because I am used to Windows behaviour in regards to dual monitors and when one of them is on a different input, Windows still assumes the desktop spans to it and you simply don't see the windows or stuff on it, but the desktop remains across monitors. Another annoyance, the LG monitor (HDMI-0) doesn't auto switch inputs.
I will fiddle with a hotkey of some sort. I am imagining pressing a keyboard combo to restore the display settings.
^ sounds messy.
Nevertheless, mrmazda says it works for them:
Quote:
Originally Posted by mrmazda
When I start a Cinnamon session, the displays just naturally go side by side as extended desktop.
Interesting.
So trying to reproduce OP's problem, they still go side by side "automagically"?
I wonder how this is achieved under the hood - Xorg itself, or cinnamon, or something else?
So trying to reproduce OP's problem, they still go side by side "automagically"?
I wonder how this is achieved under the hood - Xorg itself, or cinnamon, or something else?
Automagic happens also in IceWM, KDE3, TDE and Plasma, maybe XFCE too, which I use very rarely. Plasma always brings up a great big graphic here, apparently expecting a confirmation, or facilitating rearranging. I always X it away, not wanting Plasma to save anything to do with display settings. I do those globally through /etc/X11/*, and do a lot of PC, OS, display and output swapping.
It seems likely the Xorg server started doing this itself somewhere between v1.17.2 (openSUSE 42.1) and v1.18.3 (Debian 9). It also might be KMS between kernels 4.4 and 4.9, or a mix of kernel and server.
The GPUs I used over the past few hours to check were GeForce 8400S/GT218 (2010; DVI, HDMI & VGA), Quadro NVS 310/GF119 (2012; dual DisplayPort) using mostly modesetting DDX, 1 or 2 using nouveau DDX, and X4500 Intel using modesetting DDX.
Replying because I have not found a quick workaround yet. Yes this is UBER messy. I just did a quick check, with both monitors ON and their inputs toward the Mint desktop, the display dialog box is the First screenshot below (monitors side by side, not mirrored).
Then I simply switched the input of the LG monitor to the 2nd input (laptop), Mint reconfigured the desktop on the Samsung as a single display as seen on the second picture (mirrored displays).
During the day, I have to often switch between my desktop and laptop's displays by flipping the monitors inputs, and always end up re-configuring the displays in Mint while Windows 10 keeps going and going (this is about the only time I will give windows the thumbs up).. This happens 10 times a day.
I may be misunderstanding how all that stuff works, but this looks like Mint sees the monitor input switch as if the monitor was unplugged... To avoid this issue, when in Windows, I need to ensure that:
1. The desktop is either in sleep mode or OFF
2. I flip both monitors input to the proper inputs (to the Mint desktop)
3. Power on or wake up the Mint desktop
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.