Summary: | To avoid repetitive screen configuration actions, kscreen should have a way of saving commonly used screen profiles | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | jamese <james.ellis> |
Component: | common | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | ahx2323, andreash87, bugreporter11, chriswhy, dvratil, giuseppe_ravasio, gladhorn, iansilvester, linux, mchugh19, sebas, su-kdebugs, tittiatcoke |
Priority: | NOR | ||
Version: | 5.4.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
poorly drawn profile settings/choose
current system service settings Initial settings after plugging DP1 in and opening Display Configuration Actual screen setup |
Description
jamese
2013-09-02 11:51:54 UTC
In that case you are doing something wrong - KScreen should automatically restore the profile whenever you plug or unplug your monitor. Make sure you have kscreen KDED module installed and loaded. Wrt the default button: yes, that's broken :) Well, no, just running with the standard packages. I searched for kscreen packages installed: $ aptitude search kscreen i kscreen - KDE monitor hotplug and screen handling p kscreen-dbg - KDE monitor hotplug and screen handling, debug info p kscreensaver - Additional screensavers for KScreenSaver p kscreensaver-xsavers - xscreensaver support for KScreenSaver p kscreensaver-xsavers-extra - universe xscreensaver support p kscreensaver-xsavers-webcollage - webcollage screensaver support for KScreenSaver p libkscreen-dbg - library for screen management - debug info p libkscreen-dev - library for screen management - development files c libkscreen0 - library for screen management - shared library i A libkscreen1 - library for screen management - shared library i libkscreensaver5 - library of the KDE Screensaver system In System Settings, Load on Demand Services "Display Management" is marked as not running and there is no way to start it. In Startup Services "Kscreen 2" is marked as running. I googled for an answer and found your blog post: http://www.progdan.cz/2012/09/display-management-in-kde/ My Kscreen doesn't contain any of the content between the buttons and the container holding the green boxes. Hi, I have the same problem on a DELL Latitude E6330 with a DELL docking station and an external monitor attached to that dock. When I unplug, or plug-in again, I get a dialog asking, whether I want to configure the screens manually, or let it try automatically. The automatic config does not restore my previous setup and does not produce a satisfactory configuration. So, I have to modify the setup manually every time. It would be really nice to have profiles to select. Or, a _working_ automatism. I'm running on openSUSE 12.3 (x86_64) with KDE installed from the standard repos in version $ kde4-config --version Qt: 4.8.4 KDE Development Platform: 4.10.5 "release 1" kde4-config: 1.0 Cheers. Andreas, that's a dialog from the old KRandR module. Please talk to your distribution to disable building of KRandR in their packages (it's possible via a cmake switch) and ship KScreen as default instead. Oh, and wrt the multiple profiles, that's being worked on currently together with the new UI Daniel, Please not that Andreas is using 4.10.5. Which is an older version of KDE. openSUSE has switched to KScreen as of 4.11. I don't believe that KScreen was released when KDE 4.10 was released :-) Regards Raymond > Please talk to your distribution to disable building of KRandR in their packages (it's possible via a cmake switch) and ship KScreen as default instead. As Raymond pointed out, this should be fixed with the next openSUSE release 13.1: https://bugzilla.novell.com/show_bug.cgi?id=843495#c1 > Oh, and wrt the multiple profiles, that's being worked on currently together with the new UI That is exciting to hear. Best, Andreas Oops, sorry - using git master, I'm somehow losing track of what was when released :D Just to confirm the original 'wish', that there be a quick way to configure screens without having to go through an analogue process of dragging screens around and ensuring the resolution is correct. Maybe kscreen could pick up some unique ID of the screen and automatically do this or there be a profile I can create and then mash a button to set the screens to the require resolution and orientation. See attached for current Kubuntu 13.10 kscreen (1.0.1-0ubuntu1) and the System Service settings. Note "Display Management" is marked as Not Running, note sure if that is important. Created attachment 83784 [details]
poorly drawn profile settings/choose
maybe this could be automatic via a unique display id or proximity to a wifi network.
Created attachment 83785 [details]
current system service settings
*** Bug 335334 has been marked as a duplicate of this bug. *** In Kubuntu 15.10 with Plasma 5.4 the original issue still exists in that I have to run through a manual process of dragging screens to lay them out appropriately and pressing 'Apply' every time I plug the laptop in to one of my screen setups. It would be nice if "Display Configuration" could save my screen setups and detect which external screens are plugged in and place the screens appropriately. I don't think I've ever used overlapping screens which is what I'm most often presented with when plugging a new screen in. Examples, I have three common screen setups: 1. Laptop 1920x1080 alone, no external screen attached - fairly easy to configure ;) 2. Laptop + DP1 @ 2560x1140. DP1 is always to right of the laptop screen but plugging in the Displayport cable I tend to get presented with overlapping or separated screens. I should be able to set up this profile once and save it. 3. Laptop + DP1-1/DP1-2 (MST using Displayport 1.2). In this setup I have DP1-1 left of DP-1-2 which itself is above the Laptop. As with #2 I get the same overlapping or inconsistent screen layouts whenever I plug the laptop into DP1-1. Isn't there some unique identifier of a screen layout that KDE can detect and apply that last saved profile/layout for that layout whenever and screen is plugged in? Created attachment 94986 [details]
Initial settings after plugging DP1 in and opening Display Configuration
Note that DP1 is not enabled by default and is stacked behind Laptop Screen.
Created attachment 94987 [details] Actual screen setup This is the preferred screen setup, DP1 is the Primary Display and is to the right of Laptop Screen. After hitting Apply the screens are set up but on the next time I plug into the Dell U2711 the system doesn't pick up the preferred layout and defaults back to the layout showing in the previous attachment uploaded (https://bugsfiles.kde.org/attachment.cgi?id=94986). Same problem here with three Dell U2411 attached via Docking station to a ThinkPad T430s. Running Plasma 5.7.5 on Fedora 24. I think this kind of issue was mostly fixed, can you confirm whether it works in a recent release or if kscreen still does not remember the preferred configuration? You should only have to configure it once and it should always restore the last setup that was active with a certain set of screens. This issue is not fixed in plasmashell 5.13.3-1 on Arch Linux. This bug report is from 2013. My experience is that from 2016 to around June of 2018 this issue did indeed appear to be resolved, as I never observed it. Unfortunately, it is back now. It came back somewhere around plasma 5.13.2. I reported it in Bug 396354 - Management of multiple screens: Display and Monitor settings no longer remembered I concur with bugreporter11, this is still reproducible in 5.14.5. Logs and details attached to https://bugs.kde.org/show_bug.cgi?id=396354 Myself I never had problems when switching monitor setups, but when playing a game with DOSBox in (lowres) fullscreen mode, after quitting the game, my screen resolution and layout wasn't reset to normal. KScreen provides command-line tool named kscreen-doctor which can be used to change your configuration. So I wrote a small shell script which looks like this: ---- #!/bin/sh kscreen-doctor \ output.eDP-1.enable \ output.eDP-1.mode.1920x1080@120 \ output.eDP-1.position.0,120 \ output.DP-1-1.enable \ output.DP-1-1.mode.1920x1200@60 \ output.DP-1-1.position.1920,0 xrandr --output DP-1-1 --primary ---- Whenever I want to switch back to this setup, I just call this script. kscreen-doctor does not seem to have an option to set the primary screen, so I use xrandr for that. Maybe this helps some of you at least as a workaround to switch to a certain setup more easily. Hello I'm now using KDE Neon 20.04 packages and the original issue is fixed and has been for a while, at least on Neon. When I plug my screens in via a dock the last known configuration for those screens is loaded. I sometimes have a weird flickering/non-sleep-wake-up thing going on but I'll put that down to a crappy DisplayPort implementation from Dell in their U2414H screens which I'll fix by buying a new screen :D Thanks for the work put into Kscreen over the years. I'll mark this as resolved and someone else can reopen it if needed. Current package: $ pkcon get-details kscreen Resolving [=========================] Getting details [=========================] Waiting in queue [=========================] Loading cache [=========================] Finished [=========================] Package description package: kscreen-4:5.19.5-0xneon+20.04+focal+build8.amd64 summary: KDE monitor hotplug and screen handling license: unknown group: desktop-kde description: KScreen provides multiple monitor support. This support tries to be as smart as possible adapting the behavior of it to each use case making the configuration of monitors as simple as plugging them into your computer. This package contains the modules and plugins for monitor hotplug and automatic screen handling. size: 1277952 bytes url: https://projects.kde.org/projects/kde/workspace/kscreen Cheers J |