Package Details: input-remapper-git 2.0.1.r0.ga012746a-1

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: 37
Popularity: 2.11
First Submitted: 2022-01-01 12:10 (UTC)
Last Updated: 2024-10-28 19:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

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?