Magic Trackpad with Linux Mint

Based on good experiences using the trackpad on the Macbook Pro, I wondered about using such a device coupled with my desktop tower running Linux Mint 22.1 Xia. My research brought me to two devices, the Apple Magic Trackpad and the Logitech Touchpad T650.

I decided to drive to the Apple Store and purchase a Magic Trackpad. The purchase price was $149 and I literally grabbed the last one on the shelf that evening.

Trackpad in use

The Trackpad comes with a braided cloth USB-C cable, but due to the USB-C port on the monitor’s KVM being occupied I opted to connect the device to Linux via Bluetooth. Right out the gate the only thing I could do with the Trackpad was two-finger scrolling. One gesture I really like with trackpads/touchpads is using a two-finger press for right-clicking. To get the best support for the device, I installed the driver from the mr-cal GitHub page:

mr-cal GitHub Page

I followed the instructions for installing the GitHub Release. Immediately afterwords, I noticed that I had support for exposing the multiple desktop windows with the three-finger swipe up gesture. To setup the gestures the way I preferred, I used the Gestures application in Linux Mint (Start Menu, then type ‘Gestures’). In the Gestures application, I disabled the tap gestures, the same as I do on a Mac. I configured the four-finger swipes for the desktop workspace functions:

Gestures application, four-finger swipes configuration

The latency experienced when using the device connected via Bluetooth was simply unacceptable. I lean on the reasoning that this is a Linux issue as the device is design for compatibility with other Apple products. A much better experienced was achieved by connecting the Trackpad to the system through the monitor’s KVM using a USB-A-to-USB-C cable, with the C-end inserted into the trackpad and the A-end inserted into the KVM. Zero latency issues from that point forward. One thing to note is that the two-finger and five-finger gestures appear to be touchscreen-only in the Gestures application in Linux Mint.

However, one real sore spot remained that took me a few days to remedy: gestures in Firefox on Linux. On my Macbook, the gestures work automatically but not not so much in Mint. After days of research, I finally found a permanent one-liner solution via Reddit:

Screenshot of instructions

Making sure Firefox was closed, I performed steps 1 and 2. Upon logging back in, starting Firefox and going to Rumble.com to test the scrolling and swipe gestures, I was satisfied with the experience and declared victory for taming the Magic Trackpad on Linux 😃.