diff --git a/ChangeLog b/ChangeLog index 4f6411c37..ebb6e0fa1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2008-10-12 Thomas Thurman + + Make the bindings in src/core/*-bindings.h generate + GConf schemas too. Note that there's an i18n issue + (documented in schema-bindings.c) which will be fixed + next checkin. + + * src/core/schema-bindings.c: major fixup to make it + ready for use as part of the actual build process. + * src/Makefile.am: added magic to make it call schema-bindings + after it builds it. + * src/core/window-bindings.h: added comments; + also, window menu was listed variously as alt-Space + and alt-Print; it should have been alt-Space. + * src/metacity.schemas.in.in: renamed from s/\.in$//, + sentinel added for the generated bindings, + warning at the top now untrue, and removed. + 2008-10-12 Thomas Thurman Fix annoying bug where alt-tab and friends would jump diff --git a/src/Makefile.am b/src/Makefile.am index fe6c2a472..d0b5e1e3d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -136,6 +136,17 @@ metacity_theme_viewer_SOURCES= \ metacity_dialog_SOURCES= \ ui/metacity-dialog.c +if GCONF_SCHEMAS_INSTALL +schema_bindings_SOURCES = \ + core/schema-bindings.c + +schema_bindings_LDADD = @METACITY_LIBS@ +metacity.schemas.in: schema_bindings + @echo Generating keybinding schemas... + ./schema_bindings > metacity.schemas.in + +endif + bin_PROGRAMS=metacity metacity-theme-viewer libexec_PROGRAMS=metacity-dialog @@ -148,7 +159,7 @@ testboxes_SOURCES=include/util.h core/util.c include/boxes.h core/boxes.c core/t testgradient_SOURCES=ui/gradient.h ui/gradient.c ui/testgradient.c testasyncgetprop_SOURCES=core/async-getprop.h core/async-getprop.c core/testasyncgetprop.c -noinst_PROGRAMS=testboxes testgradient testasyncgetprop +noinst_PROGRAMS=testboxes testgradient testasyncgetprop schema_bindings testboxes_LDADD= @METACITY_LIBS@ testgradient_LDADD= @METACITY_LIBS@ diff --git a/src/core/schema-bindings.c b/src/core/schema-bindings.c index 91d002638..ef7e532e2 100644 --- a/src/core/schema-bindings.c +++ b/src/core/schema-bindings.c @@ -26,13 +26,23 @@ * the GConf .schemas file. * * FIXME: also need to make 50-metacity-desktop-key.xml + * + * FIXME: this actually breaks i18n because the schemas.in->schemas process + * doesn't recognise the concatenated strings, and so we will have to do + * them ourselves; this will need to be fixed before the next release. */ #include +#include +#include #include #define _(x) x +static void single_stanza (gboolean is_window, char *name, char *default_value, + gboolean can_reverse, gboolean going_backwards, + char *short_description, char *long_description); + char *liberal, *could_go_backwards, *could_go_forwards; const char* window_string = \ @@ -50,7 +60,7 @@ const char* window_string = \ " \n" \ " \n\n\n"; -void +static void single_stanza (gboolean is_window, char *name, char *default_value, gboolean can_reverse, gboolean going_backwards, char *short_description, char *long_description) @@ -94,10 +104,12 @@ single_stanza (gboolean is_window, char *name, char *default_value, } if (going_backwards) - printf (could_go_forwards); + printf ("%s\n", could_go_forwards); else - printf (could_go_backwards); + printf ("%s\n", could_go_backwards); } + + printf (" %s\n", liberal); printf (" \n"); printf (" \n"); @@ -108,9 +120,36 @@ single_stanza (gboolean is_window, char *name, char *default_value, g_free (long_description); } -void +static void produce_bindings (); + +static void produce_bindings () { + FILE *metacity_schemas_in_in = fopen("metacity.schemas.in.in", "r"); + + if (!metacity_schemas_in_in) + { + g_error ("Cannot compile without metacity.schemas.in.in: %s\n", + strerror (errno)); + } + + while (!feof (metacity_schemas_in_in)) + { + /* 10240 is ridiculous overkill; we're writing the input file and + * the lines are always 80 chars or less. + */ + char buffer[10240]; + + fgets (buffer, sizeof (buffer), metacity_schemas_in_in); + + if (strstr (buffer, "")) + break; + + printf ("%s", buffer); + } + + if (!feof (metacity_schemas_in_in)) + { #define item(name, suffix, param, short, long, keystroke) \ single_stanza (TRUE, #name suffix, \ keystroke, \ @@ -127,15 +166,30 @@ produce_bindings () short, long); #include "screen-bindings.h" #undef item + } + + while (!feof (metacity_schemas_in_in)) + { + char buffer[10240]; + + fgets (buffer, sizeof (buffer), metacity_schemas_in_in); + + printf ("%s", buffer); + } + + fclose (metacity_schemas_in_in); } int main () { - /* XXX: TODO: find out what/how gdk i18ns the keycaps as, and add a - * translator comment + /* Translators: Please don't translate "Control", "Shift", etc, since these + * are hardcoded (in gtk/gtkaccelgroup.c; it's not metacity's fault). + * "disabled" must also stay as it is. */ - liberal = g_markup_escape_text(_("The parser is fairly liberal and allows "\ + liberal = g_markup_escape_text(_("The format looks like \"a\" or " + "F1\". \n"\ + "The parser is fairly liberal and allows "\ "lower or upper case, and also abbreviations such as \"\" and " \ "\"\". If you set the option to the special string " \ "\"disabled\", then there will be no keybinding for this action."), -1); @@ -154,6 +208,8 @@ main () g_free (could_go_forwards); g_free (could_go_backwards); g_free (liberal); + + return 0; } /* eof schema-bindings.c */ diff --git a/src/core/window-bindings.h b/src/core/window-bindings.h index ab3d8e2fd..d4035011d 100644 --- a/src/core/window-bindings.h +++ b/src/core/window-bindings.h @@ -59,6 +59,11 @@ * Some code out there wants only the entries which have a default * binding (i.e. whose sixth parameter is not NULL). You can get only these * by defining ONLY_BOUND_BY_DEFAULT before you include this file. + * + * Possible future work: + * - merge with screen-bindings.h somehow + * - ONLY_BOUND_BY_DEFAULT is crack, get rid of it + * - "suffix" is confusing; write it out in full */ #ifndef item @@ -68,7 +73,7 @@ item (activate_window_menu, "", 0, _("Activate window menu"), _("The keybinding used to activate the window menu."), - "Print") + "Space") #ifndef ONLY_BOUND_BY_DEFAULT diff --git a/src/metacity.schemas.in b/src/metacity.schemas.in deleted file mode 100644 index 20d348623..000000000 --- a/src/metacity.schemas.in +++ /dev/null @@ -1,2334 +0,0 @@ - - - - - - - - - /schemas/apps/metacity/general/mouse_button_modifier - /apps/metacity/general/mouse_button_modifier - metacity - string - <Alt> - - Modifier to use for modified window click actions - - 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). - Modifier is expressed as "<Alt>" or "<Super>" - for example. - - - - - - /schemas/apps/metacity/general/button_layout - /apps/metacity/general/button_layout - metacity - string - menu:minimize,maximize,close - - Arrangement of buttons on the titlebar - - 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. - - - - - - /schemas/apps/metacity/general/focus_mode - /apps/metacity/general/focus_mode - metacity - string - click - - Window focus mode - - 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. - - - - - - /schemas/apps/metacity/general/focus_new_windows - /apps/metacity/general/focus_new_windows - metacity - string - smart - - Control how new windows get focus - - 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. - - - - - - /schemas/apps/metacity/general/raise_on_click - /apps/metacity/general/raise_on_click - metacity - bool - true - - Whether raising should be a side-effect of other user - interactions - - 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. - - - - - - /schemas/apps/metacity/general/action_double_click_titlebar - /apps/metacity/general/action_double_click_titlebar - metacity - string - toggle_maximize - - Action on title bar double-click - - 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. - - - - - - /schemas/apps/metacity/general/action_middle_click_titlebar - /apps/metacity/general/action_middle_click_titlebar - metacity - string - lower - - Action on title bar middle-click - - 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. - - - - - - /schemas/apps/metacity/general/action_right_click_titlebar - /apps/metacity/general/action_right_click_titlebar - metacity - string - menu - - Action on title bar right-click - - 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. - - - - - - /schemas/apps/metacity/general/auto_raise - /apps/metacity/general/auto_raise - metacity - bool - false - - Automatically raises the focused window - - 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. - - - - - - /schemas/apps/metacity/general/auto_raise_delay - /apps/metacity/general/auto_raise_delay - metacity - int - 500 - - Delay in milliseconds for the auto raise option - - The time delay before raising a window if auto_raise is set to - true. The delay is given in thousandths of a second. - - - - - - /schemas/apps/metacity/general/theme - /apps/metacity/general/theme - metacity - string - Clearlooks - - Current theme - - The theme determines the appearance of window borders, - titlebar, and so forth. - - - - - - /schemas/apps/metacity/general/titlebar_uses_system_font - /apps/metacity/general/titlebar_uses_system_font - metacity - bool - false - - Use standard system font in window titles - - If true, ignore the titlebar_font - option, and use the standard application font for window - titles. - - - - - - /schemas/apps/metacity/general/titlebar_font - /apps/metacity/general/titlebar_font - metacity - string - Sans Bold 10 - - Window title font - - 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. - - - - - - /schemas/apps/metacity/general/num_workspaces - /apps/metacity/general/num_workspaces - metacity - int - 4 - - Number of workspaces - - 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. - - - - - - /schemas/apps/metacity/general/visual_bell - /apps/metacity/general/visual_bell - metacity - bool - false - - Enable Visual Bell - - Turns on a visual indication when an application or the system - issues a 'bell' or 'beep'; useful for the hard-of-hearing and for - use in noisy environments. - - - - - - /schemas/apps/metacity/general/audible_bell - /apps/metacity/general/audible_bell - metacity - bool - true - - System Bell is Audible - - Determines whether applications or the system can generate - audible 'beeps'; may be used in conjunction with 'visual bell' to - allow silent 'beeps'. - - - - - - /schemas/apps/metacity/general/visual_bell_type - /apps/metacity/general/visual_bell_type - metacity - string - fullscreen - - Visual Bell Type - - Tells Metacity 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. - - - - - - /schemas/apps/metacity/general/compositing_manager - /apps/metacity/general/compositing_manager - metacity - bool - false - - Compositing Manager - - Determines whether Metacity is a compositing manager. - - - - - - /schemas/apps/metacity/workspace_names/name - /apps/metacity/workspace_names/name_1 - /apps/metacity/workspace_names/name_2 - /apps/metacity/workspace_names/name_3 - /apps/metacity/workspace_names/name_4 - /apps/metacity/workspace_names/name_5 - /apps/metacity/workspace_names/name_6 - /apps/metacity/workspace_names/name_7 - /apps/metacity/workspace_names/name_8 - /apps/metacity/workspace_names/name_9 - /apps/metacity/workspace_names/name_10 - /apps/metacity/workspace_names/name_11 - /apps/metacity/workspace_names/name_12 - /apps/metacity/workspace_names/name_13 - /apps/metacity/workspace_names/name_14 - /apps/metacity/workspace_names/name_15 - /apps/metacity/workspace_names/name_16 - metacity - string - - - Name of workspace - - The name of a workspace. - - - - - - /schemas/apps/metacity/general/reduced_resources - /apps/metacity/general/reduced_resources - metacity - bool - false - - If true, trade off usability for less resource usage - - If true, metacity will give the user less feedback by using - wireframes, avoiding animations, or other means. This is a - significant reduction in usability for many users, but may allow - legacy applications to continue working, and may also be a - useful tradeoff for terminal servers. However, the wireframe - feature is disabled when accessibility is on. - - - - - - - - /schemas/apps/metacity/window_keybindings/activate_window_menu - /apps/metacity/window_keybindings/activate_window_menu - metacity - string - <Alt>space - - Activate window menu - - The keybinding used to activate the window menu. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - - /schemas/apps/metacity/window_keybindings/toggle_fullscreen - /apps/metacity/window_keybindings/toggle_fullscreen - metacity - string - disabled - - Toggle fullscreen mode - - The keybinding used to toggle fullscreen mode. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/toggle_above - /apps/metacity/window_keybindings/toggle_above - metacity - string - disabled - - Toggle always on top state - - The keybinding used to toggle always on top. A window that is - always on top will always be visible over other overlapping - windows. The format looks like "<Control>a" or - "<Shift><Alt>F1". The parser is fairly liberal and - allows lower or upper case, and also abbreviations such as - "<Ctl>" and "<Ctrl>". If you set the option to the - special string "disabled", then there will be no keybinding for - this action. - - - - - - /schemas/apps/metacity/window_keybindings/toggle_maximized - /apps/metacity/window_keybindings/toggle_maximized - metacity - string - disabled - - Toggle maximization state - - The keybinding used to toggle maximization. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/maximize - /apps/metacity/window_keybindings/maximize - metacity - string - <Alt>F10 - - Maximize window - - The keybinding used to maximize a window. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/unmaximize - /apps/metacity/window_keybindings/unmaximize - metacity - string - <Alt>F5 - - Unmaximize window - - The keybinding used to unmaximize a window. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/toggle_shaded - /apps/metacity/window_keybindings/toggle_shaded - metacity - string - disabled - - Toggle shaded state - - The keybinding used to toggle shaded/unshaded state. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/close - /apps/metacity/window_keybindings/close - metacity - string - <Alt>F4 - - Close window - - The keybinding used to close a window. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/minimize - /apps/metacity/window_keybindings/minimize - metacity - string - <Alt>F9 - - Minimize window - - The keybinding used to minimize a window. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/begin_move - /apps/metacity/window_keybindings/begin_move - metacity - string - <Alt>F7 - - Move window - - The keybinding used to enter "move mode" and begin moving a - window using the keyboard. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/begin_resize - /apps/metacity/window_keybindings/begin_resize - metacity - string - <Alt>F8 - - Resize window - - The keybinding used to enter "resize mode" and begin resizing a - window using the keyboard. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/toggle_on_all_workspaces - /apps/metacity/window_keybindings/toggle_on_all_workspaces - metacity - string - disabled - - Toggle window on all workspaces - - The keybinding used to toggle whether the window is on all - workspaces or just one. - The format looks like "<Control>a" or "<Shift><Alt>F1". - The parser is - fairly liberal and allows lower or upper case, and also - abbreviations such as "<Ctl>" and "<Ctrl>". If -you set - the option to the special string "disabled", then there - will be no keybinding for this action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_1 - /apps/metacity/window_keybindings/move_to_workspace_1 - metacity - string - disabled - - Move window to workspace 1 - - The keybinding used to move a window to workspace 1. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_2 - /apps/metacity/window_keybindings/move_to_workspace_2 - metacity - string - disabled - - Move window to workspace 2 - - The keybinding used to move a window to workspace 2. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_3 - /apps/metacity/window_keybindings/move_to_workspace_3 - metacity - string - disabled - - Move window to workspace 3 - - The keybinding used to move a window to workspace 3. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_4 - /apps/metacity/window_keybindings/move_to_workspace_4 - metacity - string - disabled - - Move window to workspace 4 - - The keybinding used to move a window to workspace 4. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_5 - /apps/metacity/window_keybindings/move_to_workspace_5 - metacity - string - disabled - - Move window to workspace 5 - - The keybinding used to move a window to workspace 5. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_6 - /apps/metacity/window_keybindings/move_to_workspace_6 - metacity - string - disabled - - Move window to workspace 6 - - The keybinding used to move a window to workspace 6. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_7 - /apps/metacity/window_keybindings/move_to_workspace_7 - metacity - string - disabled - - Move window to workspace 7 - - The keybinding used to move a window to workspace 7. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_8 - /apps/metacity/window_keybindings/move_to_workspace_8 - metacity - string - disabled - - Move window to workspace 8 - - The keybinding used to move a window to workspace 8. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_9 - /apps/metacity/window_keybindings/move_to_workspace_9 - metacity - string - disabled - - Move window to workspace 9 - - The keybinding used to move a window to workspace 9. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_10 - /apps/metacity/window_keybindings/move_to_workspace_10 - metacity - string - disabled - - Move window to workspace 10 - - The keybinding used to move a window to workspace 10. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_11 - /apps/metacity/window_keybindings/move_to_workspace_11 - metacity - string - disabled - - Move window to workspace 11 - - The keybinding used to move a window to workspace 11. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_12 - /apps/metacity/window_keybindings/move_to_workspace_12 - metacity - string - disabled - - Move window to workspace 12 - - The keybinding used to move a window to workspace 12. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_left - /apps/metacity/window_keybindings/move_to_workspace_left - metacity - string - <Control><Shift><Alt>Left - - Move window one workspace to the left - - The keybinding used to move a window one workspace to the left. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_right - /apps/metacity/window_keybindings/move_to_workspace_right - metacity - string - <Control><Shift><Alt>Right - - Move window one workspace to the right - - The keybinding used to move a window one workspace to the right. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_up - /apps/metacity/window_keybindings/move_to_workspace_up - metacity - string - <Control><Shift><Alt>Up - - Move window one workspace up - - The keybinding used to move a window one workspace up. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/window_keybindings/move_to_workspace_down - /apps/metacity/window_keybindings/move_to_workspace_down - metacity - string - <Control><Shift><Alt>Down - - Move window one workspace down - - The keybinding used to move a window one workspace down. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/window_keybindings/raise_or_lower - /apps/metacity/window_keybindings/raise_or_lower - metacity - string - - - Raise obscured window, otherwise lower - - This keybinding changes whether a window is above or below - other windows. If the window is covered by another one, it - raises the window above all others, and if the window is - already fully visible, it lowers it below all others. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/raise - /apps/metacity/window_keybindings/raise - metacity - string - - - Raise window above other windows - - This keybinding raises the window above other windows. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/lower - /apps/metacity/window_keybindings/lower - metacity - string - - - Lower window below other windows - - This keybinding lowers a window below other windows. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/maximize_vertically - /apps/metacity/window_keybindings/maximize_vertically - metacity - string - - - Maximize window vertically - - This keybinding resizes a window to fill available vertical space. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/maximize_horizontally - /apps/metacity/window_keybindings/maximize_horizontally - metacity - string - - - Maximize window horizontally - - This keybinding resizes a window to fill available horizontal space. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_corner_nw - /apps/metacity/window_keybindings/move_to_corner_nw - metacity - string - - - Move window to north-west corner - - This keybinding moves a window into the north-west (top left) - corner of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_corner_ne - /apps/metacity/window_keybindings/move_to_corner_ne - metacity - string - - - Move window to north-east corner - - This keybinding moves a window into the north-east (top right) - corner of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_corner_sw - /apps/metacity/window_keybindings/move_to_corner_sw - metacity - string - - - Move window to south-west corner - - This keybinding moves a window into the south-west (bottom left) - corner of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_corner_se - /apps/metacity/window_keybindings/move_to_corner_se - metacity - string - - - Move window to south-east corner - - This keybinding moves a window into the south-east (bottom right) - corner of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_side_n - /apps/metacity/window_keybindings/move_to_side_n - metacity - string - - - Move window to north side of screen - - This keybinding moves a window against the north (top) - side of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_side_s - /apps/metacity/window_keybindings/move_to_side_s - metacity - string - - - Move window to south side of screen - - This keybinding moves a window into the south (bottom) - side of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_side_e - /apps/metacity/window_keybindings/move_to_side_e - metacity - string - - - Move window to east side of screen - - This keybinding moves a window into the east (right) - side of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_side_w - /apps/metacity/window_keybindings/move_to_side_w - metacity - string - - - Move window to west side of screen - - This keybinding moves a window into the west (left) - side of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/window_keybindings/move_to_center - /apps/metacity/window_keybindings/move_to_center - metacity - string - - - Move window to center of screen - - This keybinding moves a window into the center - of the screen. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_windows - /apps/metacity/global_keybindings/switch_windows - metacity - string - <Alt>Tab - - Move between windows with popup - - The keybinding used to move focus between windows, using - a popup window. - (Traditionally <Alt>Tab) Holding the "shift" key - while using this binding reverses the direction of movement. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_windows_backward - /apps/metacity/global_keybindings/switch_windows_backward - metacity - string - disabled - - Move focus backwards between windows using popup display - - The keybinding used to move focus backwards between windows, using - a popup window. Holding "shift" together with this - binding makes the direction go forward again. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_panels - /apps/metacity/global_keybindings/switch_panels - metacity - string - <Control><Alt>Tab - - Move between panels and the desktop with popup - - The keybinding used to move focus between panels and - the desktop, using a popup window. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_panels_backward - /apps/metacity/global_keybindings/switch_panels_backward - metacity - string - disabled - - Move backwards between panels and the desktop with popup - - The keybinding used to move focus backwards between panels - and the desktop, using a popup window. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_group - /apps/metacity/global_keybindings/cycle_group - metacity - string - disabled - - Move between windows of an application immediately - - The keybinding used to move focus between windows of an - application without a popup window. - Holding the "shift" key while using this binding reverses - the direction of movement. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_group_backward - /apps/metacity/global_keybindings/cycle_group_backward - metacity - string - disabled - - Move backwards between windows of an application immediately - - The keybinding used to move focus backwards between windows - of an application without a popup window. Holding "shift" - together with this binding makes the direction go forward again. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_group - /apps/metacity/global_keybindings/switch_group - metacity - string - <Alt>F6 - - Move between windows of an application with popup - - The keybinding used to move focus between windows of an - application, using a popup window. - (Traditionally <Alt>F6) Holding the "shift" key - while using this binding reverses the direction of movement. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_group_backward - /apps/metacity/global_keybindings/switch_group_backward - metacity - string - disabled - - Move backwards between windows of an application with popup - - The keybinding used to move focus backwards between windows - of an application, using a popup window. Holding "shift" - together with this binding makes the direction go forward again. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_windows - /apps/metacity/global_keybindings/cycle_windows - metacity - string - <Alt>Escape - - Move between windows immediately - - The keybinding used to move focus between windows without - a popup window. - (Traditionally <Alt>Escape) Holding the "shift" key - while using this binding reverses the direction of movement. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_windows_backward - /apps/metacity/global_keybindings/cycle_windows_backward - metacity - string - disabled - - Move backwards between windows immediately - - The keybinding used to move focus backwards between windows - without a popup window. Holding "shift" together with this - binding makes the direction go forward again. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_panels - /apps/metacity/global_keybindings/cycle_panels - metacity - string - <Control><Alt>Escape - - Move between panels and the desktop immediately - - The keybinding used to move focus between panels and - the desktop, without a popup window. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/cycle_panels_backward - /apps/metacity/global_keybindings/cycle_panels_backward - metacity - string - <Control><Alt>Escape - - Move backward between panels and the desktop immediately - - The keybinding used to move focus backwards between panels and - the desktop, without a popup window. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/show_desktop - /apps/metacity/global_keybindings/show_desktop - metacity - string - <Control><Alt>d - - Hide all windows and focus desktop - - The keybinding used to hide all normal windows and set the - focus to the desktop background. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_1 - /apps/metacity/global_keybindings/switch_to_workspace_1 - metacity - string - disabled - - Switch to workspace 1 - - The keybinding that switches to workspace 1. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_2 - /apps/metacity/global_keybindings/switch_to_workspace_2 - metacity - string - disabled - - Switch to workspace 2 - - The keybinding that switches to workspace 2. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_3 - /apps/metacity/global_keybindings/switch_to_workspace_3 - metacity - string - disabled - - Switch to workspace 3 - - The keybinding that switches to workspace 3. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_4 - /apps/metacity/global_keybindings/switch_to_workspace_4 - metacity - string - disabled - - Switch to workspace 4 - - The keybinding that switches to workspace 4. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_5 - /apps/metacity/global_keybindings/switch_to_workspace_5 - metacity - string - disabled - - Switch to workspace 5 - - The keybinding that switches to workspace 5. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_6 - /apps/metacity/global_keybindings/switch_to_workspace_6 - metacity - string - disabled - - Switch to workspace 6 - - The keybinding that switches to workspace 6. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_7 - /apps/metacity/global_keybindings/switch_to_workspace_7 - metacity - string - disabled - - Switch to workspace 7 - - The keybinding that switches to workspace 7. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_8 - /apps/metacity/global_keybindings/switch_to_workspace_8 - metacity - string - disabled - - Switch to workspace 8 - - The keybinding that switches to workspace 8. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_9 - /apps/metacity/global_keybindings/switch_to_workspace_9 - metacity - string - disabled - - Switch to workspace 9 - - The keybinding that switches to workspace 9. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_10 - /apps/metacity/global_keybindings/switch_to_workspace_10 - metacity - string - disabled - - Switch to workspace 10 - - The keybinding that switches to workspace 10. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_11 - /apps/metacity/global_keybindings/switch_to_workspace_11 - metacity - string - disabled - - Switch to workspace 11 - - The keybinding that switches to workspace 11. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_12 - /apps/metacity/global_keybindings/switch_to_workspace_12 - metacity - string - disabled - - Switch to workspace 12 - - The keybinding that switches to workspace 12. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_left - /apps/metacity/global_keybindings/switch_to_workspace_left - metacity - string - <Control><Alt>Left - - Switch to workspace on the left - - The keybinding that switches to the workspace on the left - of the current workspace. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_right - /apps/metacity/global_keybindings/switch_to_workspace_right - metacity - string - <Control><Alt>Right - - Switch to workspace on the right - - The keybinding that switches to the workspace on the right - of the current workspace. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_up - /apps/metacity/global_keybindings/switch_to_workspace_up - metacity - string - <Control><Alt>Up - - Switch to workspace above this one - - The keybinding that switches to the workspace above - the current workspace. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - /schemas/apps/metacity/global_keybindings/switch_to_workspace_down - /apps/metacity/global_keybindings/switch_to_workspace_down - metacity - string - <Control><Alt>Down - - Switch to workspace below this one - - The keybinding that switches to the workspace below - the current workspace. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/panel_main_menu - /apps/metacity/global_keybindings/panel_main_menu - metacity - string - <Alt>F1 - - Show the panel menu - - The keybinding which shows the panel's main menu. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/panel_run_dialog - /apps/metacity/global_keybindings/panel_run_dialog - metacity - string - <Alt>F2 - - Show the panel run application dialog - - The keybinding which display's the panel's "Run Application" dialog - box. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/run_command_screenshot - /apps/metacity/global_keybindings/run_command_screenshot - metacity - string - Print - - Take a screenshot - - The keybinding which invokes the panel's screenshot utility. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/run_command_window_screenshot - /apps/metacity/global_keybindings/run_command_window_screenshot - metacity - string - <Alt>Print - - Take a screenshot of a window - - The keybinding which invokes the panel's screenshot utility - to take a screenshot of a window. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/run_command_terminal - /apps/metacity/global_keybindings/run_command_terminal - metacity - string - disabled - - Run a terminal - - The keybinding which invokes a terminal. - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - /schemas/apps/metacity/global_keybindings/run_command - /apps/metacity/global_keybindings/run_command_1 - /apps/metacity/global_keybindings/run_command_2 - /apps/metacity/global_keybindings/run_command_3 - /apps/metacity/global_keybindings/run_command_4 - /apps/metacity/global_keybindings/run_command_5 - /apps/metacity/global_keybindings/run_command_6 - /apps/metacity/global_keybindings/run_command_7 - /apps/metacity/global_keybindings/run_command_8 - /apps/metacity/global_keybindings/run_command_9 - /apps/metacity/global_keybindings/run_command_10 - /apps/metacity/global_keybindings/run_command_11 - /apps/metacity/global_keybindings/run_command_12 - metacity - string - disabled - - Run a defined command - - The keybinding that runs the correspondingly-numbered - command in /apps/metacity/keybinding_commands - - The format looks like "<Control>a" or - "<Shift><Alt>F1". - - The parser is fairly liberal and allows lower or upper case, - and also abbreviations such as "<Ctl>" and - "<Ctrl>". If you set the option to the special string - "disabled", then there will be no keybinding for this - action. - - - - - - - - /schemas/apps/metacity/keybinding_commands/command_screenshot - /apps/metacity/keybinding_commands/command_screenshot - metacity - string - gnome-screenshot - - The screenshot command - - The /apps/metacity/global_keybindings/run_command_screenshot - key defines a keybinding which causes the command specified - by this setting to be invoked. - - - - - - /schemas/apps/metacity/keybinding_commands/command_window_screenshot - /apps/metacity/keybinding_commands/command_window_screenshot - metacity - string - gnome-screenshot --window - - The window screenshot command - - The /apps/metacity/global_keybindings/run_command_window_screenshot - key defines a keybinding which causes the command specified - by this setting to be invoked. - - - - - - /schemas/apps/metacity/keybinding_commands/command - /apps/metacity/keybinding_commands/command_1 - /apps/metacity/keybinding_commands/command_2 - /apps/metacity/keybinding_commands/command_3 - /apps/metacity/keybinding_commands/command_4 - /apps/metacity/keybinding_commands/command_5 - /apps/metacity/keybinding_commands/command_6 - /apps/metacity/keybinding_commands/command_7 - /apps/metacity/keybinding_commands/command_8 - /apps/metacity/keybinding_commands/command_9 - /apps/metacity/keybinding_commands/command_10 - /apps/metacity/keybinding_commands/command_11 - /apps/metacity/keybinding_commands/command_12 - metacity - string - - - Commands to run in response to keybindings - - The /apps/metacity/global_keybindings/run_command_N - keys define keybindings that correspond to these commands. - Pressing the keybinding for run_command_N will - execute command_N. - - - - - - - - /schemas/apps/metacity/general/application_based - /apps/metacity/general/application_based - metacity - bool - false - - (Not implemented) Navigation works in terms of applications not windows - - If true, then Metacity 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. - - - - - - /schemas/apps/metacity/general/disable_workarounds - /apps/metacity/general/disable_workarounds - metacity - bool - false - - Disable misfeatures that are required by old or broken - applications - - Some applications disregard specifications in ways that result in - window manager misfeatures. This option puts Metacity in a - rigorously correct mode, which gives a more consistent user - interface, provided one does not need to run any misbehaving - applications. - - - - - - - - - - - diff --git a/src/metacity.schemas.in.in b/src/metacity.schemas.in.in new file mode 100644 index 000000000..593430823 --- /dev/null +++ b/src/metacity.schemas.in.in @@ -0,0 +1,503 @@ + + + + + + + /schemas/apps/metacity/general/mouse_button_modifier + /apps/metacity/general/mouse_button_modifier + metacity + string + <Alt> + + Modifier to use for modified window click actions + + 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). + Modifier is expressed as "<Alt>" or "<Super>" + for example. + + + + + + /schemas/apps/metacity/general/button_layout + /apps/metacity/general/button_layout + metacity + string + menu:minimize,maximize,close + + Arrangement of buttons on the titlebar + + 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. + + + + + + /schemas/apps/metacity/general/focus_mode + /apps/metacity/general/focus_mode + metacity + string + click + + Window focus mode + + 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. + + + + + + /schemas/apps/metacity/general/focus_new_windows + /apps/metacity/general/focus_new_windows + metacity + string + smart + + Control how new windows get focus + + 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. + + + + + + /schemas/apps/metacity/general/raise_on_click + /apps/metacity/general/raise_on_click + metacity + bool + true + + Whether raising should be a side-effect of other user + interactions + + 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. + + + + + + /schemas/apps/metacity/general/action_double_click_titlebar + /apps/metacity/general/action_double_click_titlebar + metacity + string + toggle_maximize + + Action on title bar double-click + + 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. + + + + + + /schemas/apps/metacity/general/action_middle_click_titlebar + /apps/metacity/general/action_middle_click_titlebar + metacity + string + lower + + Action on title bar middle-click + + 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. + + + + + + /schemas/apps/metacity/general/action_right_click_titlebar + /apps/metacity/general/action_right_click_titlebar + metacity + string + menu + + Action on title bar right-click + + 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. + + + + + + /schemas/apps/metacity/general/auto_raise + /apps/metacity/general/auto_raise + metacity + bool + false + + Automatically raises the focused window + + 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. + + + + + + /schemas/apps/metacity/general/auto_raise_delay + /apps/metacity/general/auto_raise_delay + metacity + int + 500 + + Delay in milliseconds for the auto raise option + + The time delay before raising a window if auto_raise is set to + true. The delay is given in thousandths of a second. + + + + + + /schemas/apps/metacity/general/theme + /apps/metacity/general/theme + metacity + string + Clearlooks + + Current theme + + The theme determines the appearance of window borders, + titlebar, and so forth. + + + + + + /schemas/apps/metacity/general/titlebar_uses_system_font + /apps/metacity/general/titlebar_uses_system_font + metacity + bool + false + + Use standard system font in window titles + + If true, ignore the titlebar_font + option, and use the standard application font for window + titles. + + + + + + /schemas/apps/metacity/general/titlebar_font + /apps/metacity/general/titlebar_font + metacity + string + Sans Bold 10 + + Window title font + + 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. + + + + + + /schemas/apps/metacity/general/num_workspaces + /apps/metacity/general/num_workspaces + metacity + int + 4 + + Number of workspaces + + 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. + + + + + + /schemas/apps/metacity/general/visual_bell + /apps/metacity/general/visual_bell + metacity + bool + false + + Enable Visual Bell + + Turns on a visual indication when an application or the system + issues a 'bell' or 'beep'; useful for the hard-of-hearing and for + use in noisy environments. + + + + + + /schemas/apps/metacity/general/audible_bell + /apps/metacity/general/audible_bell + metacity + bool + true + + System Bell is Audible + + Determines whether applications or the system can generate + audible 'beeps'; may be used in conjunction with 'visual bell' to + allow silent 'beeps'. + + + + + + /schemas/apps/metacity/general/visual_bell_type + /apps/metacity/general/visual_bell_type + metacity + string + fullscreen + + Visual Bell Type + + Tells Metacity 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. + + + + + + /schemas/apps/metacity/general/compositing_manager + /apps/metacity/general/compositing_manager + metacity + bool + false + + Compositing Manager + + Determines whether Metacity is a compositing manager. + + + + + + /schemas/apps/metacity/workspace_names/name + /apps/metacity/workspace_names/name_1 + /apps/metacity/workspace_names/name_2 + /apps/metacity/workspace_names/name_3 + /apps/metacity/workspace_names/name_4 + /apps/metacity/workspace_names/name_5 + /apps/metacity/workspace_names/name_6 + /apps/metacity/workspace_names/name_7 + /apps/metacity/workspace_names/name_8 + /apps/metacity/workspace_names/name_9 + /apps/metacity/workspace_names/name_10 + /apps/metacity/workspace_names/name_11 + /apps/metacity/workspace_names/name_12 + /apps/metacity/workspace_names/name_13 + /apps/metacity/workspace_names/name_14 + /apps/metacity/workspace_names/name_15 + /apps/metacity/workspace_names/name_16 + metacity + string + + + Name of workspace + + The name of a workspace. + + + + + + /schemas/apps/metacity/general/reduced_resources + /apps/metacity/general/reduced_resources + metacity + bool + false + + If true, trade off usability for less resource usage + + If true, metacity will give the user less feedback by using + wireframes, avoiding animations, or other means. This is a + significant reduction in usability for many users, but may allow + legacy applications to continue working, and may also be a + useful tradeoff for terminal servers. However, the wireframe + feature is disabled when accessibility is on. + + + + + + + + /schemas/apps/metacity/global_keybindings/run_command + /apps/metacity/global_keybindings/run_command_1 + /apps/metacity/global_keybindings/run_command_2 + /apps/metacity/global_keybindings/run_command_3 + /apps/metacity/global_keybindings/run_command_4 + /apps/metacity/global_keybindings/run_command_5 + /apps/metacity/global_keybindings/run_command_6 + /apps/metacity/global_keybindings/run_command_7 + /apps/metacity/global_keybindings/run_command_8 + /apps/metacity/global_keybindings/run_command_9 + /apps/metacity/global_keybindings/run_command_10 + /apps/metacity/global_keybindings/run_command_11 + /apps/metacity/global_keybindings/run_command_12 + metacity + string + disabled + + Run a defined command + + The keybinding that runs the correspondingly-numbered + command in /apps/metacity/keybinding_commands + + The format looks like "<Control>a" or + "<Shift><Alt>F1". + + The parser is fairly liberal and allows lower or upper case, + and also abbreviations such as "<Ctl>" and + "<Ctrl>". If you set the option to the special string + "disabled", then there will be no keybinding for this + action. + + + + + + /schemas/apps/metacity/keybinding_commands/command + /apps/metacity/keybinding_commands/command_1 + /apps/metacity/keybinding_commands/command_2 + /apps/metacity/keybinding_commands/command_3 + /apps/metacity/keybinding_commands/command_4 + /apps/metacity/keybinding_commands/command_5 + /apps/metacity/keybinding_commands/command_6 + /apps/metacity/keybinding_commands/command_7 + /apps/metacity/keybinding_commands/command_8 + /apps/metacity/keybinding_commands/command_9 + /apps/metacity/keybinding_commands/command_10 + /apps/metacity/keybinding_commands/command_11 + /apps/metacity/keybinding_commands/command_12 + metacity + string + + + Commands to run in response to keybindings + + The /apps/metacity/global_keybindings/run_command_N + keys define keybindings that correspond to these commands. + Pressing the keybinding for run_command_N will + execute command_N. + + + + + + + + + + + /schemas/apps/metacity/general/application_based + /apps/metacity/general/application_based + metacity + bool + false + + (Not implemented) Navigation works in terms of applications not windows + + If true, then Metacity 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. + + + + + + /schemas/apps/metacity/general/disable_workarounds + /apps/metacity/general/disable_workarounds + metacity + bool + false + + Disable misfeatures that are required by old or broken + applications + + Some applications disregard specifications in ways that result in + window manager misfeatures. This option puts Metacity in a + rigorously correct mode, which gives a more consistent user + interface, provided one does not need to run any misbehaving + applications. + + + + + + + + + +