-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buttons do not work after restart #274
Comments
what happens if you run |
is If not, lets try:
and afterwards |
I, however, went ahead and stopped the service and tried the commands you mentioned. And in the separate terminal, I executed the autoload command. It worked!! |
I don't know yet. Next time after you booted your computer (don't run any input-remapper-* command), please run |
It's very surprising that
maybe, for whatever unknown reason, this problem only applies when input-remapper is running via systemd. So please try the above as well. |
That worked as well! |
are you really 100% sure that running |
Now that you are asking this, I would say, I am 99% sure. |
2 commands? Just the |
Ok, if you turn off your mouse and turn it on after you logged in, does the injection start? There were some issues in the past with bluetooth devices, for which the udev rule https://github.com/sezanzeb/input-remapper/blob/main/data/99-input-remapper.rules was added: #25. This udev rule should trigger when your mouse connects in order to autoload for it. |
What does |
I have the exact same issue as the OP. Same system config as well as far as I can tell - Ubuntu 20.04 and KDE. Remapped bluetooth mouse buttons no longer work after restart until I run the input remapper gui and provide the su password. On the other hand, it works without a hitch on my other computer (Ubuntu 18.04, KDE) which has a wired mouse i.e., the config persists even after restarting the computer. |
@JackDeSomeTrades if you unplug and reconnect the bluetooth mouse after logging in, does the injection that is configured to autoload start? |
Just tried it. It doesn't work. |
Thanks! Maybe we can find the issue by going via that route. Please run this: sudo udevadm control --log-priority=debug
journalctl -f | grep input-remapper and then reconnect the mouse again. It is expected that after a few seconds some logs from |
This is what it throws up. Quick edit: So the remapped keys were working until I disconnected them and reconnected them. I guess this has nothing to do with restarting the computer in as much registering a new bluetooth device via USB? I don't have a compatible wired mouse on me right now to check if I have the same issue with that. |
ah, the device is missing there for whatever reason.
|
Yes this makes sense. The conf gets loaded the moment I input the Can input remapper get elevated privileges in perpetuity? |
input-remapper-control already has root privileges via udev Please try |
This is the output after running |
Then run This will try to autoload the presets for every device, each time any device connects, which of course is not how it should be. But if this works it would give me a hint what to do about it. |
Tried this now but no. No automatic injection. |
anything insightful from
? The only bad workaround for this I can think of otherwise would be to add a new file [Desktop Entry]
Type=Application
Exec=bash -c "sleep 5 && input-remapper-control --command autoload"
Name=input-remapper-autoload
Icon=/usr/share/input-remapper/input-remapper.svg
Comment=Starts injecting all presets that are set to automatically load for the user assuming that a delay of 5 seconds is enough |
If that works,
to avoid more problems |
ToDo:
|
Hi,
I am new to Ubuntu and all I was trying to was to make my Logitech MX Anywhere 2 work with Ubuntu.
I have some additional buttons which I configured using input-remapper. It worked like a charm.
But then everything got reset once I restart the system. Below are the steps I followed to get things done:
In the first image, if I click on Apply again, the buttons will start working as expected.
For your reference, I am also attaching a zip file that contains the config files (.config folder).
Please let me know if I am, missing anything.
input-remapper.zip
Thanks in advance!
Sambit Mohapatra
The text was updated successfully, but these errors were encountered: