IntelliJ Idea Ctrl+Alt+Left shortcut doesn't work in Ubuntu

后端 未结 12 976
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 18:53

I am using IntelliJ Idea 2017.3 latest release in Ubuntu 2017.10 and shortcut Ctrl+Alt+Left/Right doesn\'t work.

Whereas from

12条回答
  •  时光说笑
    2021-01-29 19:23

    Ubuntu binds this key combination to Switch Workspace. Starting from Ubuntu 18.04, you need to use the command line to change the shortcut (source). To remove the offending shortcuts completely, allowing IntelliJ to use them, these commands worked for me:

    gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "[]"
    gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "[]"
    

    If you ever want to restore the shortcuts, use:

    gsettings reset org.gnome.desktop.wm.keybindings switch-to-workspace-left
    gsettings reset org.gnome.desktop.wm.keybindings switch-to-workspace-right
    

提交回复
热议问题