The Logitech MX Master mouse is one of the best mice on the market, and it's great for productivity - on Windows and Mac, anyway. Developers who work in Linux don't get the first-party Logitech Options driver that allows them to make custom key mappings.
Despite their $2.5 billion annual revenue and the popularity of their mice, Logitech still has not developed Linux drivers for their mice.
So, in lieu of actual Logitech drivers, I made a script to work around this. See Github repo Logitech-MX-Master-Key-Mapper-Linux.
Debian Linux mappings for Logitech MX Master
This script installs a few packages for key binding mappings, and then copies over a .xbindkeysrc
file to the home directory - this is used by xbindkeys
to configure key mappings.
I used the ArchLinux wiki for reference.
Running the Program
To run the program, grant setup.sh executable permissions, and then run it.
chmod +x setup.sh
./setup.sh
Compatibility
This has been tested on Ubuntu 18.04, a Debian distribution of Linux. It has also been tested with the Logitech MX Master, and Logitech MX Master 2S.