Wanted to report back on some research and success enabling middle click action.
deepin doesn’t use libinput-gestures nor gesture-manager, although this is probably the correct answer on vanilla arch.
Deepin uses a built in touchpad solution controlled by dde-daemon. All touchpad gestures are controlled by the file /usr/share/dde-daemon/gesture.json. To enable middle click via 3-finger tap, add the following entry in the json array:
{
"Name": "tap",
"Direction": "none",
"Fingers": 3,
"Action": {
"Type": "commandline",
"Action": "xdotool click 2"
}
}
Ensure xdotool is installed, which passes command line actions to the X server. Logging out and in didn’t seem to enable it for me, but rebooting did.
Including the entire /usr/share/dde-daemon/gesture.json file for reference. As a bonus, this also lists all available multitouch gestures and what they do.
Got this somewhere from the Internet. The gestures worked for me though I think they only handle touchpad multi touch gestures for switching between multiple desktops and not browser specifically. Something like what Mac OS does for fullscreen windows