mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Add optional headless fallback output
This allows configuring a headless fallback output that is automatically created whenever there is no other output around. It is destroyed when a new output is discovered. It can be enabled by setting the environment variable LABWC_FALLBACK_OUTPUT to the desired output name. The feature benefits applications like wayvnc the most as there is always an output available to connect to. Co-Authored-By: Simon Long <simon@raspberrypi.com>
This commit is contained in:
parent
e00f7cd6db
commit
60aab98e8d
5 changed files with 63 additions and 1 deletions
|
|
@ -68,3 +68,18 @@
|
|||
|
||||
# XDG_CURRENT_DESKTOP=wlroots
|
||||
|
||||
##
|
||||
## This causes a virtual output to be created automatically whenever there
|
||||
## are no outputs around. This helps for cases like wayvnc so there is always
|
||||
## an output available to connect to. The name can be chosen freely but there
|
||||
## must be no duplicate output names, for this reason using VIRTUAL-x or a
|
||||
## physical connector name like HDMI-A-1 is not recommended as wlroots may
|
||||
## want to create outputs with those names later on which would then fail.
|
||||
##
|
||||
## Using an output name that starts with NOOP- has the additional benefit
|
||||
## that wayvnc will detect it being a virtual output and allow clients to
|
||||
## resize the output to match the client resolution.
|
||||
##
|
||||
|
||||
# LABWC_FALLBACK_OUTPUT=NOOP-fallback
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue