On Xubuntu, for a long time I've had an issue where my Left mouse button stops working for some reason. It happens pretty much everyday. Everything else seems to work.
The only way I can get my mouse to work again is to logout and login, which requires me to shutdown all my programs.
Obviously this is very annoying, I've had this issue for almost a year and I've assumed that an update would fix it but it still happens.
Is anyone else aware of this issue and possible fixes?
I'm using Xubuntu as my Desktop Environment. I'm currently on Ubuntu 16.04 LTS.
Edit:
It happened again and I used xev
and evtest
to see what events are recognised. xev
did not respond to Left button clicks but evtest
did respond to Left button clicks.
Edit (2018/01/22): Just an update. I still have the problem, but I have a short term fix. When the left mouse button stops working, I use Ctrl+Alt+T to bring up the terminal. I enter xinput
in the terminal, which brings up a list of devices. I search for which device is probably the mouse (it has name like generic mouse) and I find the associated ID number. I then enter the command: xinput disable ID
where ID is the ID number of the mouse. This fixes the problem until I shutdown the computer.
Also, for more information about the problem, the same mouse works for my Windows 10 installation, so I think the mouse is fine. The same problem also occurs in Kali Linux, except that Kali linux doesn't have xinput
installed so I can't use my quick fix.
evtest
as root andxev
to find out at which level the mouse clicks disappear. Also, look intodmesg
for possible errors./var/log/Xorg.log
to see if there are any messages when the mouse stops working. Also runxinput -list
and thenxinput -test 123
, where123
is the id of your mouse. You focused thexev
window? You can see keypresses inxev
? Do you run any programs that could swallow up left button clicks?