Don't skip disconnected X11 outputs (#1071)

This commit is contained in:
luk1337 2023-03-28 22:44:32 +02:00 committed by GitHub
commit 1ab1b7920e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 10 deletions

View file

@ -299,13 +299,18 @@ output_name
.. Tip:: To find the name of the appropriate values follow these instructions.
**Linux**
.. code-block:: bash
During Sunshine startup, you should see the list of detected monitors:
xrandr --listmonitors
.. code-block:: text
Example output: ``0: +HDMI-1 1920/518x1200/324+0+0 HDMI-1``
Info: Detecting connected monitors
Info: Detected monitor 0: DVI-D-0, connected: false
Info: Detected monitor 1: HDMI-0, connected: true
Info: Detected monitor 2: DP-0, connected: true
Info: Detected monitor 3: DP-1, connected: false
Info: Detected monitor 4: DVI-D-1, connected: false
You need to use the value before the colon in the output, e.g. ``0``.
You need to use the value before the colon in the output, e.g. ``1``.
.. Todo:: macOS