compositor: Added autolaunch support.
The value of the `path` parameter is executed right before wl_display_run. The `watch` parameter is meant for things like tests using the headless backend and the kiosk shell. Fixes https://gitlab.freedesktop.org/wayland/weston/-/issues/171 Signed-off-by: Alvarito050506 <donfrutosgomez@gmail.com>
This commit is contained in:
committed by
Álvaro Torralba
parent
1f57a1f998
commit
60855b1569
@@ -78,6 +78,7 @@ The section headers are:
|
||||
.BR "terminal " "Terminal application options"
|
||||
.BR "xwayland " "XWayland options"
|
||||
.BR "screen-share " "Screen sharing options"
|
||||
.BR "autolaunch " "Autolaunch options"
|
||||
.fi
|
||||
.RE
|
||||
.PP
|
||||
@@ -661,6 +662,18 @@ sets the path to the xserver to run (string).
|
||||
sets the command to start a fullscreen-shell server for screen sharing (string).
|
||||
.RE
|
||||
.RE
|
||||
.SH "AUTOLAUNCH SECTION"
|
||||
.TP 7
|
||||
.BI "path=" "/usr/bin/echo"
|
||||
Path to an executable file to run after startup. This file is executed in
|
||||
parallel to Weston, so it does not have to immediately exit. Defaults to empty.
|
||||
.RE
|
||||
.TP 7
|
||||
.BI "watch=" "false"
|
||||
If set to true, quit Weston after the auto-launched executable exits. Set to false
|
||||
by default.
|
||||
.RE
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.BR weston (1),
|
||||
.BR weston-bindings (7),
|
||||
|
||||
Reference in New Issue
Block a user