input-remapper
input-remapper copied to clipboard
Autoload not working
Please install the newest version from source to see if the problem has already been solved.
System Information and logs
-
input-remapper-control --version
input-remapper 2.0.1 f06b3ed601cceb68f79f6b1b2e0d98e8d97fa839 https://github.com/sezanzeb/input-remapper python-evdev 1.7.1 - which linux distro (ubuntu 20.04, manjaro, etc.) Fedora asahi 40
- which desktop environment (gnome, plasma, xfce4, etc.) Hyprland with GNOME software
-
sudo ls -l /proc/1/exe
to check if you are using systemd yes i am using systemd lrwxrwxrwx 1 root root 0 Aug 20 23:53 /proc/1/exe -> /usr/lib/systemd/systemd -
cat ~/.config/input-remapper-2/config.json
to see if the "autoload" config is written correctly { "version": "2.0.1", "autoload": { "Apple Internal Keyboard / Trackpad 2": "Numbers", "GEM GEM80": "Numbers" } } -
systemctl status input-remapper -n 50
the service has to be running × input-remapper.service - Input Remapper Loaded: loaded (/etc/systemd/system/input-remapper.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: failed (Result: exit-code) since Tue 2024-08-20 23:47:23 UTC; 32min ago Duration: 137ms Main PID: 3991 (code=exited, status=2) CPU: 132ms
Aug 20 23:47:23 fedora systemd[1]: input-remapper.service: Scheduled restart job, restart counter is at 5. Aug 20 23:47:23 fedora systemd[1]: input-remapper.service: Start request repeated too quickly. Aug 20 23:47:23 fedora systemd[1]: input-remapper.service: Failed with result 'exit-code'. Aug 20 23:47:23 fedora systemd[1]: Failed to start input-remapper.service - Input Remapper.
Testing the setup
-
input-remapper-control --command hello
-
sudo pkill -f input-remapper-service && sudo input-remapper-service -d & sleep 2 && input-remapper-control --command autoload
, are your keys mapped now? yes - (while the previous command is still running)
sudo evtest
and search for a device suffixed by "mapped". Select it, does it report any events? Share the output. no such command -
sudo udevadm control --log-priority=debug && sudo udevadm control --reload-rules && journalctl -f | grep input-remapper
, now plug in the device that should autoload