[gnome-flashback] schemas: add screenshot and screencast keybindings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] schemas: add screenshot and screencast keybindings
- Date: Fri, 4 Mar 2022 22:36:28 +0000 (UTC)
commit c1fe40b586f34d8fca3efc9ba7794a2f7e03f399
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Mar 5 00:14:17 2022 +0200
schemas: add screenshot and screencast keybindings
These keybindings are now handled by gnome-shell and are removed
from gnome-settings-daemon:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/2828692c512f8a81ff5e9c2f1f78450781d2c028
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/f47dbce92a636406aa20636f83838ac079282c4e
data/schemas/Makefile.am | 1 +
data/schemas/org.gnome.gnome-flashback.gschema.xml | 1 +
...g.gnome.gnome-flashback.keybindings.gschema.xml | 51 ++++++++++++++++++++++
po/POTFILES.in | 1 +
4 files changed, 54 insertions(+)
---
diff --git a/data/schemas/Makefile.am b/data/schemas/Makefile.am
index 70c69c1..4566912 100644
--- a/data/schemas/Makefile.am
+++ b/data/schemas/Makefile.am
@@ -13,6 +13,7 @@ gsettings_SCHEMAS = \
org.gnome.gnome-flashback.desktop.gschema.xml \
org.gnome.gnome-flashback.desktop.background.gschema.xml \
org.gnome.gnome-flashback.desktop.icons.gschema.xml \
+ org.gnome.gnome-flashback.keybindings.gschema.xml \
org.gnome.gnome-flashback.system-indicators.input-sources.gschema.xml \
$(NULL)
diff --git a/data/schemas/org.gnome.gnome-flashback.gschema.xml
b/data/schemas/org.gnome.gnome-flashback.gschema.xml
index d737a1b..4d22847 100644
--- a/data/schemas/org.gnome.gnome-flashback.gschema.xml
+++ b/data/schemas/org.gnome.gnome-flashback.gschema.xml
@@ -98,5 +98,6 @@
</key>
<child schema="org.gnome.gnome-flashback.desktop" name="desktop" />
+ <child schema="org.gnome.gnome-flashback.keybindings" name="keybindings" />
</schema>
</schemalist>
diff --git a/data/schemas/org.gnome.gnome-flashback.keybindings.gschema.xml
b/data/schemas/org.gnome.gnome-flashback.keybindings.gschema.xml
new file mode 100644
index 0000000..e036a30
--- /dev/null
+++ b/data/schemas/org.gnome.gnome-flashback.keybindings.gschema.xml
@@ -0,0 +1,51 @@
+<schemalist gettext-domain="gnome-flashback">
+ <schema id="org.gnome.gnome-flashback.keybindings" path="/org/gnome/gnome-flashback/keybindings/">
+ <key name="screenshot" type="as">
+ <default>['Print']</default>
+ <summary>Take a screenshot</summary>
+ <description>Binding to take a screenshot.</description>
+ </key>
+
+ <key name="window-screenshot" type="as">
+ <default>['<Alt>Print']</default>
+ <summary>Take a screenshot of a window</summary>
+ <description>Binding to take a screenshot of a window.</description>
+ </key>
+
+ <key name="area-screenshot" type="as">
+ <default>['<Shift>Print']</default>
+ <summary>Take a screenshot of an area</summary>
+ <description>Binding to take a screenshot of an area.</description>
+ </key>
+
+ <key name="screenshot-clip" type="as">
+ <default>['<Ctrl>Print']</default>
+ <summary>Copy a screenshot to clipboard</summary>
+ <description>Binding to copy a screenshot to clipboard.</description>
+ </key>
+
+ <key name="window-screenshot-clip" type="as">
+ <default>['<Ctrl><Alt>Print']</default>
+ <summary>Copy a screenshot of a window to clipboard</summary>
+ <description>Binding to copy a screenshot of a window to clipboard.</description>
+ </key>
+
+ <key name="area-screenshot-clip" type="as">
+ <default>['<Ctrl><Shift>Print']</default>
+ <summary>Copy a screenshot of an area to clipboard</summary>
+ <description>Binding to copy a screenshot of an area to clipboard.</description>
+ </key>
+
+ <key name="screencast" type="as">
+ <default>['<Ctrl><Shift><Alt>R']</default>
+ <summary>Record a short video of the screen</summary>
+ <description>Binding to record a short video of the screen</description>
+ </key>
+
+ <key name="max-screencast-length" type="u">
+ <default>30</default>
+ <summary>Maximum length of screen recordings</summary>
+ <description>The maximum length of single screen cast recordings in seconds or 0 for
unlimited</description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2954abd..8f69f46 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -10,6 +10,7 @@ data/schemas/org.gnome.gnome-flashback.gschema.xml
data/schemas/org.gnome.gnome-flashback.desktop.gschema.xml
data/schemas/org.gnome.gnome-flashback.desktop.background.gschema.xml
data/schemas/org.gnome.gnome-flashback.desktop.icons.gschema.xml
+data/schemas/org.gnome.gnome-flashback.keybindings.gschema.xml
data/schemas/org.gnome.gnome-flashback.system-indicators.input-sources.gschema.xml
data/ui/gf-confirm-display-change-dialog.ui
data/xsessions/gnome-flashback-compiz.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]