Ubuntu 14.04 mouse and window focus issues












11














So I just installed Ubuntu 14.04 tonight and I'm having this weird issue with my mouse and window focus.



I can't seem to click on any Unity Launcher icons. More over I can't click on unfocused windows to bring them to the front. It doesn't work.



I don't know how better to explain this. It is seemingly random when I can click on something inside a window. I can't even click on the "X" button to close or the title bar to move the window around most of the time. What's causing this behaviour?



I really want to start using Ubuntu as my main desktop but I've always had weird issues like this when I would test out a release. In a VM I don't have problems but after a real install I get problems.



Edit: Some more information, my mouse is a USB RAT5 gaming mouse. Not that I think it's the physical mouse that's broke...and the pointer doesn't freeze or anything. I just can't click on anything the majority of the time.










share|improve this question
























  • This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
    – jvriesem
    Sep 4 '15 at 16:01












  • Also a problem with some touch pads.
    – nsandersen
    May 16 '17 at 19:24
















11














So I just installed Ubuntu 14.04 tonight and I'm having this weird issue with my mouse and window focus.



I can't seem to click on any Unity Launcher icons. More over I can't click on unfocused windows to bring them to the front. It doesn't work.



I don't know how better to explain this. It is seemingly random when I can click on something inside a window. I can't even click on the "X" button to close or the title bar to move the window around most of the time. What's causing this behaviour?



I really want to start using Ubuntu as my main desktop but I've always had weird issues like this when I would test out a release. In a VM I don't have problems but after a real install I get problems.



Edit: Some more information, my mouse is a USB RAT5 gaming mouse. Not that I think it's the physical mouse that's broke...and the pointer doesn't freeze or anything. I just can't click on anything the majority of the time.










share|improve this question
























  • This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
    – jvriesem
    Sep 4 '15 at 16:01












  • Also a problem with some touch pads.
    – nsandersen
    May 16 '17 at 19:24














11












11








11


3





So I just installed Ubuntu 14.04 tonight and I'm having this weird issue with my mouse and window focus.



I can't seem to click on any Unity Launcher icons. More over I can't click on unfocused windows to bring them to the front. It doesn't work.



I don't know how better to explain this. It is seemingly random when I can click on something inside a window. I can't even click on the "X" button to close or the title bar to move the window around most of the time. What's causing this behaviour?



I really want to start using Ubuntu as my main desktop but I've always had weird issues like this when I would test out a release. In a VM I don't have problems but after a real install I get problems.



Edit: Some more information, my mouse is a USB RAT5 gaming mouse. Not that I think it's the physical mouse that's broke...and the pointer doesn't freeze or anything. I just can't click on anything the majority of the time.










share|improve this question















So I just installed Ubuntu 14.04 tonight and I'm having this weird issue with my mouse and window focus.



I can't seem to click on any Unity Launcher icons. More over I can't click on unfocused windows to bring them to the front. It doesn't work.



I don't know how better to explain this. It is seemingly random when I can click on something inside a window. I can't even click on the "X" button to close or the title bar to move the window around most of the time. What's causing this behaviour?



I really want to start using Ubuntu as my main desktop but I've always had weird issues like this when I would test out a release. In a VM I don't have problems but after a real install I get problems.



Edit: Some more information, my mouse is a USB RAT5 gaming mouse. Not that I think it's the physical mouse that's broke...and the pointer doesn't freeze or anything. I just can't click on anything the majority of the time.







unity mouse window focus






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 20 '14 at 4:19







Craig Ricciuto

















asked Apr 20 '14 at 3:47









Craig RicciutoCraig Ricciuto

126118




126118












  • This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
    – jvriesem
    Sep 4 '15 at 16:01












  • Also a problem with some touch pads.
    – nsandersen
    May 16 '17 at 19:24


















  • This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
    – jvriesem
    Sep 4 '15 at 16:01












  • Also a problem with some touch pads.
    – nsandersen
    May 16 '17 at 19:24
















This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
– jvriesem
Sep 4 '15 at 16:01






