kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/schneegans
Other
3.08k stars 89 forks source link

Middle Mouse button as Hotkey + Static Version #526

Closed aaronmaddows closed 4 months ago

aaronmaddows commented 4 months ago

Description

Would it be possible to add the possibility of the middle mouse button to be a hotkey?

Would it be possible to add a feature to have one or more icons on the desktop, static, and once you click on them the sub menu opens? Kind of like an App on a Phone (e.g. "Circle Launcher" for android)?

Affected Desktop Environments

All

Additional Information

No response

in4matix commented 4 months ago

Would it be possible to add a feature to have one or more icons on the desktop, static, and once you click on them the sub menu opens? Kind of like an App on a Phone (e.g. "Circle Launcher" for android)?

I requested a similar thing. Like Floating Dock - It has a little transparent icon you can put anywhere on the desktop (left corner in my case) and when you click on it, it opens the dock/menu

Schneegans commented 4 months ago

Hi there! Thanks for the suggestions! Binding something to a mouse button in a cross-platform manner is pretty difficult. However, there are many third-party tools which you can use to remap a mouse button to a keyboard shortcut. I think that this can be achieved with Karabiner Elements on macOS, AutoHotKey on Windows, or Input Remapper on Linux. Some Linux DEs like KDE also come with builtin functionality to map mouse buttons to keyboard keys.

Until something like this is directly possible within Kando, we should create a list of such tools in the documentation. I guess that there are many more ways to open menus...

For the floating icon - this could be possible, but it's pretty low on my priority list as well. I think with some creativity, this can be achieved with third-party tools as well. Kando comes with a command-line API which allows opening menus via the --menu flag. So if you have any tool - for instance a desktop widget - which can run a command when clicked, it can be used to open a Kando menu.

ognistik commented 4 months ago

On Mac I have my Kando menus triggered from my mouse with BetterMouse, if I'm on my laptop I have Kando triggered with some trackpad gestures using BetterTouchTool, and I also use Karabiner to remap my Kando menus to simultaneous key presses (like pressing S + F at the same time, without any modifiers... it's great for Turbo Mode). I know BetterTouchTool can even create a menu item to perform an action, with this app or Keyboard Maestro you got a lot of triggers or ways that could open a Kando menu. If you want an icon on your desktop I think the simplest way to go about it (on Mac) would be with the Script Editor.

Schneegans commented 4 months ago

I started a list of cool tools for opening menus. Feel free to add anything to this list which you find!

For now, I'll close this issue as we also have #433 to track this. Thank you again!