# ed mouse

> ed mouse is the command-line surface for the Mouse Tuner page under Mac Utilities.

- Canonical URL: https://getedith.pro/docs/cli/mouse
- Updated: 2026-12-02

`ed mouse` is the command-line surface for the Mouse Tuner page under Mac Utilities. It turns Mouse Tuner on and off, assigns button actions, keeps per-device profiles and lists the apps left alone. Scroll speed, glide time, linear scrolling, scroll direction, the sideways modifier, pointer acceleration, the drag gesture, the click filter and the three-finger middle click are settings, changed in Mouse Tuner settings or with `ed config`.

[The `ed` command line](https://getedith.pro/docs/cli)

| Command | What it does |
| --- | --- |
| [`ed mouse status`](https://getedith.pro/docs/cli/mouse/status) | Show what Mouse Tuner changes. |
| [`ed mouse on`](https://getedith.pro/docs/cli/mouse/on) | Start tuning the mouse. |
| [`ed mouse off`](https://getedith.pro/docs/cli/mouse/off) | Stop tuning and put the mouse back. |
| [`ed mouse buttons`](https://getedith.pro/docs/cli/mouse/buttons) | List what each extra button does. |
| [`ed mouse assign`](https://getedith.pro/docs/cli/mouse/assign) | Give a mouse button an action. |
| [`ed mouse unassign`](https://getedith.pro/docs/cli/mouse/unassign) | Give a button its usual job back. |
| [`ed mouse devices`](https://getedith.pro/docs/cli/mouse/devices) | List connected mice and trackpads. |
| [`ed mouse profiles`](https://getedith.pro/docs/cli/mouse/profiles) | List device profiles. |
| [`ed mouse profile`](https://getedith.pro/docs/cli/mouse/profile) | Save settings for one mouse. |
| [`ed mouse forget`](https://getedith.pro/docs/cli/mouse/forget) | Remove a device profile. |
| [`ed mouse exclude`](https://getedith.pro/docs/cli/mouse/exclude) | Leave an app alone. |
| [`ed mouse include`](https://getedith.pro/docs/cli/mouse/include) | Tune the mouse in an app again. |

Mouse Tuner needs Accessibility to change mouse events and Input Monitoring to see them; Input Monitoring takes effect after Edith relaunches. Without both, the mouse works as before. Trackpad scrolling keeps the system direction. Turning pointer acceleration off saves the exact previous `com.apple.mouse.scaling` value and live HID acceleration, and puts them back when Mouse Tuner turns off, when Edith quits, when the extension is removed and on the next launch after a crash. Space switching sends the default Control and arrow shortcuts, so those must stay on in Keyboard Shortcuts.

## Page operations

The page uses these operations, which also work through [`ed invoke`](https://getedith.pro/docs/cli/invoke) with a JSON payload and print the full status as JSON:

```sh
ed invoke mouseTuner mouseTuner.ui.status --json '{}'
ed invoke mouseTuner mouseTuner.ui.on --json '{}'
ed invoke mouseTuner mouseTuner.ui.off --json '{}'
ed invoke mouseTuner mouseTuner.ui.setButton --json '{"button":5,"action":"shortcut","value":"cmd+shift+4"}'
ed invoke mouseTuner mouseTuner.ui.clearButton --json '{"button":5}'
ed invoke mouseTuner mouseTuner.ui.saveProfile --json '{"profile":{"vendorID":1133,"productID":50475,"name":"Desk mouse","scrollSpeed":150}}'
ed invoke mouseTuner mouseTuner.ui.removeProfile --json '{"profileID":"046d:c52b"}'
ed invoke mouseTuner mouseTuner.ui.exclude --json '{"app":"com.example.game"}'
ed invoke mouseTuner mouseTuner.ui.include --json '{"app":"com.example.game"}'
ed invoke mouseTuner mouseTuner.ui.apps --json '{}'
ed invoke mouseTuner mouseTuner.ui.permission --json '{}'
```

Buttons are numbered from zero as macOS numbers them: 2 is the middle button, 3 Back, 4 Forward and 5 the first extra button. A rejected value returns its reason as the error.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
