[initial-setup] Use anaconda's metacity settings when running metacity
Martin Kolman
mkolman at redhat.com
Wed Jan 14 11:06:53 UTC 2015
On Wed, 2015-01-14 at 08:46 +0100, Vratislav Podzimek wrote:
> 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?
Yep, Metacity is hardly the only window manager used by IS. :)
> 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.
Sure, as long as it otherwise works. :)
More information about the anaconda-patches
mailing list