This exact behavior happens for me in 15.04 with my wired AZZA mouse (never buy that brand!). Restarting helps. Oddly, if by luck I can get to the Mouse Settings, it recognizes my that mouse buttons click and scroll wheel scrolls, but I can't close the window or click anywhere else!
– jvriesem
Sep 4 '15 at 16:01














Also a problem with some touch pads.
– nsandersen
May 16 '17 at 19:24




Also a problem with some touch pads.
– nsandersen
May 16 '17 at 19:24










5 Answers
5






active

oldest

votes


















7














So I kept looking around and the problem seems to have been the type of mouse I have. I found a thread on the Ubuntu forums by a user with a similar mouse having a problem that sounded like mine. In the thread it was suggested to (create and) edit the /etc/X11/xorg.conf files with the following:



Section "InputClass"
Identifier "Mouse Remap"
MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
EndSection


And then I restarted my computer.



I have RAT5 gaming mouse and the use from the thread has the RAT7 gaming mouse.
It has been a day since I implemented the fix and there have been no problems. Didn't bother looking into why it was buggy but I know the above configuration fixed it.



Thread: http://ubuntuforums.org/showthread.php?t=2152976






share|improve this answer



















  • 1




    /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
    – Rudger
    Aug 19 '15 at 11:07





















1














A search for a similar problem brought me here. Left mouse click doesn't work anymore, neither on the mouse itself nor on touch pad. In my case it is a matter of a bluetooth mouse.



My solution was to remove the mouse from the list of paired bluetooth devices (Dash → Bluetooth), switch off the mouse and re-pair it after a reboot.






