My keyboard is messing up. I can click on Z, X, C fine and I can press Ctrl + S to save file, Ctrl+Shift+D to duplicate line (in Atom) without any problem. All keys works fine.

But the strange thing is that I cannot use: Ctrl+Z to undo or Ctrl+C to copy or Ctrl+X to cut. It does not show any warning or error.

It does that in all IDEs, Browsers and text editors.

Even when I run top command in terminal I cannot use Ctrl+Z or Ctrl+C to stop it.

I tried to follow this but I got lost.

What can I do?

  • 1
    Can you edit to say if this is a laptop keyboard - and if so, what is the brand and model of the laptop - or if it is an external keyboard?
    – sourcejedi
    May 11, 2019 at 14:05
  • 1
    The command stty sane in the linked answer only helps inside a terminal, it will not affect the browser. So the problem it fixes is not the problem you have (or at least not the only problem :-).
    – sourcejedi
    May 11, 2019 at 14:09
  • 1
    It is probably quite difficult to work out your problem :-). What keyboard layout do you use - is it an American or British QWERTY layout, or something different? Are you able to try booting a Live media, what version is it and does it have the same problem? If you are dual-booting, do you have the same problem in Windows or not?
    – sourcejedi
    May 11, 2019 at 14:13
  • At a guess I'd hazard that your keyboard definition doesn't match the actual keyboard you're using.
    – roaima
    May 11, 2019 at 14:30
  • Did it used to work and now it stopped working, or has it never worked correctly on this install of Ubuntu?
    – sourcejedi
    May 11, 2019 at 14:46

1 Answer 1


I think my keybord is dead!.

just installed windows as dual boot and it's doing the same.

so let me just close the Q

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.