From 468a4785e328bf81f612ea062ccdef268064326e Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Sun, 29 Nov 2020 20:41:38 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9a7aa05f..eaffb80e 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,25 @@ For a list of supported keystrokes and their names, check the output of ## Installation -##### Ubuntu/Debian +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 -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 usermod -a -G plugdev,input $USER # log out and back in or restart, # the two groups should be visible with: groups ``` +##### Ubuntu/Debian + +```bash +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 usermod -a -G plugdev,input $USER +``` + ##### Manjaro/Arch ```bash @@ -62,9 +70,6 @@ pacaur -S key-mapper-git git clone https://github.com/sezanzeb/key-mapper.git sudo pip install key-mapper sudo usermod -a -G plugdev,input $USER -# log out and back in or restart, -# the two groups should be visible with: -groups ``` ## Roadmap