summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-02-03 17:37:55 +0100
committerDanny Baumann <dannybaumann@web.de>2009-02-04 08:47:37 +0100
commit183841ea25ae82ef4a7da8ee2908cb0951599abb (patch)
treec2df6dd91b5b63e0a1132986b0b1d9976489c47c /metadata
parent4f5303389ba89517b66526ba917e5ac6ed7abc4f (diff)
Add Gnome compatibility plugin that receives key bindings only relevant for Gnome.
Diffstat (limited to 'metadata')
-rw-r--r--metadata/Makefile.am61
-rw-r--r--metadata/gnomecompat.xml.in52
2 files changed, 83 insertions, 30 deletions
diff --git a/metadata/Makefile.am b/metadata/Makefile.am
index 05517d11..b197d494 100644
--- a/metadata/Makefile.am
+++ b/metadata/Makefile.am
@@ -1,34 +1,35 @@
xmldir = $(metadatadir)
-xml_in_files = \
- core.xml.in \
- annotate.xml.in \
- blur.xml.in \
- clone.xml.in \
- commands.xml.in \
- cube.xml.in \
- dbus.xml.in \
- decoration.xml.in \
- fade.xml.in \
- fs.xml.in \
- gconf.xml.in \
- glib.xml.in \
- ini.xml.in \
- inotify.xml.in \
- kconfig.xml.in \
- minimize.xml.in \
- move.xml.in \
- obs.xml.in \
- place.xml.in \
- png.xml.in \
- regex.xml.in \
- resize.xml.in \
- rotate.xml.in \
- scale.xml.in \
- screenshot.xml.in \
- svg.xml.in \
- switcher.xml.in \
- video.xml.in \
- water.xml.in \
+xml_in_files = \
+ core.xml.in \
+ annotate.xml.in \
+ blur.xml.in \
+ clone.xml.in \
+ commands.xml.in \
+ cube.xml.in \
+ dbus.xml.in \
+ decoration.xml.in \
+ fade.xml.in \
+ fs.xml.in \
+ gconf.xml.in \
+ glib.xml.in \
+ gnomecompat.xml.in \
+ ini.xml.in \
+ inotify.xml.in \
+ kconfig.xml.in \
+ minimize.xml.in \
+ move.xml.in \
+ obs.xml.in \
+ place.xml.in \
+ png.xml.in \
+ regex.xml.in \
+ resize.xml.in \
+ rotate.xml.in \
+ scale.xml.in \
+ screenshot.xml.in \
+ svg.xml.in \
+ switcher.xml.in \
+ video.xml.in \
+ water.xml.in \
wobbly.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)
xml_DATA = $(xml_files)
diff --git a/metadata/gnomecompat.xml.in b/metadata/gnomecompat.xml.in
new file mode 100644
index 00000000..b40ae4a3
--- /dev/null
+++ b/metadata/gnomecompat.xml.in
@@ -0,0 +1,52 @@
+<compiz>
+ <plugin name="gnomecompat">
+ <_short>Gnome Compatibility</_short>
+ <_long>Options that keep Compiz compatible to the Gnome desktop environment</_long>
+ <category>General</category>
+ <display>
+ <option name="main_menu_key" type="key">
+ <_short>Show Main Menu</_short>
+ <_long>Show the main menu</_long>
+ <default>&lt;Alt&gt;F1</default>
+ </option>
+ <option name="run_key" type="key">
+ <_short>Run Dialog</_short>
+ <_long>Show Run Application dialog</_long>
+ <default>&lt;Alt&gt;F2</default>
+ </option>
+ <group>
+ <_short>Commands</_short>
+ <option name="command_screenshot" type="string">
+ <_short>Screenshot command line</_short>
+ <_long>Screenshot command line</_long>
+ <default>gnome-screenshot</default>
+ </option>
+ <option name="run_command_screenshot_key" type="key">
+ <_short>Take a screenshot</_short>
+ <_long>Take a screenshot</_long>
+ <default>Print</default>
+ </option>
+ <option name="command_window_screenshot" type="string">
+ <_short>Window screenshot command line</_short>
+ <_long>Window screenshot command line</_long>
+ <default>gnome-screenshot --window</default>
+ </option>
+ <option name="run_command_window_screenshot_key" type="key">
+ <_short>Take a screenshot of a window</_short>
+ <_long>Take a screenshot of a window</_long>
+ <default>&lt;Alt&gt;Print</default>
+ </option>
+ <_short>Run terminal command</_short>
+ <option name="command_terminal" type="string">
+ <_short>Terminal command line</_short>
+ <_long>Terminal command line</_long>
+ <default></default>
+ </option>
+ <option name="run_command_terminal_key" type="key">
+ <_short>Open a terminal</_short>
+ <_long>Open a terminal</_long>
+ </option>
+ </group>
+ </display>
+ </plugin>
+</compiz>