docs: running without sudo section
This commit is contained in:
parent
e0932fc033
commit
1fddaa2a25
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
|
@ -8,3 +8,19 @@ Sends statistics of my computer to my [API](https://github.com/trafficlunar/api)
|
|||
- Memory usage
|
||||
- Key press 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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue