I have ubuntu 14.04 LTS installed, and after doing
sudo apt-get update, sudo
apt-get upgrade today a strange thing started happening.
After I open any application (or a terminal window), my mouse clicks don't work anymore. The only thing I can click on are the system icon in the top right corner of the screen (the dropdown with system settings, users etc.).
I have a Windows 8 dual boot, and the mouse works fine there so I'm pretty sure it's not a hardware problem. Regardless, I tried another mouse, and the same thing happens.
First thing I did was try
compiz --replace, which makes my mouse work for a couple of seconds, then freezes up again.
I tried reinstalling inputattach, and all packages including the word mouse one by one, and nothing changed.
I tried removing (with
flashplugin-nonfree / flashplugin-installer, and nothing changed.
I tried writing
gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer, upon which I get a strange error about mouse focus being taken away (gedit doesn't open). After running
unity --replace, getid opened, and the line I was supposed to add (
GDK_NATIVE_WINDOWS=1) was allready there.
When I run
unity --replace, and login again, everything starts to work normally. I really don't won't to be doing this every time, firstly because it's annoying, but more importantly because ubuntu is my development environment, and I don't like knowing what's wrong.
So I tried reinstalling my ubuntu configuration. Guess what, I load the live demo to install ubuntu, and the same problem is there. Mouse doesn't work until I replace unity. So I left my current installation as is.
Any help you can offer at this point (been trying to wrap my head around this for 12 hours) is appreciated.