[gnome-shell] data: Register switch-to-application shortcuts with g-c-c
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] data: Register switch-to-application shortcuts with g-c-c
- Date: Mon, 5 Jul 2021 18:49:32 +0000 (UTC)
commit 28045074aadc738c2a0bb7cc66dd3cb6f6dd8dfd
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Apr 7 21:18:39 2021 +0200
data: Register switch-to-application shortcuts with g-c-c
The <super>1-9 shortcuts to activate dash favorites were a feature
from Ubuntu's Unity that caused some distress as the same shortcuts
were used by some users to activate workspaces.
Registering the new shortcuts with control-center at least gives
those users a GUI option for resolving the conflict.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1250
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1797>
data/50-gnome-shell-launchers.xml | 45 +++++++++++++++++++++++++++++++++++++++
data/meson.build | 6 +++++-
po/POTFILES.in | 1 +
3 files changed, 51 insertions(+), 1 deletion(-)
---
diff --git a/data/50-gnome-shell-launchers.xml b/data/50-gnome-shell-launchers.xml
new file mode 100644
index 0000000000..ca57ee68c4
--- /dev/null
+++ b/data/50-gnome-shell-launchers.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<KeyListEntries schema="org.gnome.shell.keybindings"
+ group="system"
+ name="Launchers"
+ wm_name="GNOME Shell"
+ package="gnome-shell">
+
+ <KeyListEntry name="switch-to-application-1"
+ description="Activate favorite application 1"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-2"
+ description="Activate favorite application 2"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-3"
+ description="Activate favorite application 3"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-4"
+ description="Activate favorite application 4"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-5"
+ description="Activate favorite application 5"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-6"
+ description="Activate favorite application 6"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-7"
+ description="Activate favorite application 7"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-8"
+ description="Activate favorite application 8"
+ hidden="true"/>
+
+ <KeyListEntry name="switch-to-application-9"
+ description="Activate favorite application 9"
+ hidden="true"/>
+
+</KeyListEntries>
+
diff --git a/data/meson.build b/data/meson.build
index b731f5a8dd..f924fdf806 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -73,9 +73,13 @@ configure_file(
install_dir: pkgdatadir
)
+keybinding_files = [
+ '50-gnome-shell-launchers.xml',
+ '50-gnome-shell-system.xml',
+]
install_data('gnome-shell.portal', install_dir: portaldir)
-install_data('50-gnome-shell-system.xml', install_dir: keysdir)
+install_data(keybinding_files, install_dir: keysdir)
schemaconf = configuration_data()
diff --git a/po/POTFILES.in b/po/POTFILES.in
index cb279c1ee5..f96d796666 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
+data/50-gnome-shell-launchers.xml
data/50-gnome-shell-system.xml
data/org.gnome.Shell.desktop.in.in
data/org.gnome.shell.gschema.xml.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]