Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artginzburg/middleclick-sonoma

 "Wheel click" with three-finger click/tap for Trackpad and Magic Mouse.
https://github.com/artginzburg/middleclick-sonoma

64-bit macos middleclick

Last synced: about 1 month ago
JSON representation

 "Wheel click" with three-finger click/tap for Trackpad and Magic Mouse.

Awesome Lists containing this project

README

        





MiddleClick



Emulate a scroll wheel click with three finger Click or Tap on MacBook trackpad and Magic Mouse



with macOS Sonoma14 support!




:mag: Usage

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


## Install

### Via :beer: [Homebrew Cask](//brew.sh) (Recommended)

```ps1
brew install --cask --no-quarantine middleclick
```

> Check out [the cask](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/m/middleclick.rb) if you're interested

### Direct Download



Latest Release
&nbsp·&nbsp

GitHub release

> Additionally, you may also view Earlier Releases


### Hide Status Bar Item

1. Holding `⌘`, drag it away from the status bar until you see a :heavy_multiplication_x: (cross icon)
2. Let it go

> To recover the item, just open MiddleClick when it's already running

### Add Login Item

> Make it open automatically when you log in

Just add MiddleClick to your "Login Items".

(it's handy to be done using command line)

```ps1
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/MiddleClick.app", hidden:true}'
```

## Preferences

### Number of Fingers

- Want to use 4, 5 or 2 fingers for middleclicking? No trouble. Even 10 is possible.

```ps1
defaults write com.rouge41.middleClick fingers 4
```

> Default is 3

### Tapping preferences

#### Max Distance Delta

- 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.

```ps1
defaults write com.rouge41.middleClick maxDistanceDelta 0.03
```

> Default is 0.05

#### Max Time Delta

- The maximum interval in milliseconds between touch and release for a tap to be considered valid.

```ps1
defaults write com.rouge41.middleClick maxTimeDelta 150
```

> Default is 300

---

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)

#### Attention! Make sure to:

1. Quit an old version of MiddleClick
2. Remove it from the privacy settings
3. 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](//clement.beffa.org/),

Extended by [LoPablo](//github.com/LoPablo)

and [artginzburg](//github.com/artginzburg) (it's me)