In Ubuntu I used to be able to go to Settings > Keyboard Shortcuts
and set a shortcut such as Super+Esc, but that no longer seems to be the case in Ubuntu 20.04. Any shortcut involving the Esc key doesn't seem to work. I imagine this is because the Esc key is used to cancel the shortcut entry routine @ Settings > Keyboard Shortcuts
.
Is there a manual way to define keyboard shortcuts in the terminal, or some other way to assign a keyboard shortcut such as Super+Esc?
To add a keyboard shortcut that is disallowed by the sanity checking in the GUI, add via the command-line instead. See "https://techwiser.com/custom-keyboard-shortcuts-ubuntu/".
Check first for an already existing custom list:
If the list doesn't already exist, then create one:
Then add your shortcut:
The combination you are looking for is a default keyboard shortcut for "Restore the keyboard shortcuts"
Disable it first to use the combination for your custom keyboard shortcut.