You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: How to open Kando menus with mouse buttons.
5
+
title: Opening Menus with Mouse Buttons
6
+
description: How to open Kando menus with mouse buttons or touch gestures.
7
7
prev:
8
8
link: /creating-menus
9
9
label: Create Your First Menu
@@ -15,15 +15,30 @@ import Intro from '../../components/Intro.astro';
15
15

16
16
17
17
<Intro>
18
-
While Kando does not have a cross-platform way to open menus with a mouse button, there are many platform-dependent third-party tools which can help you with this.
18
+
While Kando does not have a builtin way to open menus with mouse buttons or touch gestures, there are many platform-dependent third-party tools which can help you with this.
19
19
</Intro>
20
20
21
-
With some creativity, you can open menus not only with mouse buttons but also with gestures, desktop widgets, or in many other ways.
21
+
## How to Open Menus From Other Tools
22
22
23
-
## Opening Menus Externally
23
+
You can either make the third-party tool open the menu by simulation the shortcut for the menu, or it can directly call the Kando executable with the `--menu "menu name"` argument.
24
24
25
-
**You can either make the third-party tool open the menu by simulation the shortcut for the menu, or it can directly call the Kando executable with the `--menu "menu name"` argument.**
25
+
### Option 1: Simulate the Shortcut
26
26
27
+
If the third-party tool supports simulating keyboard shortcuts, it is recommended to use this method.
28
+
In most cases, this will be a bit faster then option 2.
29
+
30
+
You can choose any shortcut you like!
31
+
Using one which does not interfere with you workflow is a good idea.
32
+
For instance <kbd>Ctrl</kbd>+<kbd>F13</kbd> is usually not used by any application, so it is a good choice.
33
+
34
+
<Asidetype="tip"title="Use a modifier key!">
35
+
Kando menus can be called with single-key shortcuts, but this is not recommended.
36
+
Turbo mode will only work properly if the shortcut includes a modifier like <kbd>Ctrl</kbd>, <kbd>Alt</kbd>, or <kbd>Shift</kbd>.
37
+
</Aside>
38
+
39
+
### Option 2: Use the `--menu` Argument
40
+
41
+
With the `--menu` argument, you can open a Kando menu by calling the Kando executable with the name of the menu you want to open.
27
42
Depending on your operating system, the command to open a Kando menu would look like this:
28
43
29
44
<TabssyncKey='os'>
@@ -49,22 +64,12 @@ Depending on your operating system, the command to open a Kando menu would look
49
64
</TabItem>
50
65
</Tabs>
51
66
52
-
<Asidetype="tip"title="Simulate the shortcut if possible!">
53
-
If the third-party tool supports simulating keyboard shortcuts, it is recommended to use this method.
54
-
Opening a menu by calling the Kando executable will usually be a bit slower than simulating the shortcut.
55
-
</Aside>
56
-
57
-
## Rebinding Mouse Buttons
58
-
59
-
Many mice come with special drivers which allow you to rebind mouse buttons to keyboard shortcuts.
60
-
If your mouse supports this, you can rebind a mouse button to a keyboard shortcut (e.g., <kbd>Ctrl</kbd> + <kbd>F13</kbd>) and then use this shortcut to open a Kando menu.
61
-
62
-
This is a very easy way to open menus with a mouse button.
63
-
If you do not have such a driver, you can use third-party tools to remap mouse buttons to keyboard shortcuts.
64
-
65
67
## Third-Party Tools for Opening Menus
66
68
67
-
Below are some applications which can help you to open menus in various ways.
69
+
Many mice come with special drivers which allow you to rebind mouse buttons to keyboard shortcuts or to run arbitrary commands.
70
+
If your mouse supports this, this is an easy way to
71
+
72
+
If you do not have such a driver, you can use any of the third-party tools listed below.
68
73
Most of them are free and open-source.
69
74
70
75
<TabssyncKey='os'>
@@ -89,7 +94,6 @@ Most of them are free and open-source.
89
94
</TabItem>
90
95
</Tabs>
91
96
92
-
<br/>
93
97
<br/>
94
98
95
99
<Asidetype="note"title="Have you discovered another cool tool?">
0 commit comments