Configuring Thumb Button on M720 Under Ubuntu

The most usable function I found for my mouse thumb button is actually Minimize window. When you combine it with Alt+Tab, it does wonders for fast window switching. Under Windows it's trivial to configure this within Logitech Options. While not as easy in Linux, it's actually not that hard either.

Since the Thumb button on most Logitech's devices is not a mouse button but a key combination, we can use Ubuntu's built-in Keyboard utility instead of remapping buttons. Or we can do it from command line equally easy:

Termnal
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Primary><Alt>Tab']"

If you really want to have quick switching, you might want to also disable animations:

Termnal
gsettings set org.gnome.desktop.interface enable-animations false

With those two changes you have your thumb button configured.

PS: And yes, this works for MX Master too.

5 thoughts to “Configuring Thumb Button on M720 Under Ubuntu”

  1. do you know how to bind to an actual mouse button? I can’t find the syntax to specify a button like mouse button 10.

  2. I scoured the Internet to find the keycode for that thumb button, before I land here. Thank you for writing it out for us: “[‘Tab’]”
    `xev` only shows the release of Ctrl and Alt, so it confuses me for a while.

Leave a Reply to Anonymous Cancel reply

Your email address will not be published. Required fields are marked *