Input delay when using two keyboards under Ubuntu 18.04 (Xorg)

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








up vote
4
down vote

favorite
2












Ubuntu 18.04. Due to the ergonomics benefit, I use two bluetooth keyboards at the same time for the same local machine. Under Ubuntu Wayland environment, typing works perfectly. Key strokes appear at once on the screen. But on Ubuntu (Xorg) environment, if only one keyboard, it works. But typing with two keyboards, left hand with the first keyboard, right hand with the second keyboard, display of characters on screen are delayed. Behavior is like ssh over slow network to a remote machine.



So now, I use Ubuntu Wayland for typing with two keyboards to work. How can I fix it works for Ubuntu (Xorg) too? Because I depend on Ubuntu Xorg for some applications like Skype, VMWare, etc... to function correctly.
Thanks







share|improve this question


























    up vote
    4
    down vote

    favorite
    2












    Ubuntu 18.04. Due to the ergonomics benefit, I use two bluetooth keyboards at the same time for the same local machine. Under Ubuntu Wayland environment, typing works perfectly. Key strokes appear at once on the screen. But on Ubuntu (Xorg) environment, if only one keyboard, it works. But typing with two keyboards, left hand with the first keyboard, right hand with the second keyboard, display of characters on screen are delayed. Behavior is like ssh over slow network to a remote machine.



    So now, I use Ubuntu Wayland for typing with two keyboards to work. How can I fix it works for Ubuntu (Xorg) too? Because I depend on Ubuntu Xorg for some applications like Skype, VMWare, etc... to function correctly.
    Thanks







    share|improve this question
























      up vote
      4
      down vote

      favorite
      2









      up vote
      4
      down vote

      favorite
      2






      2





      Ubuntu 18.04. Due to the ergonomics benefit, I use two bluetooth keyboards at the same time for the same local machine. Under Ubuntu Wayland environment, typing works perfectly. Key strokes appear at once on the screen. But on Ubuntu (Xorg) environment, if only one keyboard, it works. But typing with two keyboards, left hand with the first keyboard, right hand with the second keyboard, display of characters on screen are delayed. Behavior is like ssh over slow network to a remote machine.



      So now, I use Ubuntu Wayland for typing with two keyboards to work. How can I fix it works for Ubuntu (Xorg) too? Because I depend on Ubuntu Xorg for some applications like Skype, VMWare, etc... to function correctly.
      Thanks







      share|improve this question














      Ubuntu 18.04. Due to the ergonomics benefit, I use two bluetooth keyboards at the same time for the same local machine. Under Ubuntu Wayland environment, typing works perfectly. Key strokes appear at once on the screen. But on Ubuntu (Xorg) environment, if only one keyboard, it works. But typing with two keyboards, left hand with the first keyboard, right hand with the second keyboard, display of characters on screen are delayed. Behavior is like ssh over slow network to a remote machine.



      So now, I use Ubuntu Wayland for typing with two keyboards to work. How can I fix it works for Ubuntu (Xorg) too? Because I depend on Ubuntu Xorg for some applications like Skype, VMWare, etc... to function correctly.
      Thanks









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 13 at 22:54









      Byte Commander

      58.6k26158265




      58.6k26158265










      asked May 13 at 22:52









      Đan Điền Ngọc Huỳnh

      3113




      3113




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm facing exactly the same issue. I'm on a new Ubuntu 18.04 installation and I'm experiencing input lag from keyboard whenever my wireless keyboard is attached. Not only from the external keyboard but also from the built in laptop keyboard. As soon as I disattach the external one, the built in works fine.



          The bluetooth keyboard is not to blame since it worked just fine with my previous installation of Ubuntu 16.04.






          share|improve this answer




















          • It is better explain your experience with descriptive evidence .
            – Eranda Peiris
            May 19 at 15:19










          • For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
            – Amorim
            May 25 at 1:30


















          up vote
          0
          down vote













          After being annoyed by this bug for a long time, i started digging and found a workaround. The bug is only present when i'm using certain keyboard layouts ("Portugues (Brasil)") and was not present when i changed the layout to US and language to English (need to set them both to English).



          After some digging i found out the culprit is the ScrollLock key and that can be fixed by editing the layout file, which in my case is found at /usr/share/X11/xkb/symbols/br. The only modification i did was to remove or comment the line: modifier_map Mod3 Scroll_Lock ;
          After that, set the language and layout back to Portugues (Brasil) and the problem was gone!



          PS: I tried this on Fedora, but i believe it will work on Ubuntu.






          share|improve this answer










          New contributor




          Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.

















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1035882%2finput-delay-when-using-two-keyboards-under-ubuntu-18-04-xorg%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I'm facing exactly the same issue. I'm on a new Ubuntu 18.04 installation and I'm experiencing input lag from keyboard whenever my wireless keyboard is attached. Not only from the external keyboard but also from the built in laptop keyboard. As soon as I disattach the external one, the built in works fine.



            The bluetooth keyboard is not to blame since it worked just fine with my previous installation of Ubuntu 16.04.






            share|improve this answer




















            • It is better explain your experience with descriptive evidence .
              – Eranda Peiris
              May 19 at 15:19










            • For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
              – Amorim
              May 25 at 1:30















            up vote
            0
            down vote













            I'm facing exactly the same issue. I'm on a new Ubuntu 18.04 installation and I'm experiencing input lag from keyboard whenever my wireless keyboard is attached. Not only from the external keyboard but also from the built in laptop keyboard. As soon as I disattach the external one, the built in works fine.



            The bluetooth keyboard is not to blame since it worked just fine with my previous installation of Ubuntu 16.04.






            share|improve this answer




















            • It is better explain your experience with descriptive evidence .
              – Eranda Peiris
              May 19 at 15:19










            • For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
              – Amorim
              May 25 at 1:30













            up vote
            0
            down vote










            up vote
            0
            down vote









            I'm facing exactly the same issue. I'm on a new Ubuntu 18.04 installation and I'm experiencing input lag from keyboard whenever my wireless keyboard is attached. Not only from the external keyboard but also from the built in laptop keyboard. As soon as I disattach the external one, the built in works fine.



            The bluetooth keyboard is not to blame since it worked just fine with my previous installation of Ubuntu 16.04.






            share|improve this answer












            I'm facing exactly the same issue. I'm on a new Ubuntu 18.04 installation and I'm experiencing input lag from keyboard whenever my wireless keyboard is attached. Not only from the external keyboard but also from the built in laptop keyboard. As soon as I disattach the external one, the built in works fine.



            The bluetooth keyboard is not to blame since it worked just fine with my previous installation of Ubuntu 16.04.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 19 at 14:22









            Amorim

            12




            12











            • It is better explain your experience with descriptive evidence .
              – Eranda Peiris
              May 19 at 15:19










            • For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
              – Amorim
              May 25 at 1:30

















            • It is better explain your experience with descriptive evidence .
              – Eranda Peiris
              May 19 at 15:19










            • For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
              – Amorim
              May 25 at 1:30
















            It is better explain your experience with descriptive evidence .
            – Eranda Peiris
            May 19 at 15:19




            It is better explain your experience with descriptive evidence .
            – Eranda Peiris
            May 19 at 15:19












            For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
            – Amorim
            May 25 at 1:30





            For instance, when I use volume up/down using hotkeys it takes almost two seconds to work. If I do such with my wireless keyboard plugged, it works immediately.
            – Amorim
            May 25 at 1:30













            up vote
            0
            down vote













            After being annoyed by this bug for a long time, i started digging and found a workaround. The bug is only present when i'm using certain keyboard layouts ("Portugues (Brasil)") and was not present when i changed the layout to US and language to English (need to set them both to English).



            After some digging i found out the culprit is the ScrollLock key and that can be fixed by editing the layout file, which in my case is found at /usr/share/X11/xkb/symbols/br. The only modification i did was to remove or comment the line: modifier_map Mod3 Scroll_Lock ;
            After that, set the language and layout back to Portugues (Brasil) and the problem was gone!



            PS: I tried this on Fedora, but i believe it will work on Ubuntu.






            share|improve this answer










            New contributor




            Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















              up vote
              0
              down vote













              After being annoyed by this bug for a long time, i started digging and found a workaround. The bug is only present when i'm using certain keyboard layouts ("Portugues (Brasil)") and was not present when i changed the layout to US and language to English (need to set them both to English).



              After some digging i found out the culprit is the ScrollLock key and that can be fixed by editing the layout file, which in my case is found at /usr/share/X11/xkb/symbols/br. The only modification i did was to remove or comment the line: modifier_map Mod3 Scroll_Lock ;
              After that, set the language and layout back to Portugues (Brasil) and the problem was gone!



              PS: I tried this on Fedora, but i believe it will work on Ubuntu.






              share|improve this answer










              New contributor




              Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.



















                up vote
                0
                down vote










                up vote
                0
                down vote









                After being annoyed by this bug for a long time, i started digging and found a workaround. The bug is only present when i'm using certain keyboard layouts ("Portugues (Brasil)") and was not present when i changed the layout to US and language to English (need to set them both to English).



                After some digging i found out the culprit is the ScrollLock key and that can be fixed by editing the layout file, which in my case is found at /usr/share/X11/xkb/symbols/br. The only modification i did was to remove or comment the line: modifier_map Mod3 Scroll_Lock ;
                After that, set the language and layout back to Portugues (Brasil) and the problem was gone!



                PS: I tried this on Fedora, but i believe it will work on Ubuntu.






                share|improve this answer










                New contributor




                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                After being annoyed by this bug for a long time, i started digging and found a workaround. The bug is only present when i'm using certain keyboard layouts ("Portugues (Brasil)") and was not present when i changed the layout to US and language to English (need to set them both to English).



                After some digging i found out the culprit is the ScrollLock key and that can be fixed by editing the layout file, which in my case is found at /usr/share/X11/xkb/symbols/br. The only modification i did was to remove or comment the line: modifier_map Mod3 Scroll_Lock ;
                After that, set the language and layout back to Portugues (Brasil) and the problem was gone!



                PS: I tried this on Fedora, but i believe it will work on Ubuntu.







                share|improve this answer










                New contributor




                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited 22 hours ago





















                New contributor




                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 23 hours ago









                Pedro Palhares

                11




                11




                New contributor




                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Pedro Palhares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035882%2finput-delay-when-using-two-keyboards-under-ubuntu-18-04-xorg%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?