mirror of
https://github.com/k0kubun/xremap
synced 2024-11-19 09:25:31 +00:00
Add documentation for rootless usage in Debian (#322)
This commit is contained in:
parent
f0dd01dd1b
commit
59ed46c116
20
README.md
20
README.md
@ -89,6 +89,26 @@ Then add udev rule.
|
||||
echo 'KERNEL=="uinput", GROUP="input", MODE="0660"' | sudo tee /etc/udev/rules.d/99-input.rules
|
||||
```
|
||||
|
||||
#### Debian
|
||||
Make sure `uinput` is loaded same as in Arch:
|
||||
```
|
||||
lsmod | grep uinput
|
||||
```
|
||||
If it shows up empty:
|
||||
```bash
|
||||
echo uinput | sudo tee /etc/modules-load.d/uinput.conf
|
||||
```
|
||||
Add your user to the `input` group and add the same udev rule as in Ubuntu:
|
||||
```bash
|
||||
sudo gpasswd -a YOUR_USER input
|
||||
echo 'KERNEL=="uinput", GROUP="input", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/input.rules
|
||||
```
|
||||
Reboot the machine afterwards or try:
|
||||
```bash
|
||||
sudo modprobe uinput
|
||||
sudo udevadm control --reload-rules && sudo udevadm trigger
|
||||
```
|
||||
|
||||
#### Other platforms
|
||||
|
||||
In other platforms, you might need to create an `input` group first
|
||||
|
Loading…
Reference in New Issue
Block a user