From 1fddaa2a25be7748fe41672b0f6e5f9c499ec380 Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sat, 22 Mar 2025 15:19:52 +0000 Subject: [PATCH] docs: running without sudo section --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index a867000..78b1710 100644 --- a/README.md +++ b/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.