TLDR
Enter a command. For example: i3lock, script, unix2mac, xvfb run.

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}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.