share|improve this answer































    1














    I had this on 16.04 with a laptop and a USB mouse connected. USB mouse didn't work. Clicking once on the laptop's touchpad got the mouse's buttons to work again.






    share|improve this answer





















    • This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
      – Champ
      Jun 20 '16 at 17:56



















    1














    I found a solution to similar focus problem. A part of it was that mouse focus remained locked to one window but keyboard focus was in another. I fixed it by running:



    sudo apt install wmctrl
    xfconf-query -c xfwm4 -p /general/click_to_focus -s true
    wmctrl -R WindowName
    xfconf-query -c xfwm4 -p /general/click_to_focus -s false


    Here are the links to original answer and bug report.






    share|improve this answer





























      0














      I had this problem with a wireless mouse on an Asus laptop. My touch pad, that I prefer not to use, was actually doing the same.



      I tried a bunch of things, but in the end what fixed it was to unplug the usb receiver for my mouse, and plug it back in. Everything back to normal.



      Not even a full restart did the same.






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        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',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f451080%2fubuntu-14-04-mouse-and-window-focus-issues%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        7














        So I kept looking around and the problem seems to have been the type of mouse I have. I found a thread on the Ubuntu forums by a user with a similar mouse having a problem that sounded like mine. In the thread it was suggested to (create and) edit the /etc/X11/xorg.conf files with the following:



        Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
        EndSection


        And then I restarted my computer.



        I have RAT5 gaming mouse and the use from the thread has the RAT7 gaming mouse.
        It has been a day since I implemented the fix and there have been no problems. Didn't bother looking into why it was buggy but I know the above configuration fixed it.



        Thread: http://ubuntuforums.org/showthread.php?t=2152976






        share|improve this answer



















        • 1




          /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
          – Rudger
          Aug 19 '15 at 11:07


















        7














        So I kept looking around and the problem seems to have been the type of mouse I have. I found a thread on the Ubuntu forums by a user with a similar mouse having a problem that sounded like mine. In the thread it was suggested to (create and) edit the /etc/X11/xorg.conf files with the following:



        Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
        EndSection


        And then I restarted my computer.



        I have RAT5 gaming mouse and the use from the thread has the RAT7 gaming mouse.
        It has been a day since I implemented the fix and there have been no problems. Didn't bother looking into why it was buggy but I know the above configuration fixed it.



        Thread: http://ubuntuforums.org/showthread.php?t=2152976






        share|improve this answer



















        • 1




          /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
          – Rudger
          Aug 19 '15 at 11:07
















        7












        7








        7






        So I kept looking around and the problem seems to have been the type of mouse I have. I found a thread on the Ubuntu forums by a user with a similar mouse having a problem that sounded like mine. In the thread it was suggested to (create and) edit the /etc/X11/xorg.conf files with the following:



        Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
        EndSection


        And then I restarted my computer.



        I have RAT5 gaming mouse and the use from the thread has the RAT7 gaming mouse.
        It has been a day since I implemented the fix and there have been no problems. Didn't bother looking into why it was buggy but I know the above configuration fixed it.



        Thread: http://ubuntuforums.org/showthread.php?t=2152976






        share|improve this answer














        So I kept looking around and the problem seems to have been the type of mouse I have. I found a thread on the Ubuntu forums by a user with a similar mouse having a problem that sounded like mine. In the thread it was suggested to (create and) edit the /etc/X11/xorg.conf files with the following:



        Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
        EndSection


        And then I restarted my computer.



        I have RAT5 gaming mouse and the use from the thread has the RAT7 gaming mouse.
        It has been a day since I implemented the fix and there have been no problems. Didn't bother looking into why it was buggy but I know the above configuration fixed it.



        Thread: http://ubuntuforums.org/showthread.php?t=2152976







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 20 '15 at 14:44

























        answered Apr 21 '14 at 0:59









        Craig RicciutoCraig Ricciuto

        126118




        126118








        • 1




          /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
          – Rudger
          Aug 19 '15 at 11:07
















        • 1




          /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
          – Rudger
          Aug 19 '15 at 11:07










        1




        1




        /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
        – Rudger
        Aug 19 '15 at 11:07






        /ect/... should be /etc/... (i couldn't update only 1 char, (minimal 6)).
        – Rudger
        Aug 19 '15 at 11:07















        1














        A search for a similar problem brought me here. Left mouse click doesn't work anymore, neither on the mouse itself nor on touch pad. In my case it is a matter of a bluetooth mouse.



        My solution was to remove the mouse from the list of paired bluetooth devices (Dash → Bluetooth), switch off the mouse and re-pair it after a reboot.






        share|improve this answer




























          1














          A search for a similar problem brought me here. Left mouse click doesn't work anymore, neither on the mouse itself nor on touch pad. In my case it is a matter of a bluetooth mouse.



          My solution was to remove the mouse from the list of paired bluetooth devices (Dash → Bluetooth), switch off the mouse and re-pair it after a reboot.






          share|improve this answer


























            1












            1








            1






            A search for a similar problem brought me here. Left mouse click doesn't work anymore, neither on the mouse itself nor on touch pad. In my case it is a matter of a bluetooth mouse.



            My solution was to remove the mouse from the list of paired bluetooth devices (Dash → Bluetooth), switch off the mouse and re-pair it after a reboot.






            share|improve this answer














            A search for a similar problem brought me here. Left mouse click doesn't work anymore, neither on the mouse itself nor on touch pad. In my case it is a matter of a bluetooth mouse.



            My solution was to remove the mouse from the list of paired bluetooth devices (Dash → Bluetooth), switch off the mouse and re-pair it after a reboot.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 7 '15 at 8:33

























            answered Feb 6 '15 at 17:48









            DavidDavid

            1214




            1214























                1














                I had this on 16.04 with a laptop and a USB mouse connected. USB mouse didn't work. Clicking once on the laptop's touchpad got the mouse's buttons to work again.






                share|improve this answer





















                • This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                  – Champ
                  Jun 20 '16 at 17:56
















                1














                I had this on 16.04 with a laptop and a USB mouse connected. USB mouse didn't work. Clicking once on the laptop's touchpad got the mouse's buttons to work again.






                share|improve this answer





















                • This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                  – Champ
                  Jun 20 '16 at 17:56














                1












                1








                1






                I had this on 16.04 with a laptop and a USB mouse connected. USB mouse didn't work. Clicking once on the laptop's touchpad got the mouse's buttons to work again.






                share|improve this answer












                I had this on 16.04 with a laptop and a USB mouse connected. USB mouse didn't work. Clicking once on the laptop's touchpad got the mouse's buttons to work again.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 24 '16 at 15:01









                simbabquesimbabque

                320415




                320415












                • This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                  – Champ
                  Jun 20 '16 at 17:56


















                • This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                  – Champ
                  Jun 20 '16 at 17:56
















                This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                – Champ
                Jun 20 '16 at 17:56




                This worked for me with 14.04 and USB microsoft mouse. Even a reboot didn't fix the issue but your answer did! Thanks.
                – Champ
                Jun 20 '16 at 17:56











                1














                I found a solution to similar focus problem. A part of it was that mouse focus remained locked to one window but keyboard focus was in another. I fixed it by running:



                sudo apt install wmctrl
                xfconf-query -c xfwm4 -p /general/click_to_focus -s true
                wmctrl -R WindowName
                xfconf-query -c xfwm4 -p /general/click_to_focus -s false


                Here are the links to original answer and bug report.






                share|improve this answer


























                  1














                  I found a solution to similar focus problem. A part of it was that mouse focus remained locked to one window but keyboard focus was in another. I fixed it by running:



                  sudo apt install wmctrl
                  xfconf-query -c xfwm4 -p /general/click_to_focus -s true
                  wmctrl -R WindowName
                  xfconf-query -c xfwm4 -p /general/click_to_focus -s false


                  Here are the links to original answer and bug report.






                  share|improve this answer
























                    1












                    1








                    1






                    I found a solution to similar focus problem. A part of it was that mouse focus remained locked to one window but keyboard focus was in another. I fixed it by running:



                    sudo apt install wmctrl
                    xfconf-query -c xfwm4 -p /general/click_to_focus -s true
                    wmctrl -R WindowName
                    xfconf-query -c xfwm4 -p /general/click_to_focus -s false


                    Here are the links to original answer and bug report.






                    share|improve this answer












                    I found a solution to similar focus problem. A part of it was that mouse focus remained locked to one window but keyboard focus was in another. I fixed it by running:



                    sudo apt install wmctrl
                    xfconf-query -c xfwm4 -p /general/click_to_focus -s true
                    wmctrl -R WindowName
                    xfconf-query -c xfwm4 -p /general/click_to_focus -s false


                    Here are the links to original answer and bug report.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 2 at 1:38









                    ohwellohwell

                    233




                    233























                        0














                        I had this problem with a wireless mouse on an Asus laptop. My touch pad, that I prefer not to use, was actually doing the same.



                        I tried a bunch of things, but in the end what fixed it was to unplug the usb receiver for my mouse, and plug it back in. Everything back to normal.



                        Not even a full restart did the same.






                        share|improve this answer


























                          0














                          I had this problem with a wireless mouse on an Asus laptop. My touch pad, that I prefer not to use, was actually doing the same.



                          I tried a bunch of things, but in the end what fixed it was to unplug the usb receiver for my mouse, and plug it back in. Everything back to normal.



                          Not even a full restart did the same.






                          share|improve this answer
























                            0












                            0








                            0






                            I had this problem with a wireless mouse on an Asus laptop. My touch pad, that I prefer not to use, was actually doing the same.



                            I tried a bunch of things, but in the end what fixed it was to unplug the usb receiver for my mouse, and plug it back in. Everything back to normal.



                            Not even a full restart did the same.






                            share|improve this answer












                            I had this problem with a wireless mouse on an Asus laptop. My touch pad, that I prefer not to use, was actually doing the same.



                            I tried a bunch of things, but in the end what fixed it was to unplug the usb receiver for my mouse, and plug it back in. Everything back to normal.



                            Not even a full restart did the same.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 24 '16 at 10:14









                            Orri EirikssonOrri Eiriksson

                            1




                            1






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f451080%2fubuntu-14-04-mouse-and-window-focus-issues%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Human spaceflight

                                Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                張江高科駅