diff options
| author | Florian Müllner <fmuellner@gnome.org> | 2011-10-19 14:26:10 (GMT) |
|---|---|---|
| committer | Florian Müllner <fmuellner@gnome.org> | 2011-11-11 16:15:24 (GMT) |
| commit | 99cbaf394b520f5b2c23daf892dac2db9035d711 (patch) | |
| tree | 08fa205f065f65a4818b7af598c751a3813cf6b3 | |
| parent | 163f3df82bbf204378bf793a32daf72abadf160e (diff) | |
| download | gsettings-desktop-schemas-99cbaf394b520f5b2c23daf892dac2db9035d711.zip gsettings-desktop-schemas-99cbaf394b520f5b2c23daf892dac2db9035d711.tar.xz | |
schemas: Add (shared) wm schemas
Metacity, Mutter and GNOME Shell share most of their settings;
rather than having the latters depend on Metacity as it's currently
the case, move the schemas to a shared module.
https://bugzilla.gnome.org/show_bug.cgi?id=663425
| -rw-r--r-- | configure.ac | 3 | ||||
| -rw-r--r-- | headers/gdesktop-enums.h | 32 | ||||
| -rw-r--r-- | schemas/Makefile.am | 6 | ||||
| -rw-r--r-- | schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in | 304 | ||||
| -rw-r--r-- | schemas/org.gnome.desktop.wm.preferences.gschema.xml.in.in | 298 | ||||
| -rw-r--r-- | schemas/wm-schemas.convert | 100 |
6 files changed, 741 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4e3193b..c061a77 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,9 @@ AM_MAINTAINER_MODE([enable]) AC_PROG_SED +GIO_MIN_VERSION=[2.31.0] +PKG_CHECK_EXISTS([gio-2.0 >= $GIO_MIN_VERSION],[], + [AC_MSG_ERROR([Minimum Gio requirement ($GIO_MIN_VERSION) was not met])]) GLIB_GSETTINGS GOBJECT_INTROSPECTION_CHECK([1.30.0]) diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h index a762836..369b9a6 100644 --- a/headers/gdesktop-enums.h +++ b/headers/gdesktop-enums.h @@ -107,4 +107,36 @@ typedef enum G_DESKTOP_MAGNIFIER_SCREEN_POSITION_RIGHT_HALF, } GDesktopMagnifierScreenPosition; +typedef enum +{ + G_DESKTOP_TITLEBAR_ACTION_TOGGLE_SHADE, + G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE, + G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE_HORIZONTALLY, + G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE_VERTICALLY, + G_DESKTOP_TITLEBAR_ACTION_MINIMIZE, + G_DESKTOP_TITLEBAR_ACTION_NONE, + G_DESKTOP_TITLEBAR_ACTION_LOWER, + G_DESKTOP_TITLEBAR_ACTION_MENU, +} GDesktopTitlebarAction; + +typedef enum +{ + G_DESKTOP_FOCUS_MODE_CLICK, + G_DESKTOP_FOCUS_MODE_SLOPPY, + G_DESKTOP_FOCUS_MODE_MOUSE, +} GDesktopFocusMode; + +typedef enum +{ + G_DESKTOP_FOCUS_NEW_WINDOWS_SMART, + G_DESKTOP_FOCUS_NEW_WINDOWS_STRICT, +} GDesktopFocusNewWindows; + +typedef enum +{ + G_DESKTOP_VISUAL_BELL_NONE, + G_DESKTOP_VISUAL_BELL_FULLSCREEN_FLASH, + G_DESKTOP_VISUAL_BELL_FRAME_FLASH, +} GDesktopVisualBellType; + #endif /* __gdesktop_enums_h__ */ diff --git a/schemas/Makefile.am b/schemas/Makefile.am index 3e91f37..a8a6cdb 100644 --- a/schemas/Makefile.am +++ b/schemas/Makefile.am @@ -14,7 +14,9 @@ desktop_gschemas_in_in = \ org.gnome.desktop.session.gschema.xml.in.in \ org.gnome.desktop.background.gschema.xml.in.in \ org.gnome.desktop.media-handling.gschema.xml.in.in \ - org.gnome.desktop.screensaver.gschema.xml.in.in + org.gnome.desktop.screensaver.gschema.xml.in.in \ + org.gnome.desktop.wm.keybindings.gschema.xml.in.in \ + org.gnome.desktop.wm.preferences.gschema.xml.in.in @INTLTOOL_XML_NOMERGE_RULE@ @@ -30,7 +32,7 @@ gsettings_SCHEMAS = $(desktop_gschemas_in:.xml.in=.xml) @GSETTINGS_RULES@ convertdir=$(datadir)/GConf/gsettings -convert_DATA=gsettings-desktop-schemas.convert +convert_DATA=gsettings-desktop-schemas.convert wm-schemas.convert EXTRA_DIST = \ $(desktop_gschemas_in_in) \ diff --git a/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in b/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in new file mode 100644 index 0000000..6b08e21 --- /dev/null +++ b/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in @@ -0,0 +1,304 @@ +<schemalist> + + <schema id="org.gnome.desktop.wm.keybindings" + path="/org/gnome/desktop/wm/keybindings/" + gettext-domain="@GETTEXT_PACKAGE@"> + <key name="switch-to-workspace-1" type="as"> + <default>[]</default> + <_summary>Switch to workspace 1</_summary> + </key> + <key name="switch-to-workspace-2" type="as"> + <default>[]</default> + <_summary>Switch to workspace 2</_summary> + </key> + <key name="switch-to-workspace-3" type="as"> + <default>[]</default> + <_summary>Switch to workspace 3</_summary> + </key> + <key name="switch-to-workspace-4" type="as"> + <default>[]</default> + <_summary>Switch to workspace 4</_summary> + </key> + <key name="switch-to-workspace-5" type="as"> + <default>[]</default> + <_summary>Switch to workspace 5</_summary> + </key> + <key name="switch-to-workspace-6" type="as"> + <default>[]</default> + <_summary>Switch to workspace 6</_summary> + </key> + <key name="switch-to-workspace-7" type="as"> + <default>[]</default> + <_summary>Switch to workspace 7</_summary> + </key> + <key name="switch-to-workspace-8" type="as"> + <default>[]</default> + <_summary>Switch to workspace 8</_summary> + </key> + <key name="switch-to-workspace-9" type="as"> + <default>[]</default> + <_summary>Switch to workspace 9</_summary> + </key> + <key name="switch-to-workspace-10" type="as"> + <default>[]</default> + <_summary>Switch to workspace 10</_summary> + </key> + <key name="switch-to-workspace-11" type="as"> + <default>[]</default> + <_summary>Switch to workspace 11</_summary> + </key> + <key name="switch-to-workspace-12" type="as"> + <default>[]</default> + <_summary>Switch to workspace 12</_summary> + </key> + <key name="switch-to-workspace-left" type="as"> + <default><![CDATA[['<Control><Alt>Left']]]></default> + <_summary>Switch to workspace left</_summary> + </key> + <key name="switch-to-workspace-right" type="as"> + <default><![CDATA[['<Control><Alt>Right']]]></default> + <_summary>Switch to workspace right</_summary> + </key> + <key name="switch-to-workspace-up" type="as"> + <default><![CDATA[['<Control><Alt>Up']]]></default> + <_summary>Switch to workspace above</_summary> + </key> + <key name="switch-to-workspace-down" type="as"> + <default><![CDATA[['<Control><Alt>Down']]]></default> + <_summary>Switch to workspace below</_summary> + </key> + <key name="switch-group" type="as"> + <default><![CDATA[['<Alt>Above_Tab']]]></default> + <_summary>Switch windows of an application</_summary> + </key> + <key name="switch-group-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch windows of an application</_summary> + </key> + <key name="switch-windows" type="as"> + <default><![CDATA[['<Alt>Tab']]]></default> + <_summary>Switch applications</_summary> + </key> + <key name="switch-windows-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch applications</_summary> + </key> + <key name="switch-panels" type="as"> + <default><![CDATA[['<Control><Alt>Tab']]]></default> + <_summary>Switch system controls</_summary> + </key> + <key name="switch-panels-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch system controls</_summary> + </key> + <key name="cycle-group" type="as"> + <default><![CDATA[['<Alt>F6']]]></default> + <_summary>Switch windows of an app directly</_summary> + </key> + <key name="cycle-group-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch windows of an app directly</_summary> + </key> + <key name="cycle-windows" type="as"> + <default><![CDATA[['<Alt>Escape']]]></default> + <_summary>Switch windows directly</_summary> + </key> + <key name="cycle-windows-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch windows directly</_summary> + </key> + <key name="cycle-panels" type="as"> + <default><![CDATA[['<Control><Alt>Escape']]]></default> + <_summary>Switch system controls directly</_summary> + </key> + <key name="cycle-panels-backward" type="as"> + <default>[]</default> + <_summary>Reverse switch system controls directly</_summary> + </key> + <key name="show-desktop" type="as"> + <default>[]</default> + <_summary>Hide all normal windows</_summary> + </key> + <key name="panel-main-menu" type="as"> + <default><![CDATA[['<Alt>F1']]]></default> + <_summary>Show the activities overview</_summary> + </key> + <key name="panel-run-dialog" type="as"> + <default><![CDATA[['<Alt>F2']]]></default> + <_summary>Show the run command prompt</_summary> + </key> + <key name="set-spew-mark" type="as"> + <default>[]</default> + <_summary>Don't use</_summary> + </key> + <key name="activate-window-menu" type="as"> + <default><![CDATA[['<Alt>space']]]></default> + <_summary>Activate the window menu</_summary> + </key> + <key name="toggle-fullscreen" type="as"> + <default>[]</default> + <_summary>Toggle fullscreen mode</_summary> + </key> + <key name="toggle-maximized" type="as"> + <default><![CDATA[['<Alt>F10']]]></default> + <_summary>Toggle maximization state</_summary> + </key> + <key name="toggle-above" type="as"> + <default>[]</default> + <_summary>Toggle window always appearing on top</_summary> + </key> + <key name="maximize" type="as"> + <default>[]</default> + <_summary>Maximize window</_summary> + </key> + <key name="unmaximize" type="as"> + <default><![CDATA[['<Alt>F5']]]></default> + <_summary>Restore window</_summary> + </key> + <key name="toggle-shaded" type="as"> + <default>[]</default> + <_summary>Toggle shaded state</_summary> + </key> + <key name="minimize" type="as"> + <default>[]</default> + <_summary>Minimize window</_summary> + </key> + <key name="close" type="as"> + <default><![CDATA[['<Alt>F4']]]></default> + <_summary>Close window</_summary> + </key> + <key name="begin-move" type="as"> + <default><![CDATA[['<Alt>F7']]]></default> + <_summary>Move window</_summary> + </key> + <key name="begin-resize" type="as"> + <default><![CDATA[['<Alt>F8']]]></default> + <_summary>Resize window</_summary> + </key> + <key name="toggle-on-all-workspaces" type="as"> + <default>[]</default> + <_summary>Toggle window on all workspaces or one</_summary> + </key> + <key name="move-to-workspace-1" type="as"> + <default>[]</default> + <_summary>Move window to workspace 1</_summary> + </key> + <key name="move-to-workspace-2" type="as"> + <default>[]</default> + <_summary>Move window to workspace 2</_summary> + </key> + <key name="move-to-workspace-3" type="as"> + <default>[]</default> + <_summary>Move window to workspace 3</_summary> + </key> + <key name="move-to-workspace-4" type="as"> + <default>[]</default> + <_summary>Move window to workspace 4</_summary> + </key> + <key name="move-to-workspace-5" type="as"> + <default>[]</default> + <_summary>Move window to workspace 5</_summary> + </key> + <key name="move-to-workspace-6" type="as"> + <default>[]</default> + <_summary>Move window to workspace 6</_summary> + </key> + <key name="move-to-workspace-7" type="as"> + <default>[]</default> + <_summary>Move window to workspace 7</_summary> + </key> + <key name="move-to-workspace-8" type="as"> + <default>[]</default> + <_summary>Move window to workspace 8</_summary> + </key> + <key name="move-to-workspace-9" type="as"> + <default>[]</default> + <_summary>Move window to workspace 9</_summary> + </key> + <key name="move-to-workspace-10" type="as"> + <default>[]</default> + <_summary>Move window to workspace 10</_summary> + </key> + <key name="move-to-workspace-11" type="as"> + <default>[]</default> + <_summary>Move window to workspace 11</_summary> + </key> + <key name="move-to-workspace-12" type="as"> + <default>[]</default> + <_summary>Move window to workspace 12</_summary> + </key> + <key name="move-to-workspace-left" type="as"> + <default><![CDATA[['<Control><Shift><Alt>Left']]]></default> + <_summary>Move window one workspace to the left</_summary> + </key> + <key name="move-to-workspace-right" type="as"> + <default><![CDATA[['<Control><Shift><Alt>Right']]]></default> + <_summary>Move window one workspace to the right</_summary> + </key> + <key name="move-to-workspace-up" type="as"> + <default><![CDATA[['<Control><Shift><Alt>Up']]]></default> + <_summary>Move window one workspace up</_summary> + </key> + <key name="move-to-workspace-down" type="as"> + <default><![CDATA[['<Control><Shift><Alt>Down']]]></default> + <_summary>Move window one workspace down</_summary> + </key> + <key name="raise-or-lower" type="as"> + <default>[]</default> + <_summary>Raise window if covered, otherwise lower it</_summary> + </key> + <key name="raise" type="as"> + <default>[]</default> + <_summary>Raise window above other windows</_summary> + </key> + <key name="lower" type="as"> + <default>[]</default> + <_summary>Lower window below other windows</_summary> + </key> + <key name="maximize-vertically" type="as"> + <default>[]</default> + <_summary>Maximize window vertically</_summary> + </key> + <key name="maximize-horizontally" type="as"> + <default>[]</default> + <_summary>Maximize window horizontally</_summary> + </key> + <key name="move-to-corner-nw" type="as"> + <default>[]</default> + <_summary>Move window to top left corner</_summary> + </key> + <key name="move-to-corner-ne" type="as"> + <default>[]</default> + <_summary>Move window to top right corner</_summary> + </key> + <key name="move-to-corner-sw" type="as"> + <default>[]</default> + <_summary>Move window to bottom left corner</_summary> + </key> + <key name="move-to-corner-se" type="as"> + <default>[]</default> + <_summary>Move window to bottom right corner</_summary> + </key> + <key name="move-to-side-n" type="as"> + <default>[]</default> + <_summary>Move window to top edge of screen</_summary> + </key> + <key name="move-to-side-s" type="as"> + <default>[]</default> + <_summary>Move window to bottom edge of screen</_summary> + </key> + <key name="move-to-side-e" type="as"> + <default>[]</default> + <_summary>Move window to right side of screen</_summary> + </key> + <key name="move-to-side-w" type="as"> + <default>[]</default> + <_summary>Move window to left side of screen</_summary> + </key> + <key name="move-to-center" type="as"> + <default>[]</default> + <_summary>Move window to center of screen</_summary> + </key> + </schema> + +</schemalist> diff --git a/schemas/org.gnome.desktop.wm.preferences.gschema.xml.in.in b/schemas/org.gnome.desktop.wm.preferences.gschema.xml.in.in new file mode 100644 index 0000000..d1c8a7e --- /dev/null +++ b/schemas/org.gnome.desktop.wm.preferences.gschema.xml.in.in @@ -0,0 +1,298 @@ +<schemalist> + + <schema id="org.gnome.desktop.wm.preferences" + path="/org/gnome/desktop/wm/preferences/" + gettext-domain="@GETTEXT_PACKAGE@"> + <key name="mouse-button-modifier" type="s"> + <default><![CDATA['<Alt>']]></default> + <_summary>Modifier to use for modified window click actions</_summary> + <_description> + Clicking a window while holding down this modifier key will move the + window (left click), resize the window (middle click), or show the + window menu (right click). The middle and right click operations may + be swapped using the "resize-with-right-button" key. Modifier is + expressed as <![CDATA["<Alt>"]]> or <![CDATA["<Super>]]>" for example. + </_description> + </key> + <key name="resize-with-right-button" type="b"> + <default>false</default> + <_summary>Whether to resize with the right button</_summary> + <_description> + Set this to true to resize with the right button and show a menu with + the middle button while holding down the key given in + "mouse-button-modifier"; set it to false to make it work + the opposite way around. + </_description> + </key> + <key name="button-layout" type="s"> + <default>':minimize,maximize,close'</default> + <_summary>Arrangement of buttons on the titlebar</_summary> + <_description> + Arrangement of buttons on the titlebar. The value should be a string, + such as "menu:minimize,maximize,spacer,close"; the colon separates + the left corner of the window from the right corner, and the button + names are comma-separated. Duplicate buttons are not allowed. Unknown + button names are silently ignored so that buttons can be added in + future metacity versions without breaking older versions. A special + spacer tag can be used to insert some space between + two adjacent buttons. + </_description> + </key> + <key name="focus-mode" enum="org.gnome.desktop.GDesktopFocusMode"> + <default>'click'</default> + <_summary>Window focus mode</_summary> + <_description> + The window focus mode indicates how windows are activated. It has + three possible values; "click" means windows must be clicked in order + to focus them, "sloppy" means windows are focused when the mouse enters + the window, and "mouse" means windows are focused when the mouse enters + the window and unfocused when the mouse leaves the window. + </_description> + </key> + <key name="focus-new-windows" + enum="org.gnome.desktop.GDesktopFocusNewWindows"> + <default>'smart'</default> + <_summary>Control how new windows get focus</_summary> + <_description> + This option provides additional control over how newly created windows + get focus. It has two possible values; "smart" applies the user's + normal focus mode, and "strict" results in windows started from a + terminal not being given focus. + </_description> + </key> + <key name="raise-on-click" type="b"> + <default>true</default> + <_summary> + Whether raising should be a side-effect of other user interactions + </_summary> + <_description> + Setting this option to false can lead to buggy behavior, so users are + strongly discouraged from changing it from the default of true. Many + actions (e.g. clicking in the client area, moving or resizing the window) + normally raise the window as a side-effect. Setting this option to false, + which is strongly discouraged, will decouple raising from other user + actions, and ignore raise requests generated by applications. + See http://bugzilla.gnome.org/show_bug.cgi?id=445447#c6. + + Even when this option is false, windows can still be raised by an + alt-left-click anywhere on the window, a normal click on the window + decorations, or by special messages from pagers, such as activation + requests from tasklist applets. This option is currently disabled + in click-to-focus mode. Note that the list of ways to raise windows + when raise-on-click is false does not include programmatic requests + from applications to raise windows; such requests will be ignored + regardless of the reason for the request. + + If you are an application developer and have a user complaining that + your application does not work with this setting disabled, tell them + it is -their- fault for breaking their window manager and that they + need to change this option back to true or live with the "bug" + they requested. + </_description> + </key> + <key name="action-double-click-titlebar" + enum="org.gnome.desktop.GDesktopTitlebarAction"> + <default>'toggle-maximize'</default> + <_summary>Action on title bar double-click</_summary> + <_description> + This option determines the effects of double-clicking on the title bar. + + Current valid options are 'toggle-shade', which will shade/unshade the + window, 'toggle-maximize' which will maximize/unmaximize the window, + 'toggle-maximize-horizontally' and 'toggle-maximize-vertically' + which will maximize/unmaximize the window in that direction only, + 'minimize' which will minimize the window, 'shade' which will roll + the window up, 'menu' which will display the window menu, + 'lower' which will put the window behind all the others, + and 'none' which will not do anything. + </_description> + <!-- For compatibility with GConf strings (Metacity 2.30) --> + <aliases> + <alias value="toggle_shade" target="toggle-shade"/> + <alias value="toggle_maximize" target="toggle-maximize"/> + <alias value="toggle_maximize_horizontally" + target="toggle-maximize-horizontally"/> + <alias value="toggle_maximize_vertically" + target="toggle-maximize-vertically"/> + </aliases> + </key> + <key name="action-middle-click-titlebar" + enum="org.gnome.desktop.GDesktopTitlebarAction"> + <default>'lower'</default> + <_summary>Action on title bar middle-click</_summary> + <_description> + This option determines the effects of middle-clicking on the title bar. + + Current valid options are 'toggle-shade', which will shade/unshade + the window, 'toggle-maximize' which will maximize/unmaximize the window, + 'toggle-maximize-horizontally' and 'toggle-maximize-vertically' + which will maximize/unmaximize the window in that direction only, + 'minimize' which will minimize the window, 'shade' which will roll + the window up, 'menu' which will display the window menu, + 'lower' which will put the window behind all the others, + and 'none' which will not do anything. + </_description> + <!-- For compatibility with GConf strings (Metacity 2.30) --> + <aliases> + <alias value="toggle_shade" target="toggle-shade"/> + <alias value="toggle_maximize" target="toggle-maximize"/> + <alias value="toggle_maximize_horizontally" + target="toggle-maximize-horizontally"/> + <alias value="toggle_maximize_vertically" + target="toggle-maximize-vertically"/> + </aliases> + </key> + <key name="action-right-click-titlebar" + enum="org.gnome.desktop.GDesktopTitlebarAction"> + <default>'menu'</default> + <_summary>Action on title bar right-click</_summary> + <_description> + This option determines the effects of right-clicking on the title bar. + + Current valid options are 'toggle-shade', which will shade/unshade + the window, 'toggle-maximize' which will maximize/unmaximize + the window, 'toggle-maximize-horizontally' and + 'toggle-maximize-vertically' which will maximize/unmaximize + the window in that direction only, 'minimize' which will minimize + the window, 'shade' which will roll the window up, + 'menu' which will display the window menu, 'lower' which will put + the window behind all the others, and 'none' which will not do anything. + </_description> + <!-- For compatibility with GConf strings (Metacity 2.30) --> + <aliases> + <alias value="toggle_shade" target="toggle-shade"/> + <alias value="toggle_maximize" target="toggle-maximize"/> + <alias value="toggle_maximize_horizontally" + target="toggle-maximize-horizontally"/> + <alias value="toggle_maximize_vertically" + target="toggle-maximize-vertically"/> + </aliases> + </key> + <key name="auto-raise" type="b"> + <default>false</default> + <_summary>Automatically raises the focused window</_summary> + <_description> + If set to true, and the focus mode is either "sloppy" or "mouse" + then the focused window will be automatically raised after a delay + specified by the auto-raise-delay key. This is not related to clicking + on a window to raise it, nor to entering a window during drag-and-drop. + </_description> + </key> + <key name="auto-raise-delay" type="i"> + <range min="0" max="10000"/> + <default>500</default> + <_summary>Delay in milliseconds for the auto raise option</_summary> + <_description> + The time delay before raising a window if auto-raise is set to true. + The delay is given in thousandths of a second. + </_description> + </key> + <key name="theme" type="s"> + <default>'Adwaita'</default> + <_summary>Current theme</_summary> + <_description> + The theme determines the appearance of window borders, titlebar, + and so forth. + </_description> + </key> + <key name="titlebar-uses-system-font" type="b"> + <default>false</default> + <_summary>Use standard system font in window titles</_summary> + <_description> + If true, ignore the titlebar-font option, and use the standard + application font for window titles. + </_description> + </key> + <key name="titlebar-font" type="s"> + <default>'Cantarell Bold 11'</default> + <_summary>Window title font</_summary> + <_description> + A font description string describing a font for window titlebars. + The size from the description will only be used if the + titlebar-font-size option is set to 0. Also, this option is disabled + if the titlebar-uses-desktop-font option is set to true. + </_description> + </key> + <key name="num-workspaces" type="i"> + <default>4</default> + <range min="1" max="36"/> + <_summary>Number of workspaces</_summary> + <_description> + Number of workspaces. Must be more than zero, and has a fixed maximum + to prevent making the desktop unusable by accidentally asking + for too many workspaces. + </_description> + </key> + <key name="audible-bell" type="b"> + <default>true</default> + <_summary>System Bell is Audible</_summary> + <_description> + Determines whether applications or the system can generate audible + 'beeps'; may be used in conjunction with 'visual bell' + to allow silent 'beeps'. + </_description> + </key> + <key name="visual-bell-type" + enum="org.gnome.desktop.GDesktopVisualBellType"> + <default>'fullscreen-flash'</default> + <_summary>Visual Bell Type</_summary> + <_description> + Tells the WM how to implement the visual indication that the + system bell or another application 'bell' indicator has been rung. + + Currently there are two valid values, "fullscreen", which causes + a fullscreen white-black flash, and "frame-flash" which causes + the titlebar of the application which sent the bell signal to flash. + + If the application which sent the bell is unknown (as is usually + the case for the default "system beep"), the currently focused + window's titlebar is flashed. + </_description> + <!-- For compatibility with GConf strings (Metacity 2.30) --> + <aliases> + <alias value="frame_flash" target="frame-flash"/> + </aliases> + </key> + <key name="application-based" type="b"> + <default>false</default> + <_summary> + (Not implemented) Navigation works in terms of applications not windows + </_summary> + <_description> + If true, then the WM works in terms of applications rather than + windows. The concept is a bit abstract, but in general an + application-based setup is more like the Mac and less like Windows. + When you focus a window in application-based mode, all the windows + in the application will be raised. Also, in application-based mode, + focus clicks are not passed through to windows in other applications. + Application-based mode is, however, largely unimplemented + at the moment. + </_description> + </key> + <key name="disable-workarounds" type="b"> + <default>false</default> + <_summary> + Disable misfeatures that are required by old or broken applications + </_summary> + <_description> + Some applications disregard specifications in ways that result in + window manager misfeatures. This option puts the WM in a + rigorously correct mode, which gives a more consistent + user interface, provided one does not need to run any + misbehaving applications. + </_description> + </key> + <key name="workspace-names" type="as"> + <default>[]</default> + <_summary>The names of the workspaces</_summary> + <_description> + Defines the names that should be assigned to workspaces. + If the list is too long for the current number of workspaces, + names in excess will be ignored. If the list is too short, or + includes empty names, missing values will be replaced with the + default ("Workspace N"). + </_description> + </key> + </schema> + +</schemalist> diff --git a/schemas/wm-schemas.convert b/schemas/wm-schemas.convert new file mode 100644 index 0000000..42a2626 --- /dev/null +++ b/schemas/wm-schemas.convert @@ -0,0 +1,100 @@ +# From org.gnome.desktop.wm.preferences +[org.gnome.desktop.wm.preferences] +mouse-button-modifier = /apps/metacity/general/mouse_button_modifier +resize-with-right-button = /apps/metacity/general/resize_with_right_button +button-layout = /apps/metacity/general/button_layout +focus-mode = /apps/metacity/general/focus_mode +focus-new-windows = /apps/metacity/general/focus_new_windows +raise-on-click = /apps/metacity/general/raise_on_click +action-double-click-titlebar = /apps/metacity/general/action_double_click_titlebar +action-middle-click-titlebar = /apps/metacity/general/action_middle_click_titlebar +action-right-click-titlebar = /apps/metacity/general/action_right_click_titlebar +auto-raise = /apps/metacity/general/auto_raise +auto-raise-delay = /apps/metacity/general/auto_raise_delay +theme = /apps/metacity/general/theme +titlebar-uses-system-font = /apps/metacity/general/titlebar_uses_system_font +titlebar-font = /apps/metacity/general/titlebar_font +num-workspaces = /apps/metacity/general/num_workspaces +visual-bell = /apps/metacity/general/visual_bell +audible-bell = /apps/metacity/general/audible_bell +visual-bell-type = /apps/metacity/general/visual_bell_type +application-based = /apps/metacity/general/application_based +disable-workarounds = /apps/metacity/general/disable_workarounds +workspace-names = /apps/metacity/general/workspace_names + +# From org.gnome.desktop.wm.keybindings +[org.gnome.desktop.wm.keybindings] +switch-to-workspace-1 = /apps/metacity/global_keybindings/switch-to-workspace-1 +switch-to-workspace-2 = /apps/metacity/global_keybindings/switch-to-workspace-2 +switch-to-workspace-3 = /apps/metacity/global_keybindings/switch-to-workspace-3 +switch-to-workspace-4 = /apps/metacity/global_keybindings/switch-to-workspace-4 +switch-to-workspace-5 = /apps/metacity/global_keybindings/switch-to-workspace-5 +switch-to-workspace-6 = /apps/metacity/global_keybindings/switch-to-workspace-6 +switch-to-workspace-7 = /apps/metacity/global_keybindings/switch-to-workspace-7 +switch-to-workspace-8 = /apps/metacity/global_keybindings/switch-to-workspace-8 +switch-to-workspace-9 = /apps/metacity/global_keybindings/switch-to-workspace-9 +switch-to-workspace-10 = /apps/metacity/global_keybindings/switch-to-workspace-10 +switch-to-workspace-11 = /apps/metacity/global_keybindings/switch-to-workspace-11 +switch-to-workspace-12 = /apps/metacity/global_keybindings/switch-to-workspace-12 +switch-to-workspace-left = /apps/metacity/global_keybindings/switch_to_workspace_left +switch-to-workspace-right = /apps/metacity/global_keybindings/switch_to_workspace_right +switch-to-workspace-up = /apps/metacity/global_keybindings/switch_to_workspace_up +switch-to-workspace-down = /apps/metacity/global_keybindings/switch_to_workspace_down +switch-group = /apps/metacity/global_keybindings/switch_group +switch-group-backward = /apps/metacity/global_keybindings/switch_group_backward +switch-windows = /apps/metacity/global_keybindings/switch_windows +switch-windows-backward = /apps/metacity/global_keybindings/switch_windows_backward +switch-panels = /apps/metacity/global_keybindings/switch_panels +switch-panels-backward = /apps/metacity/global_keybindings/switch_panels_backward +cycle-group = /apps/metacity/global_keybindings/cycle_group +cycle-group-backward = /apps/metacity/global_keybindings/cycle_group_backward +cycle-windows = /apps/metacity/global_keybindings/cycle_windows +cycle-windows-backward = /apps/metacity/global_keybindings/cycle_windows_backward +cycle-panels = /apps/metacity/global_keybindings/cycle_panels +cycle-panels-backward = /apps/metacity/global_keybindings/cycle_panels_backward +show-desktop = /apps/metacity/global_keybindings/show_desktop +panel-main-menu = /apps/metacity/global_keybindings/panel_main_menu +panel-run-dialog = /apps/metacity/global_keybindings/panel_run_dialog +set-spew-mark = /apps/metacity/window_keybindings/set_spew_mark +activate-window-menu = /apps/metacity/window_keybindings/activate_window_menu +toggle-fullscreen = /apps/metacity/window_keybindings/toggle_fullscreen +toggle-maximized = /apps/metacity/window_keybindings/toggle_maximized +toggle-above = /apps/metacity/window_keybindings/toggle_above +maximize = /apps/metacity/window_keybindings/maximize +unmaximize = /apps/metacity/window_keybindings/unmaximize +toggle-shaded = /apps/metacity/window_keybindings/toggle_shaded +minimize = /apps/metacity/window_keybindings/minimize +close = /apps/metacity/window_keybindings/close +begin-move = /apps/metacity/window_keybindings/begin_move +begin-resize = /apps/metacity/window_keybindings/begin_resize +toggle-on-all-workspaces = /apps/metacity/window_keybindings/toggle_on_all_workspaces +move-to-workspace-1 = /apps/metacity/window_keybindings/move-to-workspace-1 +move-to-workspace-2 = /apps/metacity/window_keybindings/move-to-workspace-2 +move-to-workspace-3 = /apps/metacity/window_keybindings/move-to-workspace-3 +move-to-workspace-4 = /apps/metacity/window_keybindings/move-to-workspace-4 +move-to-workspace-5 = /apps/metacity/window_keybindings/move-to-workspace-5 +move-to-workspace-6 = /apps/metacity/window_keybindings/move-to-workspace-6 +move-to-workspace-7 = /apps/metacity/window_keybindings/move-to-workspace-7 +move-to-workspace-8 = /apps/metacity/window_keybindings/move-to-workspace-8 +move-to-workspace-9 = /apps/metacity/window_keybindings/move-to-workspace-9 +move-to-workspace-10 = /apps/metacity/window_keybindings/move-to-workspace-10 +move-to-workspace-11 = /apps/metacity/window_keybindings/move-to-workspace-11 +move-to-workspace-12 = /apps/metacity/window_keybindings/move-to-workspace-12 +move-to-workspace-left = /apps/metacity/window_keybindings/move_to_workspace_left +move-to-workspace-right = /apps/metacity/window_keybindings/move_to_workspace_right +move-to-workspace-up = /apps/metacity/window_keybindings/move_to_workspace_up +move-to-workspace-down = /apps/metacity/window_keybindings/move_to_workspace_down +raise-or-lower = /apps/metacity/window_keybindings/raise_or_lower +raise = /apps/metacity/window_keybindings/raise +lower = /apps/metacity/window_keybindings/lower +maximize-vertically = /apps/metacity/window_keybindings/maximize_vertically +maximize-horizontally = /apps/metacity/window_keybindings/maximize_horizontally +move-to-corner-nw = /apps/metacity/window_keybindings/move_to_corner_nw +move-to-corner-ne = /apps/metacity/window_keybindings/move_to_corner_ne +move-to-corner-sw = /apps/metacity/window_keybindings/move_to_corner_sw +move-to-corner-se = /apps/metacity/window_keybindings/move_to_corner_se +move-to-side-n = /apps/metacity/window_keybindings/move_to_side_n +move-to-side-s = /apps/metacity/window_keybindings/move_to_side_s +move-to-side-e = /apps/metacity/window_keybindings/move_to_side_e +move-to-side-w = /apps/metacity/window_keybindings/move_to_side_w +move-to-center = /apps/metacity/window_keybindings/move_to_center |