9

In IntelliJ IDEA 2018.1 on Ubuntu 16.04 with Unity the shortcut Ctrl+Alt+S doesn't work. The key map is set on Default for Gnome. How to resolve this issue?

Output for for d in /org/gnome/settings-daemon/plugins/media-keys/ /org/gnome/desktop/wm/keybindings/ /org/gnome/settings-daemon/plugins/power/; do dconf dump "$d"; done | grep -iFe '<Control><Alt>S' is:

toggle-shaded=['<Control><Alt>s']
David Foerster
  • 36,264
  • 56
  • 94
  • 147
djm.im
  • 214
  • 3
  • 13

2 Answers2

4

It appears that the window manager already captures the key combination Ctrl+Alt+S.

To unbind it or rebind it to a different key combination

  1. open the Control Center,
  2. navigate to Keyboard → Shortcuts,
  3. select the Windows shortcuts,
  4. look for the Toggle shaded state shortcut entry and
  5. edit it to a different or no key combination.

This applies to at least Unity and GNOME since they both use the same settings entries to determine keyboard shortcut combinations.

It's possible that the key combination is not bound to the same shortcut as in OP's case, in which case you need to look through all shortcut entries for one that has the key combination in question.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
  • 4
    any idea about 18.04 LTS? The for d in /org/gnome/settings-daemon/plugins/media-keys/ /org/gnome/desktop/wm/keybindings/ /org/gnome/settings-daemon/plugins/power/; do dconf dump "$d"; done | grep -iFe '<Control><Alt>S' does not result in any output. – damjad Sep 23 '18 at 14:20
  • @chuckskull: You can always look through the list of keyboard shortcuts manually. There aren’t that many after all. In theory the settings dialogue should unbind previously bound combos if you try to reuse them; thus you can bind the affected combo to something and then unbind it again to also unbind it from any other function. Otherwise could you please open a new question if you have a new or follow-up question? The comment section is not suitable or meant for new questions or extended discussion. You’re welcome to send me a comment with a notification to draw my attention to it. Thanks. – David Foerster Sep 23 '18 at 14:39
  • It's nowhere in the list in Ubuntu 20.04 for me. The below dconf answer did the trick. – Chris Combs Jan 12 '22 at 19:22
3

In such case dconf reset /org/gnome/desktop/wm/keybindings/toggle-shaded makes a deal.