Files
cheatsheet-tldr/tldr/linux/kscreen-doctor
2026-01-18 00:24:29 +00:00

34 lines
762 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# kscreen-doctor
> Change and manipulate the screen setup.
> More information: <https://invent.kde.org/plasma/libkscreen>.
- Show display output information:
`kscreen-doctor {{[-o|--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`
- Enable a specific HDMI display:
`kscreen-doctor output.{{HDMI-A-1}}.enable`
- Disable a specific DisplayPort display:
`kscreen-doctor output.{{DP-2}}.disable`
- Set a display as primary display:
`kscreen-doctor output.{{HDMI-A-1}}.primary`