From da306b6313639ac8424118e710c729a954d6db3c Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 31 Aug 2012 14:42:11 -0400 Subject: [PATCH] Disable the maximize/unmaximize key bindings (#853410). --- lorax.spec | 1 + .../common/org.gnome.desktop.wm.keybindings.gschema.override | 4 ++++ share/runtime-postinstall.tmpl | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 share/config_files/common/org.gnome.desktop.wm.keybindings.gschema.override diff --git a/lorax.spec b/lorax.spec index 6a74e0f2..ed473a21 100644 --- a/lorax.spec +++ b/lorax.spec @@ -20,6 +20,7 @@ Requires: e2fsprogs Requires: findutils Requires: gawk Requires: genisoimage +Requires: glib2 Requires: glibc Requires: glibc-common Requires: gzip diff --git a/share/config_files/common/org.gnome.desktop.wm.keybindings.gschema.override b/share/config_files/common/org.gnome.desktop.wm.keybindings.gschema.override new file mode 100644 index 00000000..3b089044 --- /dev/null +++ b/share/config_files/common/org.gnome.desktop.wm.keybindings.gschema.override @@ -0,0 +1,4 @@ +[org.gnome.desktop.wm.keybindings] + maximize=[] + unmaximize=[] + toggle-maximized=[] diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 95be02b4..114e00b2 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -86,6 +86,10 @@ gconfset /apps/metacity/global_keybindings/switch_windows string disabled gconfset /desktop/gnome/interface/accessibility bool true gconfset /desktop/gnome/interface/at-spi-corba bool true +## Some settings are controlled by gsettings now. +install ${configdir}/org.gnome.desktop.wm.keybindings.gschema.override usr/share/glib-2.0/schemas +runcmd chroot ${root} glib-compile-schemas /usr/share/glib-2.0/schemas + move usr/libexec/anaconda/auditd sbin ## for compatibility with Ancient Anaconda Traditions