Add some dividers

pull/98/merge
Takashi Kokubun 2 years ago
parent 70deca9ee1
commit d52fa71315
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

@ -54,6 +54,8 @@ sudo xremap config.yml
<details>
<summary>If you want to run xremap without sudo, click here.</summary>
### Running xremap without sudo
To do so, your normal user should be able to use `evdev` and `uinput` without sudo.
In Ubuntu, this can be configured by running the following commands and rebooting your machine.
@ -62,6 +64,8 @@ sudo gpasswd -a YOUR_USER input
echo 'KERNEL=="uinput", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules
```
#### Arch Linux
The following can be used on Arch.
```bash
@ -77,12 +81,16 @@ Then add udev rule.
echo 'KERNEL=="uinput", GROUP="input", MODE="0660"' | sudo tee /etc/udev/rules.d/99-input.rules
```
#### Other platforms
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.
If you do this, in some environments, `--watch` may fail to recognize new devices due to temporary permission issues.
Using `sudo` might be more useful in such cases.
---
</details>
See the following instructions for your environment to make `application`-specific remapping work.

Loading…
Cancel
Save