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: 30
Popularity: 0.44
First Submitted: 2022-01-01 12:10 (UTC)
Last Updated: 2023-09-19 17:48 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

otuva commented on 2023-03-03 10:08 (UTC) (edited on 2023-03-03 10:08 (UTC) by otuva)

I don't think there should be service activation in post-install and post-upgrade functions.

You can add one step to the installation instructions, IMO.

There's no post_remove either. I had to manually remove /etc/systemd/system/default.target.wants/input-remapper.service

sezanzeb commented on 2023-02-12 09:28 (UTC) (edited on 2023-02-12 09:28 (UTC) by sezanzeb)

Thanks @ricardogalvao. input-remapper-beta-git probably doesn't suffer from that problem, since the version string is hardcoded there instead. input-remapper will soon get a 2.0 release that fixes this.

ricardogalvao commented on 2023-02-11 12:27 (UTC) (edited on 2023-02-11 13:04 (UTC) by ricardogalvao)

I was using input-remapper perfectly for several months but it stopped working some days ago (I don't know the exact day).

The followin error message appears when I try to run "input-remapper-gtk"

https://gist.github.com/rcgalvao/57aabce1ce010ef3785c0281d65063d4

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?