Vestel
Vestel

Reputation: 1025

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.

Upvotes: 27

Views: 26177

Answers (13)

Kshetra Mohan Prusty
Kshetra Mohan Prusty

Reputation: 301

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

Upvotes: 2

Edgar Po
Edgar Po

Reputation: 11

It worked for me: View > Quick Switch Scheme... > Keymap > Windows My version of Pycharm: 2022.3 built on November 30, 2022

Upvotes: 1

maphysics
maphysics

Reputation: 31

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

Upvotes: 0

rahul rachh
rahul rachh

Reputation: 99

Solution to the above problem is simple:

Turn off Vim Emulation in the Tools menu

Edit: I had the same problem, and this solved

Upvotes: 4

Vivek Somvanshi
Vivek Somvanshi

Reputation: 91

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

Tools > Vim Emulator

Upvotes: 9

faezehK
faezehK

Reputation: 193

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.

Upvotes: 12

amaralbf
amaralbf

Reputation: 920

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).

Upvotes: 1

casjorge
casjorge

Reputation: 251

I entered to File-Settings-Keymap and then I changed keymap version from existing to VisualStudio and it started to work correctly.

Upvotes: 3

Andrei Pokrovsky
Andrei Pokrovsky

Reputation: 3836

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.

Upvotes: 1

Jino Jossy
Jino Jossy

Reputation: 54

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

Upvotes: 2

ksaylor11
ksaylor11

Reputation: 433

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.

Upvotes: 17

Andrew Schweitzer
Andrew Schweitzer

Reputation: 11

Rebooting my computer fixed the problem.

Upvotes: 1

emirc
emirc

Reputation: 2018

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

killall ibus-daemon

Upvotes: 23

Related Questions