Logiops configuration file (logid.cfg) for Logitech Wireless Mobile Mouse MX Anywhere 2 mouse
# Ubuntu Or Debian
sudo apt-get install logiops
# Arch Linux
sudo pacman -S logiops
git clone https://github.com/vgocoder/logiops-config-mx-anywhere-2.git
cd logiops-config-mx-anywhere-2
cp logid.cfg /etc/logid.cfg
sudo systemctl start logid
sudo systemctl stop logid
sudo systemctl status logid
sudo systemctl restart logid
sudo logid -v
# Ubuntu Or Debian
sudo apt-get remove logiops
# Arch Linux
sudo pacman -R logiops
sudo systemctl enable --now logid
0x0050 (Left Mouse Button)
0x0051 (Right Mouse Button)
0x0052 (Middle Mouse Button)
0x0053 (Back Button)
0x0056 (Forward Button)
0x005b (Left Scroll)
0x005d (Right Scroll)
0x00d7 (Switch Receivers)