I am using IntelliJ Idea 2017.3 latest release in Ubuntu 2017.10 and shortcut Ctrl+Alt+Left/Right doesn't work.
Whereas from menu Navigate -> Back/Forward works fine.
Reference : https://www.jetbrains.com/help/idea/navigation-in-source-code.html
I am using IntelliJ Idea 2017.3 latest release in Ubuntu 2017.10 and shortcut Ctrl+Alt+Left/Right doesn't work.
Whereas from menu Navigate -> Back/Forward works fine.
Reference : https://www.jetbrains.com/help/idea/navigation-in-source-code.html
The right setting is combinations of already posted answers. To sum up:
1. Remove key bindings of Ctrl+Alt+Right/Left to GNOME enviroment
In terminal run:
2. Assigne the bindings to Forward / Back actions in Idea IntelliJ
If you use Keymap setting based on GNOME keymap the defaults for Forward / Back actions are not Ctrl+Alt+Right/Left. It must be setted.
In Idea IntelliJ menu
search for
click on edit shortcuts and set it to Ctrl+Alt+Right
then search for
click on edit shortcuts and set it to Ctrl+Alt+Left
Works on versions: Ubuntu 18.04.3 LTS Idea IntelliJ 2019.2.3
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:
If you ever want to restore the shortcuts, use:
My Gnome was configured to CTRL+ALT+left or right and I don't why but it moved to CTRL+ALT+Up or down. Workspaces were aligned horizontally and they changed to be vertical. I don't what I did to get this! Maybe the same thing happened to you...
I am fine with that, it changes a lit bit my desktop, changes are good some times...
I advice you to install the extension Workspace to dock which is very cool ;)
The solution by @lászló-van-den-hoek here was correct, but I had to take one more step.
Go to
File | Settings | Keymap
in Intellij and change the Keymap fromDefault for GNOME
toDefault
.I think this has been tripping people up since Ubuntu switched from Unity desktop to a GNOME based desktop, and now Intellij is starting up with GNOME appropriate hotkeys.