Ubuntu 14.04 mouse and keyboard focus different windows












0















I'm using Ubuntu 14.04.5 LTS and my mouse and keyboard are behaving weird after login today and after opening one window (firefox, nautilus) and then the terminal (terminator). Mouse and keyboard are both focusing different windows and I cannot click another window or the unity logo, just the window the mouse has focus on.



Info:




  • It worked seamless for a good month and this behaviour happened just today.

  • Last thing I installed: Wine

  • Last settings I changed: Set gedit as default editor with Ubuntu Tweak

  • Keyboard: Logitech K270

  • Mouse: Logitech M705

  • Happens with laptop touchpad, too.

  • Happens on Unity and Gnome.

  • Rebooting does not fix this problem.

  • Cannot upgrade Ubuntu because I need to use ROS indigo.


I found other threads, where people had focus problems, but it was due to using gamer mice. And as I said, everything worked before.



Is there an easy way to fix this behavior? I cannot think of any cause and can barely work on Ubuntu like this.



Any help is appreciated.










share|improve this question


















  • 1





    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

    – heynnema
    Aug 6 '17 at 18:10











  • I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

    – S. M.
    Aug 7 '17 at 10:57
















0















I'm using Ubuntu 14.04.5 LTS and my mouse and keyboard are behaving weird after login today and after opening one window (firefox, nautilus) and then the terminal (terminator). Mouse and keyboard are both focusing different windows and I cannot click another window or the unity logo, just the window the mouse has focus on.



Info:




  • It worked seamless for a good month and this behaviour happened just today.

  • Last thing I installed: Wine

  • Last settings I changed: Set gedit as default editor with Ubuntu Tweak

  • Keyboard: Logitech K270

  • Mouse: Logitech M705

  • Happens with laptop touchpad, too.

  • Happens on Unity and Gnome.

  • Rebooting does not fix this problem.

  • Cannot upgrade Ubuntu because I need to use ROS indigo.


I found other threads, where people had focus problems, but it was due to using gamer mice. And as I said, everything worked before.



Is there an easy way to fix this behavior? I cannot think of any cause and can barely work on Ubuntu like this.



Any help is appreciated.










share|improve this question


















  • 1





    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

    – heynnema
    Aug 6 '17 at 18:10











  • I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

    – S. M.
    Aug 7 '17 at 10:57














0












0








0








I'm using Ubuntu 14.04.5 LTS and my mouse and keyboard are behaving weird after login today and after opening one window (firefox, nautilus) and then the terminal (terminator). Mouse and keyboard are both focusing different windows and I cannot click another window or the unity logo, just the window the mouse has focus on.



Info:




  • It worked seamless for a good month and this behaviour happened just today.

  • Last thing I installed: Wine

  • Last settings I changed: Set gedit as default editor with Ubuntu Tweak

  • Keyboard: Logitech K270

  • Mouse: Logitech M705

  • Happens with laptop touchpad, too.

  • Happens on Unity and Gnome.

  • Rebooting does not fix this problem.

  • Cannot upgrade Ubuntu because I need to use ROS indigo.


I found other threads, where people had focus problems, but it was due to using gamer mice. And as I said, everything worked before.



Is there an easy way to fix this behavior? I cannot think of any cause and can barely work on Ubuntu like this.



Any help is appreciated.










share|improve this question














I'm using Ubuntu 14.04.5 LTS and my mouse and keyboard are behaving weird after login today and after opening one window (firefox, nautilus) and then the terminal (terminator). Mouse and keyboard are both focusing different windows and I cannot click another window or the unity logo, just the window the mouse has focus on.



Info:




  • It worked seamless for a good month and this behaviour happened just today.

  • Last thing I installed: Wine

  • Last settings I changed: Set gedit as default editor with Ubuntu Tweak

  • Keyboard: Logitech K270

  • Mouse: Logitech M705

  • Happens with laptop touchpad, too.

  • Happens on Unity and Gnome.

  • Rebooting does not fix this problem.

  • Cannot upgrade Ubuntu because I need to use ROS indigo.


I found other threads, where people had focus problems, but it was due to using gamer mice. And as I said, everything worked before.



Is there an easy way to fix this behavior? I cannot think of any cause and can barely work on Ubuntu like this.



Any help is appreciated.







14.04 windows keyboard mouse focus






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 6 '17 at 15:41









S. M.S. M.

31




31








  • 1





    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

    – heynnema
    Aug 6 '17 at 18:10











  • I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

    – S. M.
    Aug 7 '17 at 10:57














  • 1





    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

    – heynnema
    Aug 6 '17 at 18:10











  • I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

    – S. M.
    Aug 7 '17 at 10:57








1




1





Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

– heynnema
Aug 6 '17 at 18:10





Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to. Report back.

– heynnema
Aug 6 '17 at 18:10













I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

– S. M.
Aug 7 '17 at 10:57





I have two dongles. One for mouse (unifying dongle) and one normal dongle for the keyboard. After rebooting without the keyboard dongle, everything seems to work normal.

– S. M.
Aug 7 '17 at 10:57










2 Answers
2






active

oldest

votes


















0














From the comments...



Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to.



Unplugging the Logitech keyboard dongle allowed everything else to operate as normal.



For the unifying dongle, re-pair your Logitech mouse, and update the firmware in the dongle. Then retry the keyboard dongle again.



To upgrade the firmware in the Logitech unifying dongle, see https://community.logitech.com/s/question/0D531000055gw8YCAQ/logitech-response-to-unifying-receiver-research-findings for instructions and the firmware.



You might also check the USB settings in your BIOS. They may need to be set to USB 2.0, or legacy.



Lastly, you might have to plug the dongles directly into your computer's USB ports, instead of a hub (if you're using one).






share|improve this answer


























  • Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

    – S. M.
    Aug 8 '17 at 1:02











  • @S.M. The firmware update requires Windows to do the update.

    – heynnema
    Aug 8 '17 at 1:05





















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























    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%2f943601%2fubuntu-14-04-mouse-and-keyboard-focus-different-windows%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    From the comments...



    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to.



    Unplugging the Logitech keyboard dongle allowed everything else to operate as normal.



    For the unifying dongle, re-pair your Logitech mouse, and update the firmware in the dongle. Then retry the keyboard dongle again.



    To upgrade the firmware in the Logitech unifying dongle, see https://community.logitech.com/s/question/0D531000055gw8YCAQ/logitech-response-to-unifying-receiver-research-findings for instructions and the firmware.



    You might also check the USB settings in your BIOS. They may need to be set to USB 2.0, or legacy.



    Lastly, you might have to plug the dongles directly into your computer's USB ports, instead of a hub (if you're using one).






    share|improve this answer


























    • Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

      – S. M.
      Aug 8 '17 at 1:02











    • @S.M. The firmware update requires Windows to do the update.

      – heynnema
      Aug 8 '17 at 1:05


















    0














    From the comments...



    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to.



    Unplugging the Logitech keyboard dongle allowed everything else to operate as normal.



    For the unifying dongle, re-pair your Logitech mouse, and update the firmware in the dongle. Then retry the keyboard dongle again.



    To upgrade the firmware in the Logitech unifying dongle, see https://community.logitech.com/s/question/0D531000055gw8YCAQ/logitech-response-to-unifying-receiver-research-findings for instructions and the firmware.



    You might also check the USB settings in your BIOS. They may need to be set to USB 2.0, or legacy.



    Lastly, you might have to plug the dongles directly into your computer's USB ports, instead of a hub (if you're using one).






    share|improve this answer


























    • Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

      – S. M.
      Aug 8 '17 at 1:02











    • @S.M. The firmware update requires Windows to do the update.

      – heynnema
      Aug 8 '17 at 1:05
















    0












    0








    0







    From the comments...



    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to.



    Unplugging the Logitech keyboard dongle allowed everything else to operate as normal.



    For the unifying dongle, re-pair your Logitech mouse, and update the firmware in the dongle. Then retry the keyboard dongle again.



    To upgrade the firmware in the Logitech unifying dongle, see https://community.logitech.com/s/question/0D531000055gw8YCAQ/logitech-response-to-unifying-receiver-research-findings for instructions and the firmware.



    You might also check the USB settings in your BIOS. They may need to be set to USB 2.0, or legacy.



    Lastly, you might have to plug the dongles directly into your computer's USB ports, instead of a hub (if you're using one).






    share|improve this answer















    From the comments...



    Unplug the Logitech USB dongle, reboot, and see if the touchpad works normally. Open Language Settings and see what the keyboard input method is set to.



    Unplugging the Logitech keyboard dongle allowed everything else to operate as normal.



    For the unifying dongle, re-pair your Logitech mouse, and update the firmware in the dongle. Then retry the keyboard dongle again.



    To upgrade the firmware in the Logitech unifying dongle, see https://community.logitech.com/s/question/0D531000055gw8YCAQ/logitech-response-to-unifying-receiver-research-findings for instructions and the firmware.



    You might also check the USB settings in your BIOS. They may need to be set to USB 2.0, or legacy.



    Lastly, you might have to plug the dongles directly into your computer's USB ports, instead of a hub (if you're using one).







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Aug 7 '17 at 13:33

























    answered Aug 7 '17 at 13:27









    heynnemaheynnema

    18.2k22054




    18.2k22054













    • Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

      – S. M.
      Aug 8 '17 at 1:02











    • @S.M. The firmware update requires Windows to do the update.

      – heynnema
      Aug 8 '17 at 1:05





















    • Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

      – S. M.
      Aug 8 '17 at 1:02











    • @S.M. The firmware update requires Windows to do the update.

      – heynnema
      Aug 8 '17 at 1:05



















    Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

    – S. M.
    Aug 8 '17 at 1:02





    Thank you very much! I cannot see a way to upgrade the firmware for Ubuntu on the mentioned page, but it's not necessary, because I am using a different keyboard now and it works like a charm. I wouldn't have thought that a dongle can create such peculiar behavior on Ubuntu.

    – S. M.
    Aug 8 '17 at 1:02













    @S.M. The firmware update requires Windows to do the update.

    – heynnema
    Aug 8 '17 at 1:05







    @S.M. The firmware update requires Windows to do the update.

    – heynnema
    Aug 8 '17 at 1:05















    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:31









        ohwellohwell

        233




        233






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f943601%2fubuntu-14-04-mouse-and-keyboard-focus-different-windows%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

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei