kscreen-doctor
Change and manipulate the screen setup from the command-line. More information: https://invent.kde.org/plasma/libkscreen.
- Show display output information:
kscreen-doctor --outputs
- Set the rotation of a display output with an ID of 1 to the right:
kscreen-doctor {{output.1.rotation.right}}
- Set the scale of a display output with an ID of
HDMI-2
to 2 (200%):
kscreen-doctor {{output.HDMI-2.scale.2}}