docs: running without sudo section

This commit is contained in:
trafficlunar 2025-03-22 15:19:52 +00:00
parent e0932fc033
commit 1fddaa2a25

View file

@ -8,3 +8,19 @@ Sends statistics of my computer to my [API](https://github.com/trafficlunar/api)
- Memory usage - Memory usage
- Key press counter - Key press counter
- Left and right mouse clicks counter - Left and right mouse clicks counter
## running without sudo
```bash
$ sudo nano /etc/udev/rules.d/99-inputbot.rules
```
Copy and paste this below and save the file.
```
KERNEL=="event*", SUBSYSTEM=="input", TAG+="uaccess"
KERNEL=="mouse*", SUBSYSTEM=="input", TAG+="uaccess"
KERNEL=="kbd*", SUBSYSTEM=="input", TAG+="uaccess"
```
Restart your computer.