sway: Cannot turn off output

Disabling real displays doesn’t work, and I get { "success": true } for attempting to disable any output (regardless if it exists or not).

~ > i3-msg output fake-output disable
{ "success": true }
~ > i3-msg -t get_outputs
[ { "name": "LVDS-1", "active": true, "primary": false, "rect": { "x": 4652, "y": 0, "width": 1366, "height": 768 }, "current_workspace": "10" }, { "name": "HDMI-A-1", "active": true, "primary": false, "rect": { "x": 1366, "y": 0, "width": 1920, "height": 1080 }, "current_workspace": "2" } ]
~ > i3-msg output LVDS-1 disable
{ "success": true }
~ > i3-msg -t get_outputs
[ { "name": "LVDS-1", "active": true, "primary": false, "rect": { "x": 6018, "y": 0, "width": 1366, "height": 768 }, "current_workspace": "10" }, { "name": "HDMI-A-1", "active": true, "primary": false, "rect": { "x": 1366, "y": 0, "width": 1920, "height": 1080 }, "current_workspace": "2" } ]

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Everything in the man pages is implemented. Add this line to your config:

output LVDS-1 disable