KDE Multi-Monitor Control Getting An Overhaul
Multi-monitor support on Free systems has always been a pain (even after RANDR made it a lot less of a pain). GNOME2 had a great feature: you only had to configure a given pair of displays once and it would do-the-right-thing and remember their configuration. But if you wanted to mirror displays of different resolutions, you were out of luck. KDE handled the latter case, but infuriatingly enough doesn't remember or restore configurations like GNOME2 did, and worse yet requires manual intervention before disconnecting a display. But, now that's all changing: "As some of you might have noticed, display management in KDE is not really something we could be proud of. It does not work as expected, it lacks some features and it’s not really maintained. Time to change it, don’t you think? ... Alex has written the libkscreen library that provides information about available/connected/enabled outputs and notifications about their changes. He also intends to write a KDED daemon that would listen for these events and depending on connected monitors (every monitor can be uniquely identified by it’s EDID) it would load specific configuration. For example, docking your notebook into a docking station at work would automatically turn on a second monitor and place it left of the notebook screen (or whatever you configure the first time you do it). Undocking the notebook and connecting a data projector in a meeting room would automatically set clone mode etc. etc."
Additionally, the dock applet and monitor configuration UI have been overhauled allowing for quickly setting common configurations ("extend display to the {right,left,top,bottom}" / "clone") directly from the desktop, and direct manipulation of the monitor positions if you do end up needing to use the configuration program (article has a video and screenshots).
In other news, readers demand to know when Slashdot is getting getting an editor.
Finally! I use KDE at work every day and this is the one major thing that makes me hesitate always when I need to disconnect my computer from a dock. Especially when there are three use cases that are always encountered: desktop monitor, projector, and just the plain laptop screen without any external monitors.
You're supposed to know how to hack your xconfig with vi. Setting up two displays is supposed to hurt.
:wq
I'd like to see more vanilla versions of this software. Open Source Software has become almost as bad as the commercial counter parts in wanting to wrap everything up as one big GUI package. I don't want a bunch of bologna to download and run to configure dual monitors if I want to use a very lightweight window manager, or setup an embedded solution such as a kiosk.
/optional/ GUI front end over this junk any day.
One of the original and cool ideas of open source was to allow hackers to dive into the utilities and do really cool things with them that they aren't meant to achieve. A multi monitor control system that is tied into a blob of libraries doesn't sound appealing to me. I'll take a 32KB application that has an
Sig: I stole this sig.
And here Windows 7 handles five monitors using three different resolutions flawlessly. Thanks to Ultramon, they line up seamlessly in spite of also being different sizes and being at different physical elevations. It's one of the more major things that has kept me on Windows - I look forward to Linux being able to do the same.
Windows XP did multi-monitors fairly well. Windows 7 handles it excellently. I have five monitors and when replacing one of the video cards, I changed which monitors were plugged into which card. As soon as Windows 7 booted, it automatically corrected for switching the cables around so that the monitors were all exactly as they were when I powered down the system in spite of every monitor being plugged into a different card and port.
Not to say Win7 isn't lacking some features, but nothing free or cheap software like Ultramon doesn't fix (IE: fine-tuning relative positions, multi-monitor wallpaper, taskbar across all monitors), but the essential parts of multi-monitors are handled very well.
They waste all these time mucking with icons, reorganizing menu accesses, and other such superfluous "human interaction" nonsense, but never got around to supporting something as basic as multiple displays.
It's why you're better off to wait for jesus to return than the mythical "year of linux desktop".
Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
It would be nice if Gnome, or KDE could handle the USB Monitor issue. I have some BVU195's and I'd love to plug them in and get something other than green screens.
I run LMDE with three monitors driven by two ATI/AMD Radeon cards. I use the fglrx proprietary catalyst driver largely because I have difficulty getting all three monitors going without it.
Unfortunately, I am now quite familiar with my xorg.conf file.
My point: Linux multi-monitor support is one area where it has dragged behind Windows and it's about time somebody started seriously working on it.
nvidia-settings
Detect Displays
Click on newly-detected display and select "TwinView" and "Clone Displays".
Click apply.
Done, works with all window managers.
Finally, the last piece needed to get Linux onto the desktop!
I was confused by the whole "refuses to remember or restore configurations" thing. WTF? This is 2012. EVERYONE has multiple monitors. How is it in any way acceptable that the OS refuses to remember your monitor config?
"Tell me doctor, with all of your defenses, are there any provisions for an attack by killer bees?"
Considering that Macintoshes have had these features for over a quarter century, this is great news.
I was confused by the whole 'multiple monitors are a pain' thing. I've been running KDE for close to a decade and for the past couple years multi-monitor support has never been a problem. Of course, I'll admit, mostly when I'm using multiple monitors I'm cloning the display to watch a movie or something...but I plug it in, it mirrors. I unplug it, it disconnects. What's so hard there?
Windows XP did multi-monitors fairly well. Windows 7 handles it excellently. I have five monitors and when replacing one of the video cards, I changed which monitors were plugged into which card. As soon as Windows 7 booted, it automatically corrected for switching the cables around so that the monitors were all exactly as they were when I powered down the system in spite of every monitor being plugged into a different card and port.
Not to say Win7 isn't lacking some features, but nothing free or cheap software like Ultramon doesn't fix (IE: fine-tuning relative positions, multi-monitor wallpaper, taskbar across all monitors), but the essential parts of multi-monitors are handled very well.
How well Windows supported it was largely up to how well the video card drivers supported it. Some systems required rebooting in order to get it to recognize the additional monitor; others would work without a problem. It was typically consistent for any given driver, but very hit-and-miss between video cards/driver versions.
Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
Really glad to see this fixed up. It will be a great day when my external screen is the way it should be when I fire up and dock my laptop in the morning. Long over-due.
Mike
When I disconnect the external monitor, it automagically moves APP windows and panes to laptop monitor, that is configured as secondary screen. When I replug the monitor, APP windows that previously where on it, return to it, as do the panes...
I'm running 12.04 Kubuntu and no, it doesn't work properly when I undock my laptop; and yes, I keep the external monitor (DVI) as the primary and "to the left of" the internal monitor (LVDS).
Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
...the original Mac had the basis for this designed in from the beginning. The Mac had a graphics region (65k x 65k pixels) larger than the display region. The window was a display port on this region.
If it supported Opencl that would be a start.
While is nice to have better control over this features we need to first get them working reliably, I still can't get KDE to start with max the laptop monitor max resolution, it will always go back to a 1280x768 and I have to change it manually.
In the end we get back to the same old problem with Linux graphics, driver support. I remember back a couple of years having a nvidia card with the binary blob, most stuff worked as I wanted but screen adjusting and multimonitor had to be done via nvidia tools, but in the end of the day it works. Now I have an ATI card and I cannot get multimonitor working properly even with its own tools, on a more powerful card with more memory.
For quite a while I think there has been no real interest on doing this overhaul as most of those features would not work releably on most systems.
C-x C-c
In all these years of Linux usage I still have not been able to do clone a display while having different resolutions. Is this actually possible?
I want to present slides on a presentation monitor, which is connected to my Thinkpad (nvidia, binary driver) via VGA cable. At the same time, I want to see the slides on the notebook screen during the presentation. So the screen has to be cloned.
However, the native resolution of the notebook and second (big) monitor differs. For instance, the notebook is 1600x900, the external presentation monitor is 1920x1080. Is there a way to produce the signal in 1920x1080 on the second monitor, and at the same time clone the screen on the notebook screen in another resolution?
Well, I'm using KDE with two monitors right now. (left/right configuration). However, I configured these with the Radeon tool which works well with little fuss. Ditto with multiple monitors on Nvidia (the vendor tool works nicely).
My biggest complaint about multiple displays on KDE is what happens if you have a transient display (not always connected). When I have my laptop at my work-desk, I connect to a bigger monitor and have dual-head. However, if I don't disable the dual-head before using the laptop without a secondary display, baaaad things happen and I usually end up with a desktop that's stuffing new windows onto a monitor that doesn't exist.
Mind you, I think this might be at least partially problem with the vendor driver, but the WM should be smart enough to figure out that a monitor no longer exists as well.
Filed a few bugs in my time, nice of them to take notice.
TFS mentions only GNOME2. How is the multi-monitor status on other DEs nowadays? XFCE, GNOME3, MATE etc.? Cinnamon would still be the same as GNOME2, right?
10 years too late?
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
My work machine has four (yes) monitors, two on a Radeon 7000 series and two on the Intel IGP. Win7 works mostly[1] flawlessly, but Mint will only see the two Intel-powered monitors by default. I'm given to understand that I can get all four going, but it'd involve writing a custon xorg.conf and I can't be bothered since I'm usually in Win7 because that's what I have to support.
[1] fairly often the Intel driver will crash and be automatically restarted on resume from sleep.
Hail Eris, full of mischief...
E pluribus sanguinem
That "feature" was a trap just waiting for people to play with it and end up with a blank display on login
If a user used that tool to set a resolution that was not available to the hardware the only ways around it were to create a new user account for them and copy the files over or to log in remotely and fuck about with the braindead registry clone (only worse) that is gconf - think a MS Windows registry only without regedit and without any man pages for the obscure registry key manipulating software. Think of that and think of how you would talk someone through it on a poor quality phone line with no chance of remote login and you'll get some idea of how pissed off I was at this "feature".
Changing stuff in xorg settings like any sane application (nvidia-settings etc) does gives you a way back if the configuration is messed up. Hiding it in a registry key that is inaccessable without undocumented tools that are not even on the system by default is a failure of design. Whatever gnome idiot did that (and I know it was not Miguel) and then wandered off leaving unsupported shit behind should never have forced their stupid idea into the mainsteam and should have just left it all to xorg until they had a fully working implemention instead of just an incomplete and undocumented demo.
Indeed. One frustrating issue I have with Windows 7 is that my second monitor is connected to a KVM switch and when I switch to my Linux box and back to W7 only one monitor is active. I have to manually detect displays in W7 for it to go back to normal.
You need to get yourself a better KVM switch, that passes through the EDID information.
... that my taskbar will finally start up on a deterministic screen, and no longer the crapshoot of Left-only, Right-only, or spanned-across-both every single time I log on?
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
EOM
Ubuntu is an African word meaning 'I can't configure Debian'
Before Windows 2000, yes. Since then, what you describe would be extremely unusual.
Macs have supported multiple monitors since what, 1988 or so? That just work/easily configurable/reconfigurable..
haha you're funny.
(my macbook pro doesn't properly output to my 1920x1200 monitor).
world was created 5 seconds before this post as it is.
Microsoft Windows had it over a decade ago.
True story.
Before Windows 2000, yes. Since then, what you describe would be extremely unusual.
I had that problem on a number of WinXP systems, so no it's still very much the norm. Now may be the Video driver rewrite for Vista corrected some of that for Vista and Win7, and now Win8. Microsoft has been slowly building in proper multi-monitor support, but even with what they provide there still a lot of details left to the video card drivers.
Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)