简体   繁体   中英

PyCharm is not responding on Ctrl key shortcuts

Environment: XUbuntu 13.04, Java: Oracle 7 u40
PyCharm 3.0 Community Edition

Any shortcut which involves Ctrl key is not working. For example, I can Copy-Paste text using mouse or middle-button, but not via Ctrl + C / Ctrl + V . When I hover mouse in menu, I can see shortcut tooltip and Settings confirm that shortcut is correct. But it is not working.
Shortcuts with Alt , like Alt + F7 work normally.

Other apps, for example, Aptana studio - which is Java and Eclipse-based works normally. All system applications work with Ctrl button OK.

Probably IBus is messing with your Java keyboard shortcuts. Just do

killall ibus-daemon

I was able to resolve my problem seemingly by rearranging my keyboard layouts on Debian, so that my English(US) keyboard was on top. I'm only putting this down as a answer because its a solution that is stuck in the comments section and not as an actual answer.

If you have installed Vim emulator , make sure it's not interfering with IDE shortcuts .

  1. Go to settings -> Vim emulation
  2. Then assign IDE or Vim to any of the shortcuts you want.

我进入了File-Settings-Keymap,然后我将keymap版本从现有的更改为VisualStudio,它开始正常工作。

In case you are using Ubuntu, disable Vim Emulator in pyCharm:

Thats probably because the keyboard layout opted during installation is either MAC OS X . I suggest you can try out different layouts.

You can select different layout File>Settings>Keymap>Select one that is suitable for your system

Solution to the above problem is simple:

Turn off Vim Emulation in the Tools menu

Edit: I had the same problem, and this solved

If you are using Vim Emulation, it's possible that it's intercepting some Ctrl / Alt combinations. To see if this is the case you can go to Settings/Other Settings/Vim Emulation and switch the Handler dropdown from Vim to IDE.

I have faced the same issue. Please navigate as below to make the ctrl, alt work as expected:

file >> setting >> keymap >> change to XWin

Hope this helps :)

Please, take a look at this question (worked for me in Ubuntu 16.04).

In my case, some PyCharm shortcuts were being shadowed by Ubuntu shortcuts, such as Ctrl + Alt + S , which opens the Settings window on PyCharm, but corresponds to the 'Toggle shaded state' shortcut on Ubuntu.

I simply disabled the Ubuntu shortcut and the corresponding PyCharm shortcut worked like a Charm (pun intended).

重新启动我的电脑修复了问题。

On my mac, I fix this by unplugging and replugging in my keyboard. Only mention it as I didn't see it here.

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