[PATCH] compositor: pass options to the shell process, v2
spitzak at gmail.com
Tue Dec 6 17:36:36 PST 2011
Making a switch that passes all *remaining* arguments to the shell
would be better because it avoids quoting issues and makes it trivial
to edit a call to the shell into a call to the compositor.
wayland-compositor -x -y -b blah -x bar
This makes the compositor get the -x and -y switches, and the shell
get "blah -x bar" as it's arguments.
The only problem with this is that only one such switch can be
specified at a time.
On Nov 7, 2011, at 1:06 AM, Pekka Paalanen wrote:
> When desktop-shell was changed to be launched by the compositor alone,
> we also lost the opportunity to give it arguments, specifically the
> background picture.
> Add the compositor option -b (--shell-options) for passing arguments
> the shell process. The parameter to -b is a comma-separated list of
> arguments to the shell.
> Option -b cannot be used multiple times, and it cannot be used to pass
> arguments containing commas to the shell.
More information about the wayland-devel