简体   繁体   中英

Intellij IDEA move element left/right (Ctrl+Alt+Shift+Left/Right) doesn't work on Ubuntu 18.01

It seems that ( Ctrl + Alt + Shift + Left / Right ) hotkey is used by Ubuntu, so IDEA can't pick it up.

想法热键

After googling I found out that these hotkeys are assigned to move-to-workspace-right and move-to-workspace-left Ubuntu actions. But when I disabled those (set [], or ['disabled']) in Ubuntu, IDEA still can't pick this hotkey up.

禁用热键

Could anyone help to find out what other actions can be bind to those hotkeys or how can I get a list of all used keybinding in the Ubuntu. (I can't find them in the default Ubuntu settings and gnome tweaks)

Move-to-workspace-right and move-to-workspace-left is shown only in dconf tool.

For my case, all Ctrl + Alt + Alt hotkeys were disabled in the system. From my understanding, this is due to the fact that the keys for switching layouts intercept these combinations.

I solved this problem by resetting the default mapping options. Settings -> Devices -> Keyboard -> Reset All... .

At the moment I do not know how to save the keyboard switch combination, but there is a thread about it: https://askubuntu.com/questions/1029588/18-04-ctrlshift-to-change-language

This answer looks pretty good enough.

I finally found the problem.

Along with disabling both move-to-workspace-right and switch-to-workspace-right ; move-to-workspace-left and switch-to-workspace-left hotkeys, need to be sure that Gnome tweak tool > Switching to another layout does not use any of Ctrl Alt Shift .

For example, when switching to another layout hotkey is Alt + Shift , it means that all other hotkeys Alt + Shift + Any key will be unavailable.

在此输入图像描述

It's out of my mind but combination Ctrl + Alt + Super + Shift + Left / Right works for me.

Ubuntu 18.04.2 LTS

IDEA 2018.3.4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM