Logitech Mouse Settings
Multiple programs can be used.
Piper
worked for me.
Need libratbag installed: (may already be installed)
sudo apt install ratbagd (may not need sudo)
To install piper: sudo apt install piper
More detailed directions if needed