You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemctl status input-remapper -n 50 the service has to be running
● input-remapper.service - Service to inject keycodes without the GUI application
Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; preset: disabled)
Active: active (running) since Thu 2024-05-16 23:44:28 CST; 16min ago
Main PID: 914 (input-remapper-)
Tasks: 5 (limit: 18854)
Memory: 33.6M (peak: 34.1M)
CPU: 206ms
CGroup: /system.slice/input-remapper.service
├─914 /usr/bin/python3 /usr/bin/input-remapper-service
└─968 /usr/bin/python3 /usr/bin/input-remapper-service
May 16 23:44:27 Archlinux systemd[1]: Starting Service to inject keycodes without the GUI application...
May 16 23:44:28 Archlinux input-remapper-service[914]: input-remapper-service 2.0.1 f5151aab27ae0e7d8b1f0c80ce92a718e3a86e71 https://github.com/sezanzeb/input-remapper
May 16 23:44:28 Archlinux input-remapper-service[914]: python-evdev 1.7.0
May 16 23:44:28 Archlinux systemd[1]: Started Service to inject keycodes without the GUI application.
May 16 23:44:56 Archlinux input-remapper-service[914]: Request to autoload for "Bose Revolve+ SoundLink (AVRCP)"
May 16 23:44:56 Archlinux input-remapper-service[914]: ERROR: Request to autoload "Bose Revolve+ SoundLink (AVRCP)" before a user told the service about their session using set_config_dir
May 16 23:57:02 Archlinux input-remapper-service[914]: Loaded config from "/home/chz/.config/input-remapper-2/config.json"
(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 device suffixed by "mapped"
sudo udevadm control --log-priority=debug && sudo udevadm control --reload-rules && journalctl -f | grep input-remapper, now plug in the device that should autoload
After all this, if I reboot my system, the autoload is still not working.
After reboot:
$ systemctl status input-remapper
● input-remapper.service - Service to inject keycodes without the GUI application
Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; preset: disabled)
Active: active (running) since Fri 2024-05-17 00:12:34 CST; 8s ago
Main PID: 5679 (input-remapper-)
Tasks: 5 (limit: 18854)
Memory: 28.5M (peak: 29.3M)
CPU: 347ms
CGroup: /system.slice/input-remapper.service
├─5679 /usr/bin/python3 /usr/bin/input-remapper-service
└─5683 /usr/bin/python3 /usr/bin/input-remapper-service
May 17 00:12:33 Archlinux systemd[1]: Starting Service to inject keycodes without the GUI application...
May 17 00:12:34 Archlinux input-remapper-service[5679]: input-remapper-service 2.0.1 f5151aab27ae0e7d8b1f0c80ce92a718e3a86e71 https://github.com/sezanzeb/input-remapper
May 17 00:12:34 Archlinux input-remapper-service[5679]: python-evdev 1.7.0
May 17 00:12:34 Archlinux systemd[1]: Started Service to inject keycodes without the GUI application.
After manually Apply the preset in input-remapper GUI application
$ systemctl status input-remapper
● input-remapper.service - Service to inject keycodes without the GUI application
Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; preset: disabled)
Active: active (running) since Fri 2024-05-17 00:12:34 CST; 1min 46s ago
Main PID: 5679 (input-remapper-)
Tasks: 6 (limit: 18854)
Memory: 37.2M (peak: 37.6M)
CPU: 436ms
CGroup: /system.slice/input-remapper.service
├─5679 /usr/bin/python3 /usr/bin/input-remapper-service
├─5683 /usr/bin/python3 /usr/bin/input-remapper-service
└─7859 /usr/bin/python3 /usr/bin/input-remapper-service
May 17 00:12:33 Archlinux systemd[1]: Starting Service to inject keycodes without the GUI application...
May 17 00:12:34 Archlinux input-remapper-service[5679]: input-remapper-service 2.0.1 f5151aab27ae0e7d8b1f0c80ce92a718e3a86e71 https://github.com/sezanzeb/input-remapper
May 17 00:12:34 Archlinux input-remapper-service[5679]: python-evdev 1.7.0
May 17 00:12:34 Archlinux systemd[1]: Started Service to inject keycodes without the GUI application.
May 17 00:14:02 Archlinux input-remapper-service[5679]: Loaded config from "/home/chz/.config/input-remapper-2/config.json"
May 17 00:14:14 Archlinux input-remapper-service[5679]: Loaded config from "/home/chz/.config/input-remapper-2/config.json"
May 17 00:14:14 Archlinux input-remapper-service[5679]: Request to start injecting for "Kensington SlimBlade Pro(2.4GHz Receiver) Kensington SlimBlade Pro Trackball(2.4GHz Receiver)"
May 17 00:14:15 Archlinux input-remapper-service[5679]: Found "Video Bus", "Ideapad extra buttons", "CUST0001:00 04F3:3138 Mouse", "Milsky 84EC-S", "Kensington SlimBlade Pro(2.4GHz Receiver) Kensington SlimBlade >
May 17 00:14:15 Archlinux input-remapper-service[5679]: Loading preset from "/home/chz/.config/input-remapper-2/presets/Kensington SlimBlade Pro(2.4GHz Receiver) Kensington SlimBlade Pro Trackball(2.4GHz Receiver>
May 17 00:14:15 Archlinux input-remapper-service[7859]: Starting injecting the preset for "Kensington SlimBlade Pro(2.4GHz Receiver) Kensington SlimBlade Pro Trackball(2.4GHz Receiver)"
BTW: I have to click the APPLY button twice to load the preset for my device, you can see the log as well, there are two lines of Loaded config from ..., the first line is the first APPLY button, it doesn't load my preset.
I add input-remapper-control --command autoload autostart in my wm config, it will autoload my preset, just a temporary workaround.
The text was updated successfully, but these errors were encountered:
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 f5151aab27ae0e7d8b1f0c80ce92a718e3a86e71 https://github.com/sezanzeb/input-remapper python-evdev 1.7.0
Archlinux
i3wm v4.23
sudo ls -l /proc/1/exe
to check if you are using systemslrwxrwxrwx 1 root root 0 May 16 23:44 /proc/1/exe -> /usr/lib/systemd/systemd
cat ~/.config/input-remapper-2/config.json
to see if the "autoload" config is written correctlysystemctl status input-remapper -n 50
the service has to be runningTesting 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
sudo evtest
and search for a device suffixed by "mapped". Select it, does it report any events? Share the output.No device suffixed by "mapped"
sudo udevadm control --log-priority=debug && sudo udevadm control --reload-rules && journalctl -f | grep input-remapper
, now plug in the device that should autoloadAfter all this, if I reboot my system, the autoload is still not working.
After reboot:
After manually
Apply
the preset in input-remapper GUI applicationBTW: I have to click the
APPLY
button twice to load the preset for my device, you can see the log as well, there are two lines ofLoaded config from ...
, the first line is the firstAPPLY
button, it doesn't load my preset.I add
input-remapper-control --command autoload
autostart in my wm config, it will autoload my preset, just a temporary workaround.The text was updated successfully, but these errors were encountered: