summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2017-06-07 19:07:26 +0200
committerRui Matos <tiagomatos@gmail.com>2017-07-19 11:18:53 +0200
commit7e330bd65f9ce38744dbaf2084825c1420af892c (patch)
tree48e988daef9b7db5ea7cf72cb53f53cfd6e871bc /data
parent3f9c5823cbb976e4cc1c56f39cea7f81469c8349 (diff)
downloadmutter-7e330bd65f9ce38744dbaf2084825c1420af892c.tar.gz
keybindings: Add a switch-monitor builtin keybinding
Moved from g-s-d's media keys plugin, where it was called "video-out", since it requires changing the current monitor configuration and we want to remove the old DBus API. This implementation is intentionally simple and not really meant for more than debugging and validating the various configurations. A better user experience will be introduced in gnome-shell with a custom keybinding handler. The default value includes <Super>P in addition to the standard keysym for historical reasons. https://bugzilla.gnome.org/show_bug.cgi?id=781906
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.mutter.gschema.xml.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.gnome.mutter.gschema.xml.in b/data/org.gnome.mutter.gschema.xml.in
index 703817864..4ced07f13 100644
--- a/data/org.gnome.mutter.gschema.xml.in
+++ b/data/org.gnome.mutter.gschema.xml.in
@@ -156,6 +156,11 @@
<summary>Cancel tab popup</summary>
</key>
+ <key name="switch-monitor" type="as">
+ <default><![CDATA[['<Super>p','XF86Display']]]></default>
+ <summary>Switch monitor configurations</summary>
+ </key>
+
<key name="rotate-monitor" type="as">
<default><![CDATA[['XF86RotateWindows']]]></default>
<summary>Rotates the built-in monitor configuration</summary>