Cannot reassign keyboard shortcuts for launching default applications
I prefer to use alternatives to some Gnome default applications, but I am struggling to get Gnome to allow me to reassign the keyboard shortcuts from the Gnome version to my preferred application.
This worked in Gnome 3.28 (Ubuntu 18.04), but does not work since I upgraded to Gnome 3.36 (Ubuntu 20.04).
Steps to reproduce:
- Open GNOME Settings
- Click on Keyboard Shortcuts
- Click on the entry for Launchers -> Launch calculator
- In the shortcut assignment window, hit "Backspace" to disable
- Verify that the shortcut shows "Disabled" in black (non-default)
- Log out of Gnome and log back in to ensure shortcut is disabled
- Return to Gnome Settings -> Keyboard Shortcuts -> Launchers -> Launch calculator
- Confirm it still shows "Disabled" in black
- Scroll to the bottom of the shortcuts, and press "+" for a custom shortcut
- Add a custom shortcut
Name: Custom Calculator
Command: speedcrunch - When you press "Set Shortcut", the same window appears as previously
- Press the physical "calculator" key.
Expected behavior:
- It should assign the calculator key to my custom shortcut
Observed behavior:
- The default Gnome Calculator is launched (from the package gnome-calculator)
- It allows me to use the calculator key with a modifier key to make the assignment: ctl + calculator
Notes:
- This might be related to #891, but I'm not sure so I'm creating a new issue.
- I am using a Logitech K350 keyboard with a physical key that sends the xevent "calculator"
- I see the same behavior with other keys:
- "print" (print screen), which I want to reassign to spectacle
- "tools" (launch media player), which I want to reassign to smplayer
- But not with Ctl+Alt+T (launch terminal), which I was able to reassign to konsole