kscreenctl
manage KDE Plasma display outputs from the command line
TLDR
SYNOPSIS
kscreenctl [command | output [action ...]]
DESCRIPTION
kscreenctl is the KDE Plasma CLI for KScreen, the display configuration service. It lists outputs, identifies monitors on screen, and changes mode, scale, arrangement, and power state. Connector names match those shown by kscreen-doctor --outputs (for example DP-1, HDMI-A-1).Use it for scripting layout changes, docking, or turning screens off without opening System Settings.
COMMANDS
list-outputs
List connected outputs and connector names.identify
Draw a label on each monitor so you can match connector names to hardware.OUTPUT
Print information about that output. Special names active-output and primary-output are accepted.OUTPUT set-mode WxH@Hz
Set mode (resolution and refresh rate).OUTPUT set-scale percent
Set scale (for example `200%`).OUTPUT set-enabled true|false
Enable or disable the output.OUTPUT right-of|left-of|above|below OTHER
Position relative to another output.off
Turn all outputs off through Display Power Management Signaling.
CAVEATS
Requires a running Plasma/KScreen session. Invalid connector names fail; run identify or list-outputs first. DPMS off blanks outputs until activity or an explicit on command from the compositor.
HISTORY
Shipped with KDE kscreen as a friendlier companion to kscreen-doctor's dotted `output.ID.property.value` syntax.
SEE ALSO
kscreen-doctor(1), kscreen-console(1)
