Mouse left click stops working

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
5
down vote

favorite
1












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.










share|improve this question























  • Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
    – dirkt
    Jun 4 '17 at 8:41










  • Ok. Next time it happens I will have a look using these commands.
    – user668074
    Jun 4 '17 at 9:10










  • @dirkt, I ran xev and evtest. I modified he main question with the results.
    – user668074
    Jun 4 '17 at 12:57






  • 1




    (It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
    – dirkt
    Jun 4 '17 at 13:43










  • @dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
    – user668074
    Jun 4 '17 at 14:41














up vote
5
down vote

favorite
1












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.










share|improve this question























  • Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
    – dirkt
    Jun 4 '17 at 8:41










  • Ok. Next time it happens I will have a look using these commands.
    – user668074
    Jun 4 '17 at 9:10










  • @dirkt, I ran xev and evtest. I modified he main question with the results.
    – user668074
    Jun 4 '17 at 12:57






  • 1




    (It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
    – dirkt
    Jun 4 '17 at 13:43










  • @dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
    – user668074
    Jun 4 '17 at 14:41












up vote
5
down vote

favorite
1









up vote
5
down vote

favorite
1






1





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.










share|improve this question















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.







ubuntu mouse xubuntu bugs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 at 5:00

























asked Jun 4 '17 at 7:11









user668074

12613




12613











  • Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
    – dirkt
    Jun 4 '17 at 8:41










  • Ok. Next time it happens I will have a look using these commands.
    – user668074
    Jun 4 '17 at 9:10










  • @dirkt, I ran xev and evtest. I modified he main question with the results.
    – user668074
    Jun 4 '17 at 12:57






  • 1




    (It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
    – dirkt
    Jun 4 '17 at 13:43










  • @dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
    – user668074
    Jun 4 '17 at 14:41
















  • Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
    – dirkt
    Jun 4 '17 at 8:41










  • Ok. Next time it happens I will have a look using these commands.
    – user668074
    Jun 4 '17 at 9:10










  • @dirkt, I ran xev and evtest. I modified he main question with the results.
    – user668074
    Jun 4 '17 at 12:57






  • 1




    (It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
    – dirkt
    Jun 4 '17 at 13:43










  • @dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
    – user668074
    Jun 4 '17 at 14:41















Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
– dirkt
Jun 4 '17 at 8:41




Use evtest as root and xev to find out at which level the mouse clicks disappear. Also, look into dmesg for possible errors.
– dirkt
Jun 4 '17 at 8:41












Ok. Next time it happens I will have a look using these commands.
– user668074
Jun 4 '17 at 9:10




Ok. Next time it happens I will have a look using these commands.
– user668074
Jun 4 '17 at 9:10












@dirkt, I ran xev and evtest. I modified he main question with the results.
– user668074
Jun 4 '17 at 12:57




@dirkt, I ran xev and evtest. I modified he main question with the results.
– user668074
Jun 4 '17 at 12:57




1




1




(It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
– dirkt
Jun 4 '17 at 13:43




(It would have been nice to provide the actual output, just in case something weird happened. We can only debug based on information you give, so the more information you give, the better). That means something in X goes wrong. Look into /var/log/Xorg.log to see if there are any messages when the mouse stops working. Also run xinput -list and then xinput -test 123, where 123 is the id of your mouse. You focused the xev window? You can see keypresses in xev? Do you run any programs that could swallow up left button clicks?
– dirkt
Jun 4 '17 at 13:43












@dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
– user668074
Jun 4 '17 at 14:41




@dirkt, I'm not sure what output from xev or evtest since it just tells me that buttons have been pushed. Next time it happens I'll check the log files. I typically run Firefox, a password manager, Emacs, and a terminal window.
– user668074
Jun 4 '17 at 14:41










4 Answers
4






active

oldest

votes

















up vote
1
down vote













I had the same issue in Ubuntu 17.10. I could move the cursor but none of the mouse buttons worked. I tried various solutions like auto update drivers, the metacity and compiz, but it didn't work. One solution which was mentioned was to remove nvidia drivers (My PC has 550Ti). After uninstalling that, my mouse is working fine.






share|improve this answer



























    up vote
    1
    down vote













    I have a Dell Inspiron 15 7559. The left click stops working once a while when I was using Ubuntu 16.04. After installed Ubuntu 18.04, the left click stops working almost everytime after I resume from suspend.



    The best solution I found is switching to another virtual console (TTY) by Alt + Ctrl + F1. The mouse works normally after switching back with Alt + Ctrl + F7.






    share|improve this answer



























      up vote
      0
      down vote













      Try this:
      sudo modprobe -r psmouse
      sudo modprobe psmouse proto=imps






      share|improve this answer
















      • 1




        He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
        – peterh
        Jun 2 at 17:58

















      up vote
      0
      down vote













      I just had this (mouse can move but clicks do nothing) happen.



      I realized that in the background a program window had been too slow to close and Gnome had shown a popup asking "Force close" or "Wait".



      In my case, the procedure below liberated my mouse:



      1. Go to that popup using ALT-TAB

      2. Select an option using TAB

      3. Press Enter





      share|improve this answer




















        Your Answer







        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "106"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        convertImagesToLinks: false,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













         

        draft saved


        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f369097%2fmouse-left-click-stops-working%23new-answer', 'question_page');

        );

        Post as a guest






























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        1
        down vote













        I had the same issue in Ubuntu 17.10. I could move the cursor but none of the mouse buttons worked. I tried various solutions like auto update drivers, the metacity and compiz, but it didn't work. One solution which was mentioned was to remove nvidia drivers (My PC has 550Ti). After uninstalling that, my mouse is working fine.






        share|improve this answer
























          up vote
          1
          down vote













          I had the same issue in Ubuntu 17.10. I could move the cursor but none of the mouse buttons worked. I tried various solutions like auto update drivers, the metacity and compiz, but it didn't work. One solution which was mentioned was to remove nvidia drivers (My PC has 550Ti). After uninstalling that, my mouse is working fine.






          share|improve this answer






















            up vote
            1
            down vote










            up vote
            1
            down vote









            I had the same issue in Ubuntu 17.10. I could move the cursor but none of the mouse buttons worked. I tried various solutions like auto update drivers, the metacity and compiz, but it didn't work. One solution which was mentioned was to remove nvidia drivers (My PC has 550Ti). After uninstalling that, my mouse is working fine.






            share|improve this answer












            I had the same issue in Ubuntu 17.10. I could move the cursor but none of the mouse buttons worked. I tried various solutions like auto update drivers, the metacity and compiz, but it didn't work. One solution which was mentioned was to remove nvidia drivers (My PC has 550Ti). After uninstalling that, my mouse is working fine.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 20 at 14:38









            Iloovatar

            111




            111






















                up vote
                1
                down vote













                I have a Dell Inspiron 15 7559. The left click stops working once a while when I was using Ubuntu 16.04. After installed Ubuntu 18.04, the left click stops working almost everytime after I resume from suspend.



                The best solution I found is switching to another virtual console (TTY) by Alt + Ctrl + F1. The mouse works normally after switching back with Alt + Ctrl + F7.






                share|improve this answer
























                  up vote
                  1
                  down vote













                  I have a Dell Inspiron 15 7559. The left click stops working once a while when I was using Ubuntu 16.04. After installed Ubuntu 18.04, the left click stops working almost everytime after I resume from suspend.



                  The best solution I found is switching to another virtual console (TTY) by Alt + Ctrl + F1. The mouse works normally after switching back with Alt + Ctrl + F7.






                  share|improve this answer






















                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    I have a Dell Inspiron 15 7559. The left click stops working once a while when I was using Ubuntu 16.04. After installed Ubuntu 18.04, the left click stops working almost everytime after I resume from suspend.



                    The best solution I found is switching to another virtual console (TTY) by Alt + Ctrl + F1. The mouse works normally after switching back with Alt + Ctrl + F7.






                    share|improve this answer












                    I have a Dell Inspiron 15 7559. The left click stops working once a while when I was using Ubuntu 16.04. After installed Ubuntu 18.04, the left click stops working almost everytime after I resume from suspend.



                    The best solution I found is switching to another virtual console (TTY) by Alt + Ctrl + F1. The mouse works normally after switching back with Alt + Ctrl + F7.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jun 10 at 6:28









                    HD189733b

                    111




                    111




















                        up vote
                        0
                        down vote













                        Try this:
                        sudo modprobe -r psmouse
                        sudo modprobe psmouse proto=imps






                        share|improve this answer
















                        • 1




                          He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                          – peterh
                          Jun 2 at 17:58














                        up vote
                        0
                        down vote













                        Try this:
                        sudo modprobe -r psmouse
                        sudo modprobe psmouse proto=imps






                        share|improve this answer
















                        • 1




                          He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                          – peterh
                          Jun 2 at 17:58












                        up vote
                        0
                        down vote










                        up vote
                        0
                        down vote









                        Try this:
                        sudo modprobe -r psmouse
                        sudo modprobe psmouse proto=imps






                        share|improve this answer












                        Try this:
                        sudo modprobe -r psmouse
                        sudo modprobe psmouse proto=imps







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Jun 2 at 17:19









                        Raven Kong

                        11




                        11







                        • 1




                          He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                          – peterh
                          Jun 2 at 17:58












                        • 1




                          He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                          – peterh
                          Jun 2 at 17:58







                        1




                        1




                        He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                        – peterh
                        Jun 2 at 17:58




                        He, welcome on the Unix SE! I suggest to give more details in your answers, giving only some commands to copy-paste is not very good.
                        – peterh
                        Jun 2 at 17:58










                        up vote
                        0
                        down vote













                        I just had this (mouse can move but clicks do nothing) happen.



                        I realized that in the background a program window had been too slow to close and Gnome had shown a popup asking "Force close" or "Wait".



                        In my case, the procedure below liberated my mouse:



                        1. Go to that popup using ALT-TAB

                        2. Select an option using TAB

                        3. Press Enter





                        share|improve this answer
























                          up vote
                          0
                          down vote













                          I just had this (mouse can move but clicks do nothing) happen.



                          I realized that in the background a program window had been too slow to close and Gnome had shown a popup asking "Force close" or "Wait".



                          In my case, the procedure below liberated my mouse:



                          1. Go to that popup using ALT-TAB

                          2. Select an option using TAB

                          3. Press Enter





                          share|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            I just had this (mouse can move but clicks do nothing) happen.



                            I realized that in the background a program window had been too slow to close and Gnome had shown a popup asking "Force close" or "Wait".



                            In my case, the procedure below liberated my mouse:



                            1. Go to that popup using ALT-TAB

                            2. Select an option using TAB

                            3. Press Enter





                            share|improve this answer












                            I just had this (mouse can move but clicks do nothing) happen.



                            I realized that in the background a program window had been too slow to close and Gnome had shown a popup asking "Force close" or "Wait".



                            In my case, the procedure below liberated my mouse:



                            1. Go to that popup using ALT-TAB

                            2. Select an option using TAB

                            3. Press Enter






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 15 at 8:26









                            Nicolas Raoul

                            2,74882943




                            2,74882943



























                                 

                                draft saved


                                draft discarded















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f369097%2fmouse-left-click-stops-working%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Popular posts from this blog

                                How to check contact read email or not when send email to Individual?

                                Bahrain

                                Postfix configuration issue with fips on centos 7; mailgun relay