You are not logged in.

#1 2024-10-17 19:14:57

calrissiano
Member
Registered: 2024-01-03
Posts: 21

SOLVED: KDE 6 Wayland: turn off one of two displays via CLI

Hi!

I'm using ```kscreen-doctor --dpms off``` to turn off all my displays via CLI. Is there a way yo modify this command to turn off only my secondary monitor? ```kscreen-doctor -o``` shows them both corrently but couldn't find a way to disable them individually. Other modifications (rotating for example) work individually.

Thanks!

EDIT:
here is the solution: ```kscreen-doctor output.DP-3.disable``` Replace DP-3 for your display name (not number, that doesn't work consistently) available via ```kscreen-doctor -o``` To turn thit back on and restore the "correct" order of displays use ```kscreen-doctor output.DP-3.enable output.DP-3.position.0,0 output.DP-2.position.2048,0``` again replacing names and positions with your desired values.

Last edited by calrissiano (2024-10-21 11:32:46)

Offline

Board footer

Powered by FluxBB