rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.24k stars 212 forks source link

How to remap Alt + Space to launch a program #815

Closed Smith-Chris1 closed 1 year ago

Smith-Chris1 commented 1 year ago

If possible, I'd like to not launch the windows start menu with Alt + Space, I'd like that keyboard command to open Flow Launcher. I'm unsure how to map that in the settings. Is it possible?

RedBearAK commented 1 year ago

I'm not the Kinto dev, just a user.

https://github.com/rbreaves/kinto/blob/99a8566262ce3cf488b13fdbdb7f04d156dac8af/windows/kinto.ahk#LL515C1-L517C1

    ; Cmd+Space Alternative
    $^Space::Send ^{Esc}

These are the lines in kinto.ahk that seem to be remapping Cmd+Space. In this case it looks like it remaps to Ctrl+Esc.

You can just comment out the line and put a new one in that remaps to whatever shortcut you set up for Flow Launcher to bind to.

Smith-Chris1 commented 1 year ago

You are awesome - I thought that was the line too, but I was confused by the Esc.

Anyways, I changed it to my Flow Launcher Shortcut of Alt+P:

; Cmd+Space Alternative $^Space::Send ^{p}

behloolsabir commented 11 months ago

I have a similar concern with Ubuntu. Could you advise me on the equivalent modification needed to turn it off?

edit: Found it for Ubuntu. It's called Default SL - Launch Application Menu (gnome/kde) in ~/.config/kinto/kinto.py. Deleting or commenting did the job for me.

    K("RC-Shift-Right_Brace"):  K("C-Page_Down"),       # Tab nav: Go to next (right) tab
    # K("RC-Space"): K("Alt-F1"),                   # Default SL - Launch Application Menu (gnome/kde)
    K("RC-F3"):K("Super-d"),                      # Default SL - Show Desktop (gnome/kde,eos)