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>
This commit is contained in:
parent
57d72b9ebc
commit
28045074aa
45
data/50-gnome-shell-launchers.xml
Normal file
45
data/50-gnome-shell-launchers.xml
Normal file
@ -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>
|
||||||
|
|
@ -73,9 +73,13 @@ configure_file(
|
|||||||
install_dir: pkgdatadir
|
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('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()
|
schemaconf = configuration_data()
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# List of source files containing translatable strings.
|
# List of source files containing translatable strings.
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
|
data/50-gnome-shell-launchers.xml
|
||||||
data/50-gnome-shell-system.xml
|
data/50-gnome-shell-system.xml
|
||||||
data/org.gnome.Shell.desktop.in.in
|
data/org.gnome.Shell.desktop.in.in
|
||||||
data/org.gnome.shell.gschema.xml.in
|
data/org.gnome.shell.gschema.xml.in
|
||||||
|
Loading…
Reference in New Issue
Block a user