Replies: 2 comments 7 replies
-
|
This is pretty cool! I did not know that Input Remapper could do such advanced stuff. I'll definitely link this guide if somebody asks for mouse-only activation on Linux! I'll also put a link on the homepage. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
I just tried to replicate the third option. Doesn't this fully override the left mouse button? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This article is now available on Kando Docs. It has been polished by @Schneegans for better readability—Check it out here: https://kando.menu/input-remapper-tutorial/
I am a heavy mouse gesture user. After switching to Linux ( Bluefin, which is a truly elegant distribution), I spent some time figuring out how to use Kando with just the mouse without affecting the mouse's original button functionality.
Unexpectedly, Input Remapper supports simple scripting, making this possible. I'm sharing this for those who might find it helpful. ❣️
Introduction
Input Remapper is a tool which allows you to remap mouse buttons to keyboard shortcuts. While you can use it directly to bind menus to mouse buttons via keyboard shortcuts, it also allows for more advanced setups like showing menus when pressing two mouse buttons at the same time.
Input Remapper on GitHub: https://github.com/sezanzeb/input-remapper
You can visit the repository to learn about installation and general usage. This article will focus specifically on how to work with Kando.
Configuration
There are three ways to trigger a Kando menu through Input Remapper.
Note
To demonstrate the most complex scenarios, the examples below use
Ctrl+Shift+F1as the trigger. You can modify this to your preferred shortcut.Option 1: Direct Shortcut Mapping
This is the simplest method. Pressing a single mouse button triggers the Kando menu:
Option 2: Long Press Mouse Button
A long press triggers the Kando menu, while a short press (tap) retains the button's original function. The following example uses the Right Mouse Button:
Tip
The number
150at the end represents the duration required for a long press in milliseconds (ms). You can adjust this value, but setting it too short may lead to accidental triggers.Option 3: Combining Two Mouse Buttons
Triggered by holding one mouse button and tapping another. The following example uses Hold Right Click + Tap Left Click:
Beta Was this translation helpful? Give feedback.
All reactions