From 28045074aadc738c2a0bb7cc66dd3cb6f6dd8dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 7 Apr 2021 21:18:39 +0200 Subject: [PATCH] data: Register switch-to-application shortcuts with g-c-c The 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: --- data/50-gnome-shell-launchers.xml | 45 +++++++++++++++++++++++++++++++ data/meson.build | 6 ++++- po/POTFILES.in | 1 + 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 data/50-gnome-shell-launchers.xml diff --git a/data/50-gnome-shell-launchers.xml b/data/50-gnome-shell-launchers.xml new file mode 100644 index 000000000..ca57ee68c --- /dev/null +++ b/data/50-gnome-shell-launchers.xml @@ -0,0 +1,45 @@ + + + + + diff --git a/data/meson.build b/data/meson.build index b731f5a8d..f924fdf80 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 cb279c1ee..f96d79666 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