[initial-setup] Use anaconda's metacity settings when running metacity
Vratislav Podzimek
vpodzime at redhat.com
Wed Jan 14 07:46:08 UTC 2015
On Tue, 2015-01-13 at 17:07 -0500, David Shea wrote:
> ---
> firstboot-windowmanager | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/firstboot-windowmanager b/firstboot-windowmanager
> index 39f26b5..ccdd18d 100755
> --- a/firstboot-windowmanager
> +++ b/firstboot-windowmanager
> @@ -1,7 +1,18 @@
> #!/bin/sh
>
> # This is the list of supported window manager binaries
> -WMS=("metacity" "kwin" "xfwm4" "openbox" "marco")
> +WMS=("run_metacity" "kwin" "xfwm4" "openbox" "marco")
> +
> +run_metacity()
> +{
> + # Apply the anaconda overrides before running metacity
> + if [ -z "$XDG_DATA_DIRS" ] ; then
> + new_data_dirs="/usr/share/anaconda/window-manager:/usr/share"
> + else
> + new_data_dirs="/usr/share/anaconda/window-manager:${XDG_DATA_DIRS}"
> + fi
> + XDG_DATA_DIRS="$new_data_dirs" metacity
> +}
What about the other window managers? As I take it this means that on
e.g. a KDE system, IS will have a title bar. Are we and everybody else
okay with it? I am.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list