Is there any way to control how Linux uses the second monitor?

Deadjasper

2[H]4U
Joined
Oct 28, 2001
Messages
2,346
There doesn't seem to be any rhyme or reason to Linux's use of the second monitor. My second monitor is used for monitoring my ip cams via browser and for nothing else. I was using Opera but an update broke it so it only opens on the primary monitor. So in the garbage it went. Most all of the other browsers I tried had issues also. I finally settled on Chrome. I close it on the second monitor and the next time I start it it starts on the second monitor. But anyway, if I can get all programs and dialog boxes to open on the monitor they were las closed on that would be ideal.

Now the issue that bothers me the most is dialog boxes opening on the second monitor. All dialog boxes do this, some randomly and some all the time. For example, my main browser for internet use on my primary monitor, Vivaldi, opens it's settings window on the second monitor and nothing I do will change this.

Both monitors are running at 1920 x 1080p. Both monitors are 23". Both monitors are 60Hz refresh.

Sometimes a program, file or picture will spill over to the second monitor and dialog boxes do the same. This is annoying to say the least.

Primary monitor is a Samsung C24F390 Secondary monitor is an Asus VS247

Video Card is a Nvidia 750Ti

Linux Mint 21 Cinnamon

Any ideas?
 

toast0

2[H]4U
Joined
Jan 26, 2010
Messages
2,330
How are your Linux skills? In the old days, multiple monitors ran their own X server and then Xinerama stiched things together... Maybe you could run the second montitor as its own X server, and use x2x to move mouse/keyboard. You'd have two sessions and windows couldn't move to the other one, so your ipcam stuff could be separate from your regular work.

Otoh, I don't know that you can actually run two separate servers on a multihead card? And maybe you're on Wayland, so none of the old tools work, and sometimes you can't even do things the old way.
 

Deadjasper

2[H]4U
Joined
Oct 28, 2001
Messages
2,346
At present I'm not using Wayland but it looks like I will be some time in the future. Rather than beat a dying horse I think I'll just put up with it and hope the problem disappears in the future. Thanks.
 

michalrz

2[H]4U
Joined
Jun 4, 2012
Messages
3,903
Damn, I'm running that distro on an nv card w/ two monitors and cinnamon. It worked for me out of the box so I'll try to help you troubleshoot in around a week (once I get back home from a thing).
 

Lunar

Limp Gawd
Joined
Jul 26, 2007
Messages
444
Have you tried using a different desktop environment? Cinnamon is a nice DE, but it's old code base is going to start showing its age more and more. As I understand it, the Cinnamon team has no plans to support Wayland, and X11 is only going to get worse over time. You might want to look into running GNOME or KDE. Both have well implemented Wayland support, and switching to Wayland fixed a lot of the issues I was having. Not to say it's all sunshine and rainbows, but by and large Wayland has been a MUCH better experience than X ever was for me.

It could also not be a display server issue, but instead could be an issue with Cinnamon's compositor and window manager. Too many variables to know for sure really, but my recommendation would be to try a different DE. I haven't ran Mint in a long time, but I believe they have other DE's in their repos, so you could easily install one on your current installation and give it a go. If you don't like it you can just remove it and carry on.
 

Deadjasper

2[H]4U
Joined
Oct 28, 2001
Messages
2,346
I mean, that's not a linux problem, but a problem of your application... if you are using gnome, there are extensions that can be added to it to control window positioning:
https://extensions.gnome.org/extension/16/auto-move-windows/

Gnome itself does not keep track of window positions, nor does KDE as far as I know.

-- Dave

I believe you are correct sir. Chrome behaves exactly like I want it to and Opera did not. This is proof the problem lay with Opera and not Linux.

Can I change desktops without reinstalling Linux?
 

acquacow

Limp Gawd
Joined
Mar 7, 2016
Messages
483
I believe you are correct sir. Chrome behaves exactly like I want it to and Opera did not. This is proof the problem lay with Opera and not Linux.

Can I change desktops without reinstalling Linux?
You can change anything without reinstalling linux... You can have both gnome, kde, xfce, etc all installed at the same time and can choose them at your login window where you pick your username/password (if you have that setup).
 
Top