mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +00:00
1.1 KiB
1.1 KiB
Installation
The tool shows and logs if there are issues, but usually, independent of the
method, you should add yourself to the input
and plugdev
groups so that
you can read information from your devices. You have to start the application
via sudo otherwise. You may also need to grant yourself write access to
/dev/uinput
to be able to inject your programmed mapping.
There is a shortcut for configuring this stuff:
sudo key-mapper-service --setup-permissions
Now log out and back in (or restart in some cases).
Manjaro/Arch
pacaur -S key-mapper-git
Ubuntu/Debian
wget "https://github.com/sezanzeb/key-mapper/releases/"\
"download/0.3.1/python3-key-mapper_0.3.1-1_all.deb"
sudo dpkg -i python3-key-mapper_0.3.1-1_all.deb
Git/pip
Depending on your distro, maybe you need to use --force
to get all your
files properly in place and overwrite a previous installation of key-mapper.
# method 1
sudo pip install git+https://github.com/sezanzeb/key-mapper.git
# method 2
git clone https://github.com/sezanzeb/key-mapper.git
cd key-mapper && sudo python3 setup.py install