https://bugs.kde.org/show_bug.cgi?id=324393

Stephan Uhlmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #20 from Stephan Uhlmann <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to