I'm having a weird problem since the last week or so on my Ubuntu 16.04 laptop.
Out of the blue, gnome-screenshot starts taking shots of the screen - continually. I used to think it only happens when I'm working on Chrome(which is like 95% of the time the system is on), but today it happened almost instantly after the system booted and I entered my password.
It happens randomly sometimes, or sometimes when I press a key. It's very annoying.
I have uninstalled the package, which was at version 3.18.0.
Also simultaneously, a weird problem has started in Google Sheets. After a sheet is loaded, the currently selected cell is cleared and the cursor starts blinking, as if someone double-clicked the cell. When I select a new cell, it waits a second and clears and edits that cell as well. Last time it happened when I uninstalled gnome-screenshot because of the above random-screenshots problem. Then I reinstalled gnome-screenshot and the Sheets problem disappeared as well as the screenshots problem. Now, both problems are back simultaneously and for the time being I've uninstalled gnome-screenshot, but the Sheets problem remains.
I don't know why this is happening, but I think it's some kind of system call which is misinterpreted or some bug in some package.
I think this has started happening since I last ran the package updater.
Any solutions? I'm pretty sick of the situation as it is now.
P.S. Just noticed its effects in Nautilus as well. When I go into a folder and want to go back to the home directory(or any other in the parents), I can't; instead the mouse pointer just starts blinking very rapidly(several times a second on/off).
I also can't open any menus in the taskbar or anything. If I try to open a menu(e.g. to shut the computer down) it stays for a split second and then closes again. This happens again if I try to reopen.