https://github.com/null-none/linux-magic-3-figner
Apple Magic Mouse 3 Finger in Linux (Ubuntu)
https://github.com/null-none/linux-magic-3-figner
apple linux mouse ubuntu
Last synced: about 2 months ago
JSON representation
Apple Magic Mouse 3 Finger in Linux (Ubuntu)
- Host: GitHub
- URL: https://github.com/null-none/linux-magic-3-figner
- Owner: null-none
- License: mit
- Created: 2020-05-13T18:31:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T07:35:55.000Z (about 6 years ago)
- Last Synced: 2025-01-26T09:28:35.655Z (over 1 year ago)
- Topics: apple, linux, mouse, ubuntu
- Language: C
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apple Magic Mouse 3 Finger in Linux (Ubuntu)
If you want test out 3 finger middle click in linux use commands:
```bash
sudo apt-get install dkms blueman
cd linux/drivers/hid
make clean
make
sudo rmmod hid-magicmouse
sudo insmod ./hid-magicmouse.ko middle_click_3finger=1
```
If you want use as service use:
```bash
touch /etc/systemd/system/applemouse.service
```
Source `/etc/systemd/system/applemouse.service`
```bash
[Unit]
Description=Linux Apple Magic Mouse 3 Finger
[Service]
ExecStart=/Linux-Magic-3-Figner/run_service.sh
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
```
To enable your service after reboot, you run the command:
```bash
systemctl enable applemouse
```
To start/stop/check status of your service, run command below:
```bash
systemctl [start|stop|status] applemouse
```