diff options
author | Florian Müllner <fmuellner@gnome.org> | 2011-11-04 18:14:26 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2011-11-11 20:27:37 +0100 |
commit | a228546d3cdf3364b82d76b374fb08aae202ab87 (patch) | |
tree | 8bf43deab9299e230e59ce9f295f4e87351d5680 /README | |
parent | 65f4590467b893aec99e2e008781c9979e10a068 (diff) | |
download | metacity-a228546d3cdf3364b82d76b374fb08aae202ab87.tar.gz |
Port preferences to GSettings
Move preferences to GSettings, using mainly shared schemas from
gsettings-desktop-schemas.
Unlike GConf, GSettings support is not optional, as Gio is already
a hard dependency of GTK+.
Based on an initial patch from Milan Bouchet-Valat.
https://bugzilla.gnome.org/show_bug.cgi?id=621204
Diffstat (limited to 'README')
-rw-r--r-- | README | 32 |
1 files changed, 13 insertions, 19 deletions
@@ -18,8 +18,7 @@ COMPILING METACITY You need GTK+ 2.2. For startup notification to work you need libstartup-notification at http://www.freedesktop.org/software/startup-notification/ or on the -GNOME ftp site. You also need GConf 1.2 (unless building a funky -extra-small embedded metacity with --disable-gconf, see below). +GNOME ftp site. REPORTING BUGS AND SUBMITTING PATCHES === @@ -48,7 +47,6 @@ the theme engine. You can strip about 70K from the metacity binary by compiling with options such as: - --disable-gconf --disable-sm --disable-verbose-mode --disable-startup-notification @@ -94,25 +92,24 @@ METACITY FEATURES and should work with KWin, fvwm2, and other EWMH-compliant WMs.) - Has a simple theme system and a couple of extra themes come with it. - Change themes via gconf-editor or gconftool or GNOME themes control - panel: - gconftool-2 --type=string --set /apps/metacity/general/theme Crux - gconftool-2 --type=string --set /apps/metacity/general/theme Gorilla - gconftool-2 --type=string --set /apps/metacity/general/theme Atlanta - gconftool-2 --type=string --set /apps/metacity/general/theme Bright + Change themes via gsettings: + gsettings set org.gnome.desktop.wm.preferences theme Crux + gsettings set org.gnome.desktop.wm.preferences theme Gorilla + gsettings set org.gnome.desktop.wm.preferences theme Atlanta + gsettings set org.gnome.desktop.wm.preferences theme Bright See theme-format.txt for docs on the theme format. Use metacity-theme-viewer to preview themes. - - Change number of workspaces via gconf-editor or gconftool: - gconftool-2 --type=int --set /apps/metacity/general/num_workspaces 5 + - Change number of workspaces via gsettings: + gsettings set org.gnome.desktop.wm.preferences num-workspaces 5 Can also change workspaces from GNOME 2 pager. - Change focus mode: - gconftool-2 --type=string --set /apps/metacity/general/focus_mode mouse - gconftool-2 --type=string --set /apps/metacity/general/focus_mode sloppy - gconftool-2 --type=string --set /apps/metacity/general/focus_mode click + gsettings set org.gnome.desktop.wm.preferences focus-mode mouse + gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy + gsettings set org.gnome.desktop.wm.preferences focus-mode click - Global keybinding defaults include: @@ -127,12 +124,9 @@ METACITY FEATURES Change keybindings for example: - unst gconftool-2 --type=string --set /apps/metacity/global_keybindings/switch_to_workspace_1 '<Alt>F1' + gsettings set org.gnome.desktop.wm.keybindings switch_to_workspace_1 '<Alt>F1' - Also try the GNOME keyboard shortcuts control panel, or - gconf-editor. - - See metacity.schemas for all available bindings. + Also try the GNOME keyboard shortcuts control panel. - Window keybindings: |