Emulate a scroll wheel click with three finger Click or Tap on MacBook trackpad and Magic Mouse
with macOS Sonoma14 support!
It's more than just
⌘
+click
System-wide
· close tabs by middleclicking on them
In Safari
· middleclicking on a link opens it in background
In Terminal
· paste selected text
Via 🍺 Homebrew Cask (Recommended)
brew install --cask --no-quarantine middleclick
Check out the cask if you're interested
Latest Release ·
Additionally, you may also view Earlier Releases
- Holding
⌘
, drag it away from the status bar until you see a ✖️ (cross icon) - Let it go
To recover the item, just open MiddleClick when it's already running
Make it open automatically when you log in
Just add MiddleClick to your "Login Items". (it's handy to be done using command line)
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/MiddleClick.app", hidden:true}'
- Want to use 4, 5 or 2 fingers for middleclicking? No trouble. Even 10 is possible.
defaults write com.rouge41.middleClick fingers 4
Default is 3
- The maximum distance the cursor can travel between touch and release for a tap to be considered valid.
- The position is normalized and values go from 0 to 1.
defaults write com.rouge41.middleClick maxDistanceDelta 0.03
Default is 0.05
- The maximum interval in milliseconds between touch and release for a tap to be considered valid.
defaults write com.rouge41.middleClick maxTimeDelta 150
Default is 300
- You can disable MiddleClick for certain app windows by providing a list of app bundles to ignore
defaults write com.rouge41.middleClick ignoredAppBundles -array com.microsoft.rdc.macos com.apple.Terminal
This fork differs from the base fork in some ways
- Configurations: Number of Fingers, Click or Tap
- preferred setting is saved for every user
- Removed old 32-bit/PowerPc
relaunch
binary due to it's incompatibility with macOS 10.15 Catalina and greater. Replaced with inline restarting of the app - The App will not only restart on waking the Mac, but when a new touch device is added (so it immediately gains middleclicking ability) and when a display is added/reconfigured (for proper click positioning)
- Quit an old version of MiddleClick
- Remove it from the privacy settings
- Enable the new version in privacy settings when prompted
The app should be closed when you change the privacy settings, otherwise the Mouse may not be clickable and you may have to
killall MiddleClick
via terminal or even force restart the Mac.
Credits
This project was made by Clément Beffa,
Extended by LoPablo
and artginzburg (it's me)