Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2817

Running IntelliJ in WSL2 Ubuntu 20.04 - how to make keyboard shortcut ctrl+alt+arrows work

$
0
0

My environment:

Windows 11 22000.493 -> Host OSWSL 5.10.60.1Ubuntu: 20.04.3 LTS -> Guest OSIntelliJ: Build #IC-213.6777.52, built on January 28, 2022 -> Running inside WSL

I am running IntelliJ inside WSL as described here: https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

I have configured my IntelliJ to use Windows Proper Redo keymap so that my shortcuts are the same as in the Windows environment.All shortcuts seem to work as expected except the Navigation ones - Ctrl+Alt+Left/Right.enter image description here

As shown in the screenshot - they are properly configured. If I switch the combination - they start to work, but I want to have them under Ctrl+Alt+Left/Right.

I read here https://stackoverflow.com/questions/47808160/intellij-idea-ctrlaltleft-shortcut-doesnt-work-in-ubuntu that Ctrl+Alt+Left/Right is interfering with Gnome but this is WSL and I have uninstalled Gnome completely by following How can I remove Gnome Desktop Environment without messing Unity DE? (Ubuntu 16.04) and running

sudo apt-get remove --auto-remove ubuntu-gnome-desktop

Still there appear to be some settings left on my Ubuntu:

$ gsettings list-recursively | grep org.gnome.desktop.wm.keybindings | sort | grep Controlorg.gnome.desktop.wm.keybindings cycle-panels ['<Control><Alt>Escape']org.gnome.desktop.wm.keybindings cycle-panels-backward ['<Shift><Control><Alt>Escape']org.gnome.desktop.wm.keybindings move-to-workspace-down ['<Super><Shift>Page_Down', '<Control><Shift><Alt>Down']org.gnome.desktop.wm.keybindings move-to-workspace-left ['<Control><Shift><Alt>Left']org.gnome.desktop.wm.keybindings move-to-workspace-right ['<Control><Shift><Alt>Right']org.gnome.desktop.wm.keybindings move-to-workspace-up ['<Super><Shift>Page_Up', '<Control><Shift><Alt>Up']org.gnome.desktop.wm.keybindings switch-panels ['<Control><Alt>Tab']org.gnome.desktop.wm.keybindings switch-panels-backward ['<Shift><Control><Alt>Tab']org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Super>Page_Down', '<Control><Alt>Down']org.gnome.desktop.wm.keybindings switch-to-workspace-up ['<Super>Page_Up', '<Control><Alt>Up']

But none of them are bound to Ctrl+Alt+Left/Right.I am out of ideas. How do I make the keyboard combination work in IntelliJ running inside WSL2?


Viewing all articles
Browse latest Browse all 2817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>