Ubuntu – mouse focus problem

16.04focusmouseubuntu-matexorg

I've just installed Ubuntu Mate 16.04 and am encountering a very annoying problem.

After using the pc for a while:

  • it becomes impossible to change focus to another window by mouse click
  • it is still possible to use Alt+Tab to change focus, but the window doesn't react to mouse clicks
  • it is not possible to click on desktop buttons (application/places/system) and also it's impossible to move/drag windows

The really weird thing is that I was previously experiencing the same problems in OpenSuse leap 42 with different desktops (KDE plasma, xfce, icewm). It was very annoying, and that's the main reason why I reinstalled Linux and tried Ubuntu Mate 16.

I'm starting to suspect that this is bug in recent versions of X.org which is present in any recent distribution.
I don't think it's a hardware problem (in win7 I have no issue).

Did anyone see this problem? Any suggestion or solution?

Best Answer

I'm a bit late, but anyway, here's a temporary fix:
Press CTRL+ALT+F4

You should see a terminal - now go back to the graphical environment with CTRL+ALT+F1
(or F7, depends on your Ubuntu version)