pwr-Solaar / Solaar

Linux device manager for Logitech devices
https://pwr-solaar.github.io/Solaar
GNU General Public License v2.0
5.4k stars 401 forks source link

How to set Alt + Tab behaviour with Mouse Gesture button on MX Master 3S #2579

Closed SrdjanMilic closed 1 month ago

SrdjanMilic commented 1 month ago

Is it possible to set Mouse Gesture to act as Alt + Tab for app switching? I'm using Arch Linux with Wayland and not sure if it possible at all or I can't figure out how to do so.

pfps commented 1 month ago

You need to have a rule that is sensitive to the mouse gesture and simulates the input. You should be able to do this under Wayland if the special Solaar Wayland udev rule is installed.

SrdjanMilic commented 1 month ago

Is this the way to install udev rule you have mention?

image

pfps commented 1 month ago

The special Wayland rule also adds permissions to /dev/uinput. See https://pwr-solaar.github.io/Solaar/installation/ for more information.

SrdjanMilic commented 1 month ago

OK. I've created that rule. What options should I set within the app? image image

pfps commented 1 month ago

You have to have the Mouse Gesture Button set to Mouse Gestures.

But you can't access modifiers in Wayland. This is one of Wayland's security features.

SrdjanMilic commented 1 month ago

So, it can not be done under Wayland. Thank you very much for your help and time! 🙏

SrdjanMilic commented 1 month ago

This is the settings that works perfectly under Linux Mint (no Wayland):

image