-
Notifications
You must be signed in to change notification settings - Fork 426
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
Rules doesn't work and/or wrong configuration for M705 mouse #2788
Comments
For rules to trigger on key presses, the key has to be diverted. You only have two keys diverted so only they will trigger rules. |
@pfps yeah I know, because I only want to describe my problem. But just to let you know that I've previously configured it as I want, my current config which doesn't work at all. Doesn't matter which button I click, I've "End" keyboard button action. Even it's button8, button9, or left/right scroll - the action is "end" keyboard key. Config
rules:
I've changed rules for buttons:
|
Kill Solaar, then run as |
Yeah I need help because it doesn't work, didn't know why :/
Each pressed key is different mouse button, but in the log it appears as button9. All on the config pasted in the previous post. I really don't know what doing wrong here. |
I'm seeing notifications for keys 0x5b and 0x5d. Ooh. Your rules have only actions in them. To check for a key or button being pressed you need a Key condition. |
I'm sorry but I don't understand how to do that. Can you explain? |
Your first rule says to simulate a single mouse click and then simulate a keypress. It instead need to first check that the mouse button was pressed using a Key condition and then simulate a keypress. |
Not sure that this is something you're trying to tell me, but with the following rules.conf it still doesn't work as it should
|
Instead of the MouseClick action, use the Key condition. More information is available in the rules documentation in this repository. |
Oh man, thank you! I'm so dumb, that didn't see that info. Now all works well. If somebody was looking for something like that I paste my rules.yaml
Thank you once again @pfps |
Hi,
at the beginning I want to apologize because I don't know where to paste my question/issue. I'm using Logitech M705 mouse with unify adapter, all works well. Since few weeks ago I've started using Windows for my job, and saw that I can bind buttons to specified action and wanted same for Ubuntu - and I'm here.
There is not much examples on config and I'm not able to configure solaar to work as it works on Windows. For 4 buttons I want to create specified action:
And I'm lying and crying on the first two and can't get through...
My config:
My rules:
I'm using solaar 1.1.13, Ubuntu 24.10. I've downloaded file https://raw.githubusercontent.com/pwr-Solaar/Solaar/master/rules.d-uinput/42-logitech-unify-permissions.rules and copied it to /etc/udev/rules.d/ and still not sure that I need install something else because with my half rules configuration only works 'home' key.
I'll appreciate for your help.
The text was updated successfully, but these errors were encountered: