From 0d8397989497261cd8d9201ea6cca488f1b4d33f Mon Sep 17 00:00:00 2001 From: David Shea Date: Wed, 2 Jul 2014 11:54:18 -0400 Subject: [PATCH] Convert metacity gconf settings into gsettings schema overrides The settings in /apps/metacity/general are now covered by gsettings in org.gnome.desktop.wm.preferences. The keybinding settings are already covered by the overrides for org.gnome.desktop.wm.keybindings. --- ...org.gnome.desktop.wm.preferences.gschema.override | 4 ++++ share/runtime-postinstall.tmpl | 12 +----------- 2 files changed, 5 insertions(+), 11 deletions(-) create mode 100644 share/config_files/common/org.gnome.desktop.wm.preferences.gschema.override diff --git a/share/config_files/common/org.gnome.desktop.wm.preferences.gschema.override b/share/config_files/common/org.gnome.desktop.wm.preferences.gschema.override new file mode 100644 index 00000000..35ec28ba --- /dev/null +++ b/share/config_files/common/org.gnome.desktop.wm.preferences.gschema.override @@ -0,0 +1,4 @@ +[org.gnome.desktop.wm.preferences] + button-laytout=':' + action-right-click-titlebar='none' + num-workspaces=1 diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 0fd3bf7b..4db57567 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -82,22 +82,12 @@ replace "root:\*:" "root::" etc/shadow %endif ## gconf settings -gconfset /apps/metacity/general/button_layout string : -gconfset /apps/metacity/general/action_right_click_titlebar string none -gconfset /apps/metacity/general/num_workspaces int 1 -gconfset /apps/metacity/window_keybindings/close string disabled -gconfset /apps/metacity/global_keybindings/run_command_window_screenshot string disabled -gconfset /apps/metacity/global_keybindings/run_command_screenshot string disabled -gconfset /apps/metacity/global_keybindings/switch_to_workspace_up string disabled -gconfset /apps/metacity/global_keybindings/switch_to_workspace_down string disabled -gconfset /apps/metacity/global_keybindings/switch_to_workspace_left string disabled -gconfset /apps/metacity/global_keybindings/switch_to_workspace_right string disabled -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 +install ${configdir}/org.gnome.desktop.wm.preferences.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