0

I'm trying to assign Shift + r as a new keyboard shortcut to mouse right-click. Thus I walk through the process:

Settings -> Keyboard Shortcuts -> Add Custom Shortcut-> Shortcut

Then, when I press Shift, it does not recognize this key.

Why this is not allowed?

EDIT: The solution from Ubuntu 18.04 Can't assign shift to keyboard does not fix the problem as the Alt + Shift box is already unchecked in my machine.

1 Answers1

1

As you observed, a Shift+key combination is not allowed. Why? I think it protects casual users from assigning unexpected keyboard combinations. Shift keyboard combinations are too commonly used and are an essential part of daily typing. How will you type "D"?

That said, you can still make it to work if you insist. Assign, for the time being, a hotkey that is supported, e.g. <Control><Shift>d. Then, delve into dconf-editor (not installed by default). Under /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/, find the folder ("custom") that corresponds with your shortcut key, and edit the value to read <Shift>d.

vanadium
  • 88,010