mirror of
https://github.com/k0kubun/xremap
synced 2024-11-02 03:40:25 +00:00
Add arch specific advice
This commit is contained in:
parent
3cc9af8a08
commit
7db9ec92eb
15
README.md
15
README.md
@ -62,6 +62,21 @@ sudo gpasswd -a YOUR_USER input
|
|||||||
echo 'KERNEL=="uinput", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules
|
echo 'KERNEL=="uinput", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The following can be used on Arch.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
lsmod | grep uinput
|
||||||
|
```
|
||||||
|
If this module is not loaded, add to `/etc/modules-load.d/uinput.conf`:
|
||||||
|
```bash
|
||||||
|
uinput
|
||||||
|
```
|
||||||
|
Then add udev rule.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo 'KERNEL=="uinput", GROUP="input", MODE="0660"' | sudo tee /etc/udev/rules.d/99-input.rules
|
||||||
|
```
|
||||||
|
|
||||||
In other platforms, you might need to create an `input` group first
|
In other platforms, you might need to create an `input` group first
|
||||||
and run `echo 'KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules` as well.
|
and run `echo 'KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules` as well.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user