more permission stuff

xkb
sezanzeb 4 years ago committed by sezanzeb
parent 88e88bda1a
commit 7107c68cff

@ -68,13 +68,6 @@ sudo key-mapper-service --setup-permissions
# now log out and back in
```
You also need the rights to write keycodes into your system. This seems to be
already the case on some systems, but not all of them.
```bash
sudo setfacl -m u:$USER:rw- /dev/uinput
```
##### Manjaro/Arch
```bash

@ -96,12 +96,12 @@ if __name__ == '__main__':
sys.exit(1)
if group_exists('input'):
run('usermod -a -G input $USER')
run(f'usermod -a -G input {USER}')
if group_exists('plugdev'):
run('usermod -a -G plugdev $USER')
run(f'usermod -a -G plugdev {USER}')
run('setfacl -m u:$USER:rw- /dev/uinput')
run(f'setfacl -m u:{USER}:rw- /dev/uinput')
logger.info(
'For these changes to take effect log out and in. '

Loading…
Cancel
Save