Logitech MX Master Thumb Button with Ubuntu











up vote
10
down vote

favorite
5












Goal



I would like to get the Thumb Button on my Logitech MX Master mouse to work under Ubuntu 17.10. Specifically, I want it to serve as a "Meta" key, by which I mean pressing it will show me all the open programs at that moment (this is called exposé in Mac computers).



I'm pretty stuck at this point. I'm not an advanced user, and need some help. Thank you in advance!



What I have tried so far:




  • I have attempted to follow this guide. I installed xbindkeys, xautomation, and x11-utils. Unfortunately, because the thumb button does not emit a specific button press in xev, I am unable to move forward.

  • I have also tried using this guide, found in the Arch Linux forums. The author correctly identifies that the button is not received as a button, but rather seems to be some synthetic key press. I tried copying & pasting, but it didn't work.


Xev Results



These are the results that I receive when I use xev to map the input generated by the thumb button press.



FocusOut event, serial 38, synthetic NO, window 0x5000001,
mode NotifyUngrab, detail NotifyPointer

LeaveNotify event, serial 38, synthetic NO, window 0x5000001,
root 0x2a1, subw 0x0, time 18824278, (162,35), root:(1276,64),
mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
focus NO, state 20

EnterNotify event, serial 38, synthetic NO, window 0x5000001,
root 0x2a1, subw 0x0, time 18824342, (162,35), root:(1276,64),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus NO, state 16

KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

FocusIn event, serial 38, synthetic NO, window 0x5000001,
mode NotifyGrab, detail NotifyPointer

KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 4294967201 0 4294967168 0 32 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0









share|improve this question


























    up vote
    10
    down vote

    favorite
    5












    Goal



    I would like to get the Thumb Button on my Logitech MX Master mouse to work under Ubuntu 17.10. Specifically, I want it to serve as a "Meta" key, by which I mean pressing it will show me all the open programs at that moment (this is called exposé in Mac computers).



    I'm pretty stuck at this point. I'm not an advanced user, and need some help. Thank you in advance!



    What I have tried so far:




    • I have attempted to follow this guide. I installed xbindkeys, xautomation, and x11-utils. Unfortunately, because the thumb button does not emit a specific button press in xev, I am unable to move forward.

    • I have also tried using this guide, found in the Arch Linux forums. The author correctly identifies that the button is not received as a button, but rather seems to be some synthetic key press. I tried copying & pasting, but it didn't work.


    Xev Results



    These are the results that I receive when I use xev to map the input generated by the thumb button press.



    FocusOut event, serial 38, synthetic NO, window 0x5000001,
    mode NotifyUngrab, detail NotifyPointer

    LeaveNotify event, serial 38, synthetic NO, window 0x5000001,
    root 0x2a1, subw 0x0, time 18824278, (162,35), root:(1276,64),
    mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
    focus NO, state 20

    EnterNotify event, serial 38, synthetic NO, window 0x5000001,
    root 0x2a1, subw 0x0, time 18824342, (162,35), root:(1276,64),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 16

    KeymapNotify event, serial 38, synthetic NO, window 0x0,
    keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    FocusIn event, serial 38, synthetic NO, window 0x5000001,
    mode NotifyGrab, detail NotifyPointer

    KeymapNotify event, serial 38, synthetic NO, window 0x0,
    keys: 4294967201 0 4294967168 0 32 0 0 0 1 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0









    share|improve this question
























      up vote
      10
      down vote

      favorite
      5









      up vote
      10
      down vote

      favorite
      5






      5





      Goal



      I would like to get the Thumb Button on my Logitech MX Master mouse to work under Ubuntu 17.10. Specifically, I want it to serve as a "Meta" key, by which I mean pressing it will show me all the open programs at that moment (this is called exposé in Mac computers).



      I'm pretty stuck at this point. I'm not an advanced user, and need some help. Thank you in advance!



      What I have tried so far:




      • I have attempted to follow this guide. I installed xbindkeys, xautomation, and x11-utils. Unfortunately, because the thumb button does not emit a specific button press in xev, I am unable to move forward.

      • I have also tried using this guide, found in the Arch Linux forums. The author correctly identifies that the button is not received as a button, but rather seems to be some synthetic key press. I tried copying & pasting, but it didn't work.


      Xev Results



      These are the results that I receive when I use xev to map the input generated by the thumb button press.



      FocusOut event, serial 38, synthetic NO, window 0x5000001,
      mode NotifyUngrab, detail NotifyPointer

      LeaveNotify event, serial 38, synthetic NO, window 0x5000001,
      root 0x2a1, subw 0x0, time 18824278, (162,35), root:(1276,64),
      mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
      focus NO, state 20

      EnterNotify event, serial 38, synthetic NO, window 0x5000001,
      root 0x2a1, subw 0x0, time 18824342, (162,35), root:(1276,64),
      mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
      focus NO, state 16

      KeymapNotify event, serial 38, synthetic NO, window 0x0,
      keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

      FocusIn event, serial 38, synthetic NO, window 0x5000001,
      mode NotifyGrab, detail NotifyPointer

      KeymapNotify event, serial 38, synthetic NO, window 0x0,
      keys: 4294967201 0 4294967168 0 32 0 0 0 1 0 0 0 0 0 0 0
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0









      share|improve this question













      Goal



      I would like to get the Thumb Button on my Logitech MX Master mouse to work under Ubuntu 17.10. Specifically, I want it to serve as a "Meta" key, by which I mean pressing it will show me all the open programs at that moment (this is called exposé in Mac computers).



      I'm pretty stuck at this point. I'm not an advanced user, and need some help. Thank you in advance!



      What I have tried so far:




      • I have attempted to follow this guide. I installed xbindkeys, xautomation, and x11-utils. Unfortunately, because the thumb button does not emit a specific button press in xev, I am unable to move forward.

      • I have also tried using this guide, found in the Arch Linux forums. The author correctly identifies that the button is not received as a button, but rather seems to be some synthetic key press. I tried copying & pasting, but it didn't work.


      Xev Results



      These are the results that I receive when I use xev to map the input generated by the thumb button press.



      FocusOut event, serial 38, synthetic NO, window 0x5000001,
      mode NotifyUngrab, detail NotifyPointer

      LeaveNotify event, serial 38, synthetic NO, window 0x5000001,
      root 0x2a1, subw 0x0, time 18824278, (162,35), root:(1276,64),
      mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
      focus NO, state 20

      EnterNotify event, serial 38, synthetic NO, window 0x5000001,
      root 0x2a1, subw 0x0, time 18824342, (162,35), root:(1276,64),
      mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
      focus NO, state 16

      KeymapNotify event, serial 38, synthetic NO, window 0x0,
      keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

      FocusIn event, serial 38, synthetic NO, window 0x5000001,
      mode NotifyGrab, detail NotifyPointer

      KeymapNotify event, serial 38, synthetic NO, window 0x0,
      keys: 4294967201 0 4294967168 0 32 0 0 0 1 0 0 0 0 0 0 0
      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0






      mouse logitech xbindkeys






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 7 '17 at 2:21









      Yasha

      15114




      15114






















          6 Answers
          6






          active

          oldest

          votes

















          up vote
          2
          down vote













          By default, a Ctrl+Alt+Tab event is sent after releasing the thumb button.



          Since this shortcut is not really useful for me I managed to add a new action for it thanks to xautomation (sudo apt-get install xautomation) :




          • Go to Settings > Keyboard > Shortcut and add a new personal shortcut.

          • Give it the name you want and the following command : xte 'usleep 100000' 'keydown Super_L' 'key S' 'keyup Super_L'

          • Click on your new shortcut to assign a new trigger and press the thumb button (or press Ctrl+Alt+Tab)


          That's it !






          share|improve this answer




























            up vote
            1
            down vote













            With a Logitech Master MX 2s, I am using @Jdlm 's approach above but with a simpler command binding:




            xte 'key Super_L'




            This is working fine in ubuntu 18.04, and is a bit more snappy than the original answer






            share|improve this answer




























              up vote
              1
              down vote













              The command xbindkeys -k helps you to determine what you need to set in its config file under ~/.xbindkeysrc.



              An example entry:



              # Logitech special thumb button
              "/usr/bin/xdotool key Super_L+c"
              m:0x1c + c:23
              Control+Alt+Mod2 + Tab


              It helps you to make use of this special thumb button.



              The example turns the special button into a Win+C, which shows all open windows on my desktop.



              xbindkeys



              xbindkeys is a program that allows you to launch shell commands with
              your keyboard or your mouse under the X Window System.
              It links commands to keys or mouse buttons, using a configuration file.
              It's independent of the window manager and can capture all keyboard keys
              (ex: Power, Wake...).



              It optionally supports a guile-based configuration file layout, which enables
              you to access all xbindkeys internals, so you can have key combinations,
              double clicks or timed double clicks take actions. Also all functions that work
              in guile will work for xbindkeys.



              To install xbindkeys type:



               sudo apt install xbindkeys





              share|improve this answer






























                up vote
                1
                down vote













                I managed to fix it, as you guys mentioned the thumb button on this model triggers the Control + Right Alt (aka AltGr) + Tab combination in linux.
                So go to Settings > Keyboard > select Navigation Switch system controls
                Change its shortcut to some other key binding and replace the default. (I changed to Shift + Control + Tab)
                Once you replaced this binding (Control + Right-Alt (aka AltGr) + Tab) with a new one, this combination (and the thumb button) is available to be set on another shortcut option.
                Move to System Show the overview and set a new shortcut, do this clicking on the MX's thumb button.
                No dependencies on any configuration edit is needed, it works like a charm on Ubuntu 18.04 LTS.






                share|improve this answer




























                  up vote
                  0
                  down vote













                  Seems like thumb button on MX Master sends Ctrl+Alt+Tab shortcut as you release it in Linux.



                  So you may install



                  sudo apt-get install compizconfig-settings-manager


                  Launch it and then go to > Window Management > Scale > Bindings > Initiate Window Scale



                  You should change keyboard shortcut since Thumb button is basically keyboard emulation and map it to Ctrl+Alt+Tab.



                  Note: it will replace your current Ctrl+Alt+Tab behaviour which is set to Switch to next window by default.






                  share|improve this answer




























                    up vote
                    0
                    down vote













                    I used the same answer as @Jdlm, but whenever I went to reassign the CTRL+ALT+TAB shortcut, it kept triggering it.



                    I had to switch the Switch System Controls shortcut under navigation so it wouldn't be triggered. After that, I could reassign it to whichever xte shortcut I wanted.






                    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',
                      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%2f973713%2flogitech-mx-master-thumb-button-with-ubuntu%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown

























                      6 Answers
                      6






                      active

                      oldest

                      votes








                      6 Answers
                      6






                      active

                      oldest

                      votes









                      active

                      oldest

                      votes






                      active

                      oldest

                      votes








                      up vote
                      2
                      down vote













                      By default, a Ctrl+Alt+Tab event is sent after releasing the thumb button.



                      Since this shortcut is not really useful for me I managed to add a new action for it thanks to xautomation (sudo apt-get install xautomation) :




                      • Go to Settings > Keyboard > Shortcut and add a new personal shortcut.

                      • Give it the name you want and the following command : xte 'usleep 100000' 'keydown Super_L' 'key S' 'keyup Super_L'

                      • Click on your new shortcut to assign a new trigger and press the thumb button (or press Ctrl+Alt+Tab)


                      That's it !






                      share|improve this answer

























                        up vote
                        2
                        down vote













                        By default, a Ctrl+Alt+Tab event is sent after releasing the thumb button.



                        Since this shortcut is not really useful for me I managed to add a new action for it thanks to xautomation (sudo apt-get install xautomation) :




                        • Go to Settings > Keyboard > Shortcut and add a new personal shortcut.

                        • Give it the name you want and the following command : xte 'usleep 100000' 'keydown Super_L' 'key S' 'keyup Super_L'

                        • Click on your new shortcut to assign a new trigger and press the thumb button (or press Ctrl+Alt+Tab)


                        That's it !






                        share|improve this answer























                          up vote
                          2
                          down vote










                          up vote
                          2
                          down vote









                          By default, a Ctrl+Alt+Tab event is sent after releasing the thumb button.



                          Since this shortcut is not really useful for me I managed to add a new action for it thanks to xautomation (sudo apt-get install xautomation) :




                          • Go to Settings > Keyboard > Shortcut and add a new personal shortcut.

                          • Give it the name you want and the following command : xte 'usleep 100000' 'keydown Super_L' 'key S' 'keyup Super_L'

                          • Click on your new shortcut to assign a new trigger and press the thumb button (or press Ctrl+Alt+Tab)


                          That's it !






                          share|improve this answer












                          By default, a Ctrl+Alt+Tab event is sent after releasing the thumb button.



                          Since this shortcut is not really useful for me I managed to add a new action for it thanks to xautomation (sudo apt-get install xautomation) :




                          • Go to Settings > Keyboard > Shortcut and add a new personal shortcut.

                          • Give it the name you want and the following command : xte 'usleep 100000' 'keydown Super_L' 'key S' 'keyup Super_L'

                          • Click on your new shortcut to assign a new trigger and press the thumb button (or press Ctrl+Alt+Tab)


                          That's it !







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 25 at 9:40









                          Jdlm

                          212




                          212
























                              up vote
                              1
                              down vote













                              With a Logitech Master MX 2s, I am using @Jdlm 's approach above but with a simpler command binding:




                              xte 'key Super_L'




                              This is working fine in ubuntu 18.04, and is a bit more snappy than the original answer






                              share|improve this answer

























                                up vote
                                1
                                down vote













                                With a Logitech Master MX 2s, I am using @Jdlm 's approach above but with a simpler command binding:




                                xte 'key Super_L'




                                This is working fine in ubuntu 18.04, and is a bit more snappy than the original answer






                                share|improve this answer























                                  up vote
                                  1
                                  down vote










                                  up vote
                                  1
                                  down vote









                                  With a Logitech Master MX 2s, I am using @Jdlm 's approach above but with a simpler command binding:




                                  xte 'key Super_L'




                                  This is working fine in ubuntu 18.04, and is a bit more snappy than the original answer






                                  share|improve this answer












                                  With a Logitech Master MX 2s, I am using @Jdlm 's approach above but with a simpler command binding:




                                  xte 'key Super_L'




                                  This is working fine in ubuntu 18.04, and is a bit more snappy than the original answer







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Aug 8 at 4:05









                                  Ari

                                  111




                                  111






















                                      up vote
                                      1
                                      down vote













                                      The command xbindkeys -k helps you to determine what you need to set in its config file under ~/.xbindkeysrc.



                                      An example entry:



                                      # Logitech special thumb button
                                      "/usr/bin/xdotool key Super_L+c"
                                      m:0x1c + c:23
                                      Control+Alt+Mod2 + Tab


                                      It helps you to make use of this special thumb button.



                                      The example turns the special button into a Win+C, which shows all open windows on my desktop.



                                      xbindkeys



                                      xbindkeys is a program that allows you to launch shell commands with
                                      your keyboard or your mouse under the X Window System.
                                      It links commands to keys or mouse buttons, using a configuration file.
                                      It's independent of the window manager and can capture all keyboard keys
                                      (ex: Power, Wake...).



                                      It optionally supports a guile-based configuration file layout, which enables
                                      you to access all xbindkeys internals, so you can have key combinations,
                                      double clicks or timed double clicks take actions. Also all functions that work
                                      in guile will work for xbindkeys.



                                      To install xbindkeys type:



                                       sudo apt install xbindkeys





                                      share|improve this answer



























                                        up vote
                                        1
                                        down vote













                                        The command xbindkeys -k helps you to determine what you need to set in its config file under ~/.xbindkeysrc.



                                        An example entry:



                                        # Logitech special thumb button
                                        "/usr/bin/xdotool key Super_L+c"
                                        m:0x1c + c:23
                                        Control+Alt+Mod2 + Tab


                                        It helps you to make use of this special thumb button.



                                        The example turns the special button into a Win+C, which shows all open windows on my desktop.



                                        xbindkeys



                                        xbindkeys is a program that allows you to launch shell commands with
                                        your keyboard or your mouse under the X Window System.
                                        It links commands to keys or mouse buttons, using a configuration file.
                                        It's independent of the window manager and can capture all keyboard keys
                                        (ex: Power, Wake...).



                                        It optionally supports a guile-based configuration file layout, which enables
                                        you to access all xbindkeys internals, so you can have key combinations,
                                        double clicks or timed double clicks take actions. Also all functions that work
                                        in guile will work for xbindkeys.



                                        To install xbindkeys type:



                                         sudo apt install xbindkeys





                                        share|improve this answer

























                                          up vote
                                          1
                                          down vote










                                          up vote
                                          1
                                          down vote









                                          The command xbindkeys -k helps you to determine what you need to set in its config file under ~/.xbindkeysrc.



                                          An example entry:



                                          # Logitech special thumb button
                                          "/usr/bin/xdotool key Super_L+c"
                                          m:0x1c + c:23
                                          Control+Alt+Mod2 + Tab


                                          It helps you to make use of this special thumb button.



                                          The example turns the special button into a Win+C, which shows all open windows on my desktop.



                                          xbindkeys



                                          xbindkeys is a program that allows you to launch shell commands with
                                          your keyboard or your mouse under the X Window System.
                                          It links commands to keys or mouse buttons, using a configuration file.
                                          It's independent of the window manager and can capture all keyboard keys
                                          (ex: Power, Wake...).



                                          It optionally supports a guile-based configuration file layout, which enables
                                          you to access all xbindkeys internals, so you can have key combinations,
                                          double clicks or timed double clicks take actions. Also all functions that work
                                          in guile will work for xbindkeys.



                                          To install xbindkeys type:



                                           sudo apt install xbindkeys





                                          share|improve this answer














                                          The command xbindkeys -k helps you to determine what you need to set in its config file under ~/.xbindkeysrc.



                                          An example entry:



                                          # Logitech special thumb button
                                          "/usr/bin/xdotool key Super_L+c"
                                          m:0x1c + c:23
                                          Control+Alt+Mod2 + Tab


                                          It helps you to make use of this special thumb button.



                                          The example turns the special button into a Win+C, which shows all open windows on my desktop.



                                          xbindkeys



                                          xbindkeys is a program that allows you to launch shell commands with
                                          your keyboard or your mouse under the X Window System.
                                          It links commands to keys or mouse buttons, using a configuration file.
                                          It's independent of the window manager and can capture all keyboard keys
                                          (ex: Power, Wake...).



                                          It optionally supports a guile-based configuration file layout, which enables
                                          you to access all xbindkeys internals, so you can have key combinations,
                                          double clicks or timed double clicks take actions. Also all functions that work
                                          in guile will work for xbindkeys.



                                          To install xbindkeys type:



                                           sudo apt install xbindkeys






                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Aug 30 at 17:39









                                          abu_bua

                                          3,16081023




                                          3,16081023










                                          answered Aug 30 at 17:02









                                          Gábor G.

                                          111




                                          111






















                                              up vote
                                              1
                                              down vote













                                              I managed to fix it, as you guys mentioned the thumb button on this model triggers the Control + Right Alt (aka AltGr) + Tab combination in linux.
                                              So go to Settings > Keyboard > select Navigation Switch system controls
                                              Change its shortcut to some other key binding and replace the default. (I changed to Shift + Control + Tab)
                                              Once you replaced this binding (Control + Right-Alt (aka AltGr) + Tab) with a new one, this combination (and the thumb button) is available to be set on another shortcut option.
                                              Move to System Show the overview and set a new shortcut, do this clicking on the MX's thumb button.
                                              No dependencies on any configuration edit is needed, it works like a charm on Ubuntu 18.04 LTS.






                                              share|improve this answer

























                                                up vote
                                                1
                                                down vote













                                                I managed to fix it, as you guys mentioned the thumb button on this model triggers the Control + Right Alt (aka AltGr) + Tab combination in linux.
                                                So go to Settings > Keyboard > select Navigation Switch system controls
                                                Change its shortcut to some other key binding and replace the default. (I changed to Shift + Control + Tab)
                                                Once you replaced this binding (Control + Right-Alt (aka AltGr) + Tab) with a new one, this combination (and the thumb button) is available to be set on another shortcut option.
                                                Move to System Show the overview and set a new shortcut, do this clicking on the MX's thumb button.
                                                No dependencies on any configuration edit is needed, it works like a charm on Ubuntu 18.04 LTS.






                                                share|improve this answer























                                                  up vote
                                                  1
                                                  down vote










                                                  up vote
                                                  1
                                                  down vote









                                                  I managed to fix it, as you guys mentioned the thumb button on this model triggers the Control + Right Alt (aka AltGr) + Tab combination in linux.
                                                  So go to Settings > Keyboard > select Navigation Switch system controls
                                                  Change its shortcut to some other key binding and replace the default. (I changed to Shift + Control + Tab)
                                                  Once you replaced this binding (Control + Right-Alt (aka AltGr) + Tab) with a new one, this combination (and the thumb button) is available to be set on another shortcut option.
                                                  Move to System Show the overview and set a new shortcut, do this clicking on the MX's thumb button.
                                                  No dependencies on any configuration edit is needed, it works like a charm on Ubuntu 18.04 LTS.






                                                  share|improve this answer












                                                  I managed to fix it, as you guys mentioned the thumb button on this model triggers the Control + Right Alt (aka AltGr) + Tab combination in linux.
                                                  So go to Settings > Keyboard > select Navigation Switch system controls
                                                  Change its shortcut to some other key binding and replace the default. (I changed to Shift + Control + Tab)
                                                  Once you replaced this binding (Control + Right-Alt (aka AltGr) + Tab) with a new one, this combination (and the thumb button) is available to be set on another shortcut option.
                                                  Move to System Show the overview and set a new shortcut, do this clicking on the MX's thumb button.
                                                  No dependencies on any configuration edit is needed, it works like a charm on Ubuntu 18.04 LTS.







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Oct 31 at 19:28









                                                  Danilo de Queiroz

                                                  111




                                                  111






















                                                      up vote
                                                      0
                                                      down vote













                                                      Seems like thumb button on MX Master sends Ctrl+Alt+Tab shortcut as you release it in Linux.



                                                      So you may install



                                                      sudo apt-get install compizconfig-settings-manager


                                                      Launch it and then go to > Window Management > Scale > Bindings > Initiate Window Scale



                                                      You should change keyboard shortcut since Thumb button is basically keyboard emulation and map it to Ctrl+Alt+Tab.



                                                      Note: it will replace your current Ctrl+Alt+Tab behaviour which is set to Switch to next window by default.






                                                      share|improve this answer

























                                                        up vote
                                                        0
                                                        down vote













                                                        Seems like thumb button on MX Master sends Ctrl+Alt+Tab shortcut as you release it in Linux.



                                                        So you may install



                                                        sudo apt-get install compizconfig-settings-manager


                                                        Launch it and then go to > Window Management > Scale > Bindings > Initiate Window Scale



                                                        You should change keyboard shortcut since Thumb button is basically keyboard emulation and map it to Ctrl+Alt+Tab.



                                                        Note: it will replace your current Ctrl+Alt+Tab behaviour which is set to Switch to next window by default.






                                                        share|improve this answer























                                                          up vote
                                                          0
                                                          down vote










                                                          up vote
                                                          0
                                                          down vote









                                                          Seems like thumb button on MX Master sends Ctrl+Alt+Tab shortcut as you release it in Linux.



                                                          So you may install



                                                          sudo apt-get install compizconfig-settings-manager


                                                          Launch it and then go to > Window Management > Scale > Bindings > Initiate Window Scale



                                                          You should change keyboard shortcut since Thumb button is basically keyboard emulation and map it to Ctrl+Alt+Tab.



                                                          Note: it will replace your current Ctrl+Alt+Tab behaviour which is set to Switch to next window by default.






                                                          share|improve this answer












                                                          Seems like thumb button on MX Master sends Ctrl+Alt+Tab shortcut as you release it in Linux.



                                                          So you may install



                                                          sudo apt-get install compizconfig-settings-manager


                                                          Launch it and then go to > Window Management > Scale > Bindings > Initiate Window Scale



                                                          You should change keyboard shortcut since Thumb button is basically keyboard emulation and map it to Ctrl+Alt+Tab.



                                                          Note: it will replace your current Ctrl+Alt+Tab behaviour which is set to Switch to next window by default.







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Dec 19 '17 at 15:13









                                                          conscio

                                                          1




                                                          1






















                                                              up vote
                                                              0
                                                              down vote













                                                              I used the same answer as @Jdlm, but whenever I went to reassign the CTRL+ALT+TAB shortcut, it kept triggering it.



                                                              I had to switch the Switch System Controls shortcut under navigation so it wouldn't be triggered. After that, I could reassign it to whichever xte shortcut I wanted.






                                                              share|improve this answer



























                                                                up vote
                                                                0
                                                                down vote













                                                                I used the same answer as @Jdlm, but whenever I went to reassign the CTRL+ALT+TAB shortcut, it kept triggering it.



                                                                I had to switch the Switch System Controls shortcut under navigation so it wouldn't be triggered. After that, I could reassign it to whichever xte shortcut I wanted.






                                                                share|improve this answer

























                                                                  up vote
                                                                  0
                                                                  down vote










                                                                  up vote
                                                                  0
                                                                  down vote









                                                                  I used the same answer as @Jdlm, but whenever I went to reassign the CTRL+ALT+TAB shortcut, it kept triggering it.



                                                                  I had to switch the Switch System Controls shortcut under navigation so it wouldn't be triggered. After that, I could reassign it to whichever xte shortcut I wanted.






                                                                  share|improve this answer














                                                                  I used the same answer as @Jdlm, but whenever I went to reassign the CTRL+ALT+TAB shortcut, it kept triggering it.



                                                                  I had to switch the Switch System Controls shortcut under navigation so it wouldn't be triggered. After that, I could reassign it to whichever xte shortcut I wanted.







                                                                  share|improve this answer














                                                                  share|improve this answer



                                                                  share|improve this answer








                                                                  edited Dec 4 at 21:15









                                                                  zx485

                                                                  1,45231114




                                                                  1,45231114










                                                                  answered Dec 4 at 19:59









                                                                  Jonathan Linford

                                                                  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%2f973713%2flogitech-mx-master-thumb-button-with-ubuntu%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

                                                                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                                                      Mangá

                                                                       ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