Below are installation instructions for certain distributions. If your distribution is not included, use the Manual installation instructions.
We welcome contributors to maintain missing distributions.
Please note that the distribution package may lag with the latest bug fixes. Use the Manual installation method to get the latest bug fixes.
yay -S input-remapper-git
sudo systemctl restart input-remapper
sudo systemctl enable input-remapper
Get the latest version:
sudo apt install git python3-setuptools gettext
git clone https://github.com/sezanzeb/input-remapper.git
cd input-remapper && ./scripts/build.sh
sudo apt install -f ./dist/input-remapper-2.0.0.deb
Or alternatively, use one of the following methods.
- Download the
.deb
file from the release page - and install it manually:
sudo apt install -f /path/to/input-remapper-2.0.0.deb
input-remapper is available on Debian and Ubuntu distributions. Use your package manager to install the software:
sudo apt update && sudo apt install input-remapper
Ensure that the following dependencies are met:
python3-evdev
≥1.3.0gtksourceview4
python3-devel
python3-pydantic
python3-pydbus
Python packages need to be installed globally for the service to be able
to import them. Do not use --user
.
There are known issues (see #523) with Conda
. If you encounter
MonduleNotFoundError
, uninstall/disable Conda
.
sudo pip install evdev -U # If newest version not in distros repo
sudo pip uninstall key-mapper # In case the old package is still installed
sudo pip install --no-binary :all: git+https://github.com/sezanzeb/input-remapper.git
sudo systemctl enable input-remapper
sudo systemctl restart input-remapper
Use this installation method if the above method is problematic:
git clone https://github.com/sezanzeb/input-remapper.git
cd input-remapper
./scripts/setup.sh install
Warning: the following will remove any existing new configurations.
By default, input-remapper will not migrate configurations from the beta release.
To manually migrate beta configurations, before creating any configurations, perform the following:
# Ignore whether the subdirectory exists ...
rm -fr ~/.config/input-remapper-2
cp -r ~/.config/input-remapper/beta_1.6.0-beta ~/.config/input-remapper-2
Once completed, start input-remapper.