diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2014-06-05 10:50:15 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2014-06-05 10:50:15 +0200 |
commit | ec8ba4b5f9700fed31295233c05d5906e8f6e9d9 (patch) | |
tree | 2263df1d52e71cf1ce86b0770a6c3f13038c7b87 /data | |
parent | 2250865eb61f3110914e09cd50010f8e695c1aeb (diff) | |
download | mutter-ec8ba4b5f9700fed31295233c05d5906e8f6e9d9.tar.gz |
build: Move data files to their dedicated subfolder
Diffstat (limited to 'data')
-rw-r--r-- | data/50-mutter-navigation.xml.in | 98 | ||||
-rw-r--r-- | data/50-mutter-system.xml.in | 13 | ||||
-rw-r--r-- | data/50-mutter-windows.xml.in | 50 | ||||
-rw-r--r-- | data/Makefile.am | 37 | ||||
-rw-r--r-- | data/default_icon.png | bin | 0 -> 1184 bytes | |||
-rw-r--r-- | data/mutter-schemas.convert | 5 | ||||
-rw-r--r-- | data/mutter-wayland.desktop.in | 17 | ||||
-rw-r--r-- | data/mutter.desktop.in | 17 | ||||
-rw-r--r-- | data/org.gnome.mutter.gschema.xml.in | 129 | ||||
-rw-r--r-- | data/org.gnome.mutter.wayland.gschema.xml.in | 33 |
10 files changed, 397 insertions, 2 deletions
diff --git a/data/50-mutter-navigation.xml.in b/data/50-mutter-navigation.xml.in new file mode 100644 index 000000000..03ea8b96e --- /dev/null +++ b/data/50-mutter-navigation.xml.in @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<KeyListEntries schema="org.gnome.desktop.wm.keybindings" + group="system" + _name="Navigation" + wm_name="Mutter" + package="mutter"> + + <KeyListEntry name="move-to-workspace-1" + _description="Move window to workspace 1" /> + + <KeyListEntry name="move-to-workspace-2" + _description="Move window to workspace 2" /> + + <KeyListEntry name="move-to-workspace-3" + _description="Move window to workspace 3" /> + + <KeyListEntry name="move-to-workspace-4" + _description="Move window to workspace 4" /> + + <KeyListEntry name="move-to-workspace-last" + _description="Move window to last workspace" /> + + <KeyListEntry name="move-to-workspace-left" + _description="Move window one workspace to the left" /> + + <KeyListEntry name="move-to-workspace-right" + _description="Move window one workspace to the right" /> + + <KeyListEntry name="move-to-workspace-up" + _description="Move window one workspace up" /> + + <KeyListEntry name="move-to-workspace-down" + _description="Move window one workspace down" /> + + <KeyListEntry name="move-to-monitor-left" + _description="Move window one monitor to the left" /> + + <KeyListEntry name="move-to-monitor-right" + _description="Move window one monitor to the right" /> + + <KeyListEntry name="move-to-monitor-up" + _description="Move window one monitor up" /> + + <KeyListEntry name="move-to-monitor-down" + _description="Move window one monitor down" /> + + <KeyListEntry name="switch-applications" + _description="Switch applications"/> + + <KeyListEntry name="switch-windows" + _description="Switch windows"/> + + <KeyListEntry name="switch-group" + _description="Switch windows of an application"/> + + <KeyListEntry name="switch-panels" + _description="Switch system controls"/> + + <KeyListEntry name="cycle-windows" + _description="Switch windows directly"/> + + <KeyListEntry name="cycle-group" + _description="Switch windows of an app directly"/> + + <KeyListEntry name="cycle-panels" + _description="Switch system controls directly"/> + + <KeyListEntry name="show-desktop" + _description="Hide all normal windows"/> + + <KeyListEntry name="switch-to-workspace-1" + _description="Switch to workspace 1" /> + + <KeyListEntry name="switch-to-workspace-2" + _description="Switch to workspace 2" /> + + <KeyListEntry name="switch-to-workspace-3" + _description="Switch to workspace 3" /> + + <KeyListEntry name="switch-to-workspace-4" + _description="Switch to workspace 4" /> + + <KeyListEntry name="switch-to-workspace-last" + _description="Switch to last workspace" /> + + <KeyListEntry name="switch-to-workspace-left" + _description="Move to workspace left" /> + + <KeyListEntry name="switch-to-workspace-right" + _description="Move to workspace right" /> + + <KeyListEntry name="switch-to-workspace-up" + _description="Move to workspace above" /> + + <KeyListEntry name="switch-to-workspace-down" + _description="Move to workspace below" /> + +</KeyListEntries> diff --git a/data/50-mutter-system.xml.in b/data/50-mutter-system.xml.in new file mode 100644 index 000000000..b8f4e6bda --- /dev/null +++ b/data/50-mutter-system.xml.in @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<KeyListEntries schema="org.gnome.desktop.wm.keybindings" + group="system" + _name="System" + wm_name="Mutter" + package="mutter"> + + <KeyListEntry name="panel-run-dialog" _description="Show the run command prompt"/> + + <KeyListEntry name="panel-main-menu" _description="Show the activities overview"/> + +</KeyListEntries> + diff --git a/data/50-mutter-windows.xml.in b/data/50-mutter-windows.xml.in new file mode 100644 index 000000000..6679958a7 --- /dev/null +++ b/data/50-mutter-windows.xml.in @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<KeyListEntries schema="org.gnome.desktop.wm.keybindings" + group="system" + _name="Windows" + wm_name="Mutter" + package="mutter"> + + <KeyListEntry name="activate-window-menu" _description="Activate the window menu"/> + + <KeyListEntry name="toggle-fullscreen" _description="Toggle fullscreen mode"/> + + <KeyListEntry name="toggle-maximized" _description="Toggle maximization state"/> + + <KeyListEntry name="maximize" _description="Maximize window"/> + + <KeyListEntry name="unmaximize" _description="Restore window"/> + + <KeyListEntry name="toggle-shaded" _description="Toggle shaded state"/> + + <KeyListEntry name="close" _description="Close window"/> + + <KeyListEntry name="minimize" _description="Hide window"/> + + <KeyListEntry name="begin-move" _description="Move window"/> + + <KeyListEntry name="begin-resize" _description="Resize window"/> + + <KeyListEntry name="toggle-on-all-workspaces" + _description="Toggle window on all workspaces or one"/> + + <KeyListEntry name="raise-or-lower" _description="Raise window if covered, otherwise lower it"/> + + <KeyListEntry name="raise" _description="Raise window above other windows"/> + + <KeyListEntry name="lower" _description="Lower window below other windows"/> + + <KeyListEntry name="maximize-vertically" _description="Maximize window vertically"/> + + <KeyListEntry name="maximize-horizontally" _description="Maximize window horizontally"/> + + <KeyListEntry name="toggle-tiled-left" + schema="org.gnome.mutter.keybindings" + _description="View split on left"/> + + <KeyListEntry name="toggle-tiled-right" + schema="org.gnome.mutter.keybindings" + _description="View split on right"/> + +</KeyListEntries> + diff --git a/data/Makefile.am b/data/Makefile.am index 58f590006..2c11822f3 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,36 @@ -defaultcursordir = $(pkgdatadir)/cursors +desktopfiles_in_files = \ + mutter.desktop.in \ + mutter-wayland.desktop.in +desktopfilesdir = $(datadir)/applications +desktopfiles_DATA = $(desktopfiles_in_files:.desktop.in=.desktop) -dist_defaultcursor_DATA = left_ptr.png +@INTLTOOL_DESKTOP_RULE@ + +xml_in_files = \ + 50-mutter-navigation.xml.in \ + 50-mutter-system.xml.in \ + 50-mutter-windows.xml.in +xmldir = $(GNOME_KEYBINDINGS_KEYSDIR) +xml_DATA = $(xml_in_files:.xml.in=.xml) + +gschema_in_files = \ + org.gnome.mutter.gschema.xml.in \ + org.gnome.mutter.wayland.gschema.xml.in +gsettings_SCHEMAS = $(gschema_in_files:.xml.in=.xml) + +@INTLTOOL_XML_NOMERGE_RULE@ +@GSETTINGS_RULES@ + +convertdir = $(datadir)/GConf/gsettings +convert_DATA = mutter-schemas.convert + +CLEANFILES = \ + $(desktopfiles_DATA) \ + $(gsettings_SCHEMAS) \ + $(xml_DATA) + +EXTRA_DIST = \ + $(convert_DATA) \ + $(desktopfiles_in_files) \ + $(gschema_in_files) \ + $(xml_in_files) diff --git a/data/default_icon.png b/data/default_icon.png Binary files differnew file mode 100644 index 000000000..5aad87988 --- /dev/null +++ b/data/default_icon.png diff --git a/data/mutter-schemas.convert b/data/mutter-schemas.convert new file mode 100644 index 000000000..2551c5948 --- /dev/null +++ b/data/mutter-schemas.convert @@ -0,0 +1,5 @@ +[org.gnome.mutter] +overlay-key = /apps/mutter/general/overlay_key +attach-modal-dialogs = /apps/mutter/general/attach_modal_dialogs +workspaces-only-on-primary = /apps/mutter/general/workspaces_only_on_primary +draggable-border-width = /apps/mutter/general/draggable_border_width diff --git a/data/mutter-wayland.desktop.in b/data/mutter-wayland.desktop.in new file mode 100644 index 000000000..850208942 --- /dev/null +++ b/data/mutter-wayland.desktop.in @@ -0,0 +1,17 @@ +[Desktop Entry] +Type=Application +_Name=Mutter (wayland compositor) +Exec=mutter --wayland --display-server +NoDisplay=true +# name of loadable control center module +X-GNOME-WMSettingsModule=metacity +# name we put on the WM spec check window +X-GNOME-WMName=Mutter +# back compat only +X-GnomeWMSettingsLibrary=metacity +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=mutter +X-GNOME-Bugzilla-Component=general +X-GNOME-Autostart-Phase=WindowManager +X-GNOME-Provides=windowmanager +X-GNOME-Autostart-Notify=true diff --git a/data/mutter.desktop.in b/data/mutter.desktop.in new file mode 100644 index 000000000..3bfb88d2d --- /dev/null +++ b/data/mutter.desktop.in @@ -0,0 +1,17 @@ +[Desktop Entry] +Type=Application +_Name=Mutter +Exec=mutter +NoDisplay=true +# name of loadable control center module +X-GNOME-WMSettingsModule=metacity +# name we put on the WM spec check window +X-GNOME-WMName=Mutter +# back compat only +X-GnomeWMSettingsLibrary=metacity +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=mutter +X-GNOME-Bugzilla-Component=general +X-GNOME-Autostart-Phase=WindowManager +X-GNOME-Provides=windowmanager +X-GNOME-Autostart-Notify=true diff --git a/data/org.gnome.mutter.gschema.xml.in b/data/org.gnome.mutter.gschema.xml.in new file mode 100644 index 000000000..cffeeb8c5 --- /dev/null +++ b/data/org.gnome.mutter.gschema.xml.in @@ -0,0 +1,129 @@ +<schemalist> + <schema id="org.gnome.mutter" path="/org/gnome/mutter/" + gettext-domain="@GETTEXT_DOMAIN"> + + <key name="overlay-key" type="s"> + <default>'Super_L'</default> + <_summary>Modifier to use for extended window management operations</_summary> + <_description> + This key will initiate the "overlay", which is a combination window + overview and application launching system. The default is intended + to be the "Windows key" on PC hardware. + + It's expected that this binding either the default or set to + the empty string. + </_description> + </key> + + <key name="attach-modal-dialogs" type="b"> + <default>false</default> + <_summary>Attach modal dialogs</_summary> + <_description> + When true, instead of having independent titlebars, modal dialogs + appear attached to the titlebar of the parent window and are moved + together with the parent window. + </_description> + </key> + + <key name="edge-tiling" type="b"> + <default>false</default> + <_summary>Enable edge tiling when dropping windows on screen edges</_summary> + <_description> + If enabled, dropping windows on vertical screen edges maximizes them + vertically and resizes them horizontally to cover half of the available + area. Dropping windows on the top screen edge maximizes them completely. + </_description> + </key> + + <key name="dynamic-workspaces" type="b"> + <default>false</default> + <_summary>Workspaces are managed dynamically</_summary> + <_description> + Determines whether workspaces are managed dynamically or + whether there's a static number of workspaces (determined + by the num-workspaces key in org.gnome.desktop.wm.preferences). + </_description> + </key> + + <key name="workspaces-only-on-primary" type="b"> + <default>false</default> + <_summary>Workspaces only on primary</_summary> + <_description> + Determines whether workspace switching should happen for windows + on all monitors or only for windows on the primary monitor. + </_description> + </key> + + <key name="no-tab-popup" type="b"> + <default>false</default> + <_summary>No tab popup</_summary> + <_description> + Determines whether the use of popup and highlight frame should + be disabled for window cycling. + </_description> + </key> + + <key name="focus-change-on-pointer-rest" type="b"> + <default>false</default> + <_summary>Delay focus changes until the pointer stops moving</_summary> + <_description> + If set to true, and the focus mode is either "sloppy" or "mouse" + then the focus will not be changed immediately when entering a + window, but only after the pointer stops moving. + </_description> + </key> + + <key name="draggable-border-width" type="i"> + <default>10</default> + <range min="0" max="64"/> + <_summary>Draggable border width</_summary> + <_description> + The amount of total draggable borders. If the theme's visible + borders are not enough, invisible borders will be added to meet + this value. + </_description> + </key> + + <key name="auto-maximize" type="b"> + <default>true</default> + <_summary>Auto maximize nearly monitor sized windows</_summary> + <_description> + If enabled, new windows that are initially the size of the monitor + automatically get maximized. + </_description> + </key> + + <key name="center-new-windows" type="b"> + <default>false</default> + <_summary>Place new windows in the center</_summary> + <_description> + When true, the new windows will always be put in the center of the + active screen of the monitor. + </_description> + </key> + + <child name="keybindings" schema="org.gnome.mutter.keybindings"/> + + </schema> + <schema id="org.gnome.mutter.keybindings" path="/org/gnome/mutter/keybindings/"> + + <key name="toggle-tiled-left" type="as"> + <default><![CDATA[['<Super>Left']]]></default> + </key> + + <key name="toggle-tiled-right" type="as"> + <default><![CDATA[['<Super>Right']]]></default> + </key> + + <key name="tab-popup-select" type="as"> + <default>[]</default> + <_summary>Select window from tab popup</_summary> + </key> + + <key name="tab-popup-cancel" type="as"> + <default>[]</default> + <_summary>Cancel tab popup</_summary> + </key> + + </schema> +</schemalist> diff --git a/data/org.gnome.mutter.wayland.gschema.xml.in b/data/org.gnome.mutter.wayland.gschema.xml.in new file mode 100644 index 000000000..4bb5c1dfd --- /dev/null +++ b/data/org.gnome.mutter.wayland.gschema.xml.in @@ -0,0 +1,33 @@ +<schemalist> + <schema id="org.gnome.mutter.wayland.keybindings" path="/org/gnome/mutter/wayland/keybindings/" + gettext-domain="@GETTEXT_DOMAIN@"> + <key name="switch-to-session-1" type="as"> + <default><![CDATA[['<Primary><Alt>F1']]]></default> + <_summary>Switch to VT 1</_summary> + </key> + <key name="switch-to-session-2" type="as"> + <default><![CDATA[['<Primary><Alt>F2']]]></default> + <_summary>Switch to VT 2</_summary> + </key> + <key name="switch-to-session-3" type="as"> + <default><![CDATA[['<Primary><Alt>F3']]]></default> + <_summary>Switch to VT 3</_summary> + </key> + <key name="switch-to-session-4" type="as"> + <default><![CDATA[['<Primary><Alt>F4']]]></default> + <_summary>Switch to VT 4</_summary> + </key> + <key name="switch-to-session-5" type="as"> + <default><![CDATA[['<Primary><Alt>F5']]]></default> + <_summary>Switch to VT 5</_summary> + </key> + <key name="switch-to-session-6" type="as"> + <default><![CDATA[['<Primary><Alt>F6']]]></default> + <_summary>Switch to VT 6</_summary> + </key> + <key name="switch-to-session-7" type="as"> + <default><![CDATA[['<Primary><Alt>F7']]]></default> + <_summary>Switch to VT 7</_summary> + </key> + </schema> +</schemalist> |