Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Must hit hotkey twice for launcher to show when using meta/windows key #297
I have to hit the hotkey combination twice for the launcher to show, but only if using the meta/windows key. This is on Linux Mint cinnamon so is possibly being affected by how cinnamon handles the meta key for desktop shortcuts.
Hold the meta key down and press your chosen hotkey, nothing happens, you have to keep the meta key down and press your hotkey twice, the first keystroke will send to whatever open window are using, the second keystroke will open the launcher.
Steps to reproduce
Set hotkey to anything involving the meta key, (my preference meta + tilde)
the launcher should open
nothing, you have to hit the tilde key twice in a row keeping the meta key down and the launcher will appear, it seems the first hit of the tilde key sends the tilde character straight to whatever open window you are using. Oddly enough the hotkey works as expected if you have the albert settings window open and as your active window.
Yes it could be Meta + a it's the same effect, the first out of the keystrokes
(hold)META, a, a
the first 'a' will be sent to whatever window has focus as a normal 'a' character keypress would if you wern't holding meta, the second 'a' will open the albert menu as expected
I've no idea if this is Cinnamon specific but I can personally get around it by assigning the keyboard shortcut meta+tilde in the Cinnamon keyboard settings to the command 'albert toggle' to get the same effect.
@tlegutko Do you experience the same thing with chars getting sent to the focused window? I have Gnome and I experience the double tap thing but not any chars being sent.
But these two things are sounding like a WM problem.
@idkCpp, unfortunately I can't confirm with Gnome, as I've recently moved to Arch with i3wm, but I don't recall chars being sent to window.
On i3wm, by the way, shortcuts with meta work as expected, with single click.
And I can confirm @ManuelSchneid3r that your solution should work universally, I'm using it the same way for config convenience, and on Gnome that will probably work too, as regular shortcuts with Meta worked as expected.
I don't think it's a Cinnamon issue. And here are my arguments:
P.S.: Thanks for the albert toggle - I guess that should do it for now.
I've removed Menu applet and Meta + Space started working gracefully.