Update README.md

This commit is contained in:
sezanzeb 2020-11-29 20:41:38 +01:00
parent f5431466dc
commit 468a4785e3

View File

@ -39,15 +39,23 @@ For a list of supported keystrokes and their names, check the output of
## Installation ## Installation
After your installation, independent of the method, you should add yourself
to the `input` and `plugdev` groups so that you can read keycodes from them.
You have to start the application via sudo otherwise.
```bash
sudo usermod -a -G plugdev,input $USER
# log out and back in or restart,
# the two groups should be visible with:
groups
```
##### Ubuntu/Debian ##### Ubuntu/Debian
```bash ```bash
wget "https://github.com/sezanzeb/key-mapper/releases/download/0.1.0/python3-key-mapper_0.1.0-1_all.deb" wget "https://github.com/sezanzeb/key-mapper/releases/download/0.1.0/python3-key-mapper_0.1.0-1_all.deb"
sudo dpkg -i python3-key-mapper_0.1.0-1_all.deb sudo dpkg -i python3-key-mapper_0.1.0-1_all.deb
sudo usermod -a -G plugdev,input $USER sudo usermod -a -G plugdev,input $USER
# log out and back in or restart,
# the two groups should be visible with:
groups
``` ```
##### Manjaro/Arch ##### Manjaro/Arch
@ -62,9 +70,6 @@ pacaur -S key-mapper-git
git clone https://github.com/sezanzeb/key-mapper.git git clone https://github.com/sezanzeb/key-mapper.git
sudo pip install key-mapper sudo pip install key-mapper
sudo usermod -a -G plugdev,input $USER sudo usermod -a -G plugdev,input $USER
# log out and back in or restart,
# the two groups should be visible with:
groups
``` ```
## Roadmap ## Roadmap