Package Details: input-remapper-git 1.5.0.r12.gb0478435-2

Git Clone URL: https://aur.archlinux.org/input-remapper-git.git (read-only, click to copy)
Package Base: input-remapper-git
Description: A tool to change and program the mapping of your input device buttons.
Upstream URL: https://github.com/sezanzeb/input-remapper/
Licenses: GPL3
Conflicts: key-mapper
Provides: input-remapper
Submitter: sezanzeb
Maintainer: sezanzeb
Last Packager: sezanzeb
Votes: 18
Popularity: 0.87
First Submitted: 2022-01-01 12:10 (UTC)
Last Updated: 2022-11-05 13:18 (UTC)

Latest Comments

sezanzeb commented on 2023-01-08 09:21 (UTC)

the key-mapper.service errors are fine, if this fails the error is ignored. It only exists to ensure there are no conflicts with the old project name.

About See "systemctl status input-remapper.service" and "journalctl -xeu input-remapper.service" for details, can you please do that and open an issue here? https://github.com/sezanzeb/input-remapper/issues

Nanoshift commented on 2023-01-07 19:48 (UTC)

Successfully installed, but with these errors: Failed to stop key-mapper.service: Unit key-mapper.service not loaded. Failed to disable unit: Unit file key-mapper.service does not exist. Created symlink /etc/systemd/system/default.target.wants/input-remapper.service → /usr/lib/systemd/system/input-remapper.service. Job for input-remapper.service failed because the control process exited with error code. See "systemctl status input-remapper.service" and "journalctl -xeu input-remapper.service" for details. error: command failed to execute correctly

Munzu commented on 2022-10-30 11:28 (UTC) (edited on 2022-11-05 20:26 (UTC) by Munzu)

EDIT: The issue below is now fixed and the cause has been identified to be conda taking over my python command. See https://github.com/sezanzeb/input-remapper/issues/523.

ORIGINAL COMMENT: input-remapper used to work a few days ago but now it fails to start for me and I'm currently getting the following errors:

$ systemctl status input-remapper.service
× input-remapper.service - Service to inject keycodes without the GUI application
     Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; bad; preset: disabled)
     Active: failed (Result: exit-code) since Sun 2022-10-30 12:14:31 CET; 8min ago
   Main PID: 520 (code=exited, status=1/FAILURE)
        CPU: 57ms

Oct 30 12:14:30 bluefalcon systemd[1]: Starting Service to inject keycodes without the GUI application...
Oct 30 12:14:31 bluefalcon input-remapper-service[520]: Traceback (most recent call last):
Oct 30 12:14:31 bluefalcon input-remapper-service[520]:   File "/usr/bin/input-remapper-service", line 28, in <module>
Oct 30 12:14:31 bluefalcon input-remapper-service[520]:     from inputremapper.logger import update_verbosity, log_info
Oct 30 12:14:31 bluefalcon input-remapper-service[520]: ModuleNotFoundError: No module named 'inputremapper'
Oct 30 12:14:31 bluefalcon systemd[1]: input-remapper.service: Main process exited, code=exited, status=1/FAILURE
Oct 30 12:14:31 bluefalcon systemd[1]: input-remapper.service: Failed with result 'exit-code'.
Oct 30 12:14:31 bluefalcon systemd[1]: Failed to start Service to inject keycodes without the GUI application.

When I try to enable the service, I get the following error:

$ systemctl enable input-remapper.service
Failed to enable unit: Refusing to operate on alias name or linked unit file: input-remapper.service

When I try to uninstall and reinstall the package, I get this:

[...]
(1/1) installing input-remapper-git                                                                                [####################################################################] 100%
warning: directory permissions differ on /home/tai/
filesystem: 700  package: 755
Failed to stop key-mapper.service: Unit key-mapper.service not loaded.
Failed to disable unit: Unit file key-mapper.service does not exist.
Failed to enable unit: Refusing to operate on alias name or linked unit file: input-remapper.service
Failed to start input-remapper.service: Unit input-remapper.service failed to load properly, please adjust/correct and reload service manager: Device or resource busy
See system logs and 'systemctl status input-remapper.service' for details.
error: command failed to execute correctly
:: Running post-transaction hooks...
[...]

sezanzeb commented on 2022-09-03 12:50 (UTC) (edited on 2022-09-03 12:52 (UTC) by sezanzeb)

It was flagged out of date, but we could not reproduce any issues on Arch, Manjaro and EndeavourOS: https://github.com/sezanzeb/input-remapper/issues/459

database64128 commented on 2022-07-27 04:11 (UTC)

Arch users generally don't expect a package to enable its systemd service on installation. Maybe the post-install and post-upgrade scripts should be omitted?