KScreen remembers the display settings based on the connected device. Please add the option to run a custom script after new display settings are automatically applied. This is especially useful for people with Notebooks which regularly connect to a display at work/home. This way stardard tasks like the following would be applied automatically upon connecting a certain display: - Switch the pulseaudio settings from/to HDMI-output - Switch to a certain Activity setting - (In Future) switch between plasma-active and plasma-desktop - Trigger any changes which are related to a certain workplace I think at first it would be enough to add an option in a config-file to run a command or script, later it could be integrated into the settings dialog of KScreen. Reproducible: Always
As a user, I support this enhancement request.
Created attachment 83488 [details] Switching to/from hdmi audio I wish to add my vote from a feature to switch the audio to/from hdmi on plugin just like the video performs.
I would appreciate this feature very much. It would make a perfect combination with Synergy keyboard/mouse sharing service.
I also support this idea. However, my vote is to add an option to a kscreen config file to pass all or specific actions to custom scripts. For example, I would like to have kscreen do nothing and to use arandr (or xrandr) to apply my desired screen layouts.
*** Bug 404727 has been marked as a duplicate of this bug. ***
I don't think this is a feature we want to support, sorry. These things should be supported automatically, without the user having to cobble together a script to do it.