GNOME Bugzilla – Bug 764220
media-keys: add Super+F1 as a hardcoded shortcut for launching Help
Last modified: 2018-01-24 13:56:42 UTC
See attached patch.
Created attachment 324777 [details] [review] media-keys: add Super+F1 as a hardcoded shortcut for launching Help This is what Windows hardcodes, and some laptops have keyboards with "help" physical keys that send Super+F1 when pressed.
Review of attachment 324777 [details] [review]: > and some laptops Can you list at least one of the laptops that does this? ::: plugins/media-keys/shortcuts-list.h @@ +65,3 @@ { SCREENSAVER_KEY, NULL, N_("Lock Screen"), "XF86ScreenSaver", SCREENSAVER_MODE }, { HELP_KEY, "help", NULL, NULL, GSD_ACTION_MODE_LAUNCHER }, + { HELP_KEY, NULL, NULL, "<Super>F1", GSD_ACTION_MODE_LAUNCHER }, You'll need to give it a name as well. This will be used in the keyboard shortcuts panel to warn about hard-coded shortcuts.
Created attachment 325439 [details] [review] media-keys: add Super+F1 as a hardcoded shortcut for launching Help This is what Windows hardcodes, and some laptops (such as the HP Stream 11") have keyboards with "help" physical keys that send Super+F1 when pressed.
Review of attachment 325439 [details] [review]: Looks good, please branch for gnome-3-20 before committing.
Attachment 325439 [details] pushed as 147c0b2 - media-keys: add Super+F1 as a hardcoded shortcut for launching Help
(In reply to Cosimo Cecchi from comment #5) > Attachment 325439 [details] pushed as 147c0b2 - media-keys: add Super+F1 as > a hardcoded shortcut for launching Help Hi, i bind "<Super>F1" to one Emacs command. After this commit "<super>F1"> launchs the gnome help breaking my usual binding (Bug#771014). In the shortcuts panel, 'Launch help browser' is disabled so there is no obvious way to disable it. Could you consider set this binding as a default value in the shortcuts panel instead of setting it here? Then, users are able to disable/change it. Thank you. My OS is Debian Strech.
*** Bug 789334 has been marked as a duplicate of this bug. ***