I have a fresh Ubuntu 16.04 install on a new laptop (less than a month old) and I'm having a hard time with my keyboard.
It seems like the Ctrl key thinks it's being pressed when it's not. Some examples:
- On Chrome, when I scroll up or down with the mouse the zoom suddenly changes, the same happens in Sublime Text.
- When typing d on a terminal it suddenly closes the current tab.
The above examples happened at random intervals.
Sometimes, when I actually want to use the Ctrl key and press it to delete a word on the terminal (using Ctrl+w) it only works the first or second time, then it suddenly stops working (while holding down the Ctrl).
It's not just the Ctrl key because sometimes happens with the Alt key too.
What I have tried:
- Deleting the
.config
,.gconf
,.gnome
and.gnome2
folders as suggested in a post I found - Changing the Keyboard Layout
- On my keyboard settings, the "Key presses repeat when key is held down" is checked
- The "Sticky keys" option is off.
My laptop:
- HP Pavilion
- AMD A8-7410 APU with AMD Radeon R5 Graphics
- 12 GB RAM
- 1 TB HDD
- Ubuntu Mate 16.04
Extra info:
- I'm using
gnome-session-fallback
as my DE. - I'm using fglrx driver as an alternative to X.org
Update
- It's happening with the Shift keys too
- It's happening with both the left and right Ctrl, Shift, etc. keys so I guess we can discard hardware failures as suggested by @whtyger in the comments
showkey
command? (may need using from the <ALT-F1> console, not X) This may shed some further light on what's going on?