Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Run] Support press the same key twice to open Run #3957

Open
keserwan opened this issue Jun 1, 2020 · 16 comments
Open

[Run] Support press the same key twice to open Run #3957

keserwan opened this issue Jun 1, 2020 · 16 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerToys Run Improved app launch PT Run (Win+R) Window

Comments

@keserwan
Copy link

keserwan commented Jun 1, 2020

No description provided.

@enricogior enricogior added Product-PowerToys Run Improved app launch PT Run (Win+R) Window Idea-Enhancement New feature or request on an existing product labels Jun 1, 2020
@enricogior enricogior changed the title just a suggestion to open PowerToys from double Alt keystrokes instead of alt+space. [PT Run] suggestion to open it from double Alt keystrokes instead of alt+space. Jun 1, 2020
@petevb
Copy link

petevb commented Jun 2, 2020

Please choose an unused key combination as the default.

Alt + Space has opened the focussed window's system menu since Windows 3, possibly earlier! :). I find that keystroke is occasionally useful to bring an offscreen windows back onscreen via the keyboard (win+space, m, then cursor keys). Here's what alt +space "should" do on Windows:
image

I tried to remap PT Run to Win + Space (which would match how I use OS X with a Windows keyboard) but PT doesn't seem to support that remapping here:
image

@petevb
Copy link

petevb commented Jun 2, 2020

May be useful , https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts#Window_management

@androidSwDev099
Copy link

androidSwDev099 commented Jun 2, 2020

Please choose an unused key combination as the default.

Alt + Space has opened the focussed window's system menu since Windows 3, possibly earlier! :). I find that keystroke is occasionally useful to bring an offscreen windows back onscreen via the keyboard (win+space, m, then cursor keys). Here's what alt +space "should" do on Windows:
image

I tried to remap PT Run to Win + Space (which would match how I use OS X with a Windows keyboard) but PT doesn't seem to support that remapping here:
image

Try this:
https://www.google.com/amp/s/www.techrepublic.com/google-amp/article/how-to-remap-keys-use-windows-10-powertoys-keyboard-manager/

I confirmed Win+Space will work if mapped to Alt-Space using PT Keyboard Manager method. Can't use Alt-Alt because double keys not allowed.

@androidSwDev099
Copy link

androidSwDev099 commented Jun 2, 2020

May be useful , https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts#Window_management

Thank you. Very useful. For PT Run, why did PowerToys devs decide to hijack Alt Space which is already used by Windows for "Pop up window menu" as stated in above link????

@ghost
Copy link

ghost commented Jun 7, 2020

I've been using alt+space since before I had a mouse. Sorry, Powertoys Run, that seat is reserved.

@androidSwDev099
Copy link

androidSwDev099 commented Jun 9, 2020

I just figured out that I could remap the key combination that starts PT Run from PT Run settings itself, thus freeing up Alt-Space to be its normal Windoze default.

Open PT settings -> PowerToys Run -> Shortcuts -> Open PowerToys Run .

Type Ctrl-Space in the box and you can use that key combination to open PT Run. AFAIK, Ctrl-Space is not used by anything standard in Widoze, but please let me know if it is.

Other Alt or Ctrl combinations will work too, but my conflict with other functions.

@petevb
Copy link

petevb commented Jun 10, 2020

The main issue is that the default shouldn't be Alt + Space because it's already reserved by Windows.

I just figured out that I could remap the key combination that starts PT Run

Yes, but as above, you can't map the Windows key.

Type Ctrl-Space in the box and you can use that key combination to open PT Run

Thanks for the suggestion. Unfortunately Ctrl + Space is a default in Visual Studio:

image

Win + R could have been a sensible default as it's been used for years to run an application. But PT Run doesn't seem to be able to run commands unless it can find an app (e.g. "notepad" works, but "bash" doesn't unless it's already running) so it can't properly replace win+r yet.

It's great that users can choose an alternative that suits them. I've gone with ctrl + alt + space.

@petevb
Copy link

petevb commented Jun 11, 2020

This feature was merged with d9c4abe
@traies would you accept a PR to add the Ctrl modifier too ?

@Poopooracoocoo
Copy link

I'd love to be able to search using PowerToys Run once you press the Windows key. It's already a replacement for Windows Search. At this point why not just replace it?

@gerrycoll-myob
Copy link

See also Raymond Chen - https://devblogs.microsoft.com/oldnewthing/20090511-00/?p=18303

@ghost
Copy link

ghost commented Jul 15, 2020

See also Raymond Chen - https://devblogs.microsoft.com/oldnewthing/20090511-00/?p=18303

I use alt+space for this exact purpose. When enabling/disabling primary/secondary displays, it's a common thing.

@Poopooracoocoo
Copy link

I personally use Sizer from BrianApps. The shortcut is win+ctrl+z. I centre windows all the time. it is indeed overboard 🤪

@enricogior enricogior changed the title [PT Run] suggestion to open it from double Alt keystrokes instead of alt+space. [PT Run] Support press the same key twice to open Run Jan 9, 2021
@enricogior enricogior changed the title [PT Run] Support press the same key twice to open Run [Run] Support press the same key twice to open Run Jan 9, 2021
@enricogior
Copy link
Contributor

enricogior commented Feb 4, 2021

Related to #3269

@ghost
Copy link

ghost commented Feb 4, 2021

I personally use Sizer from BrianApps. The shortcut is win+ctrl+z. I centre windows all the time. it is indeed overboard 🤪

That's cool but it doesn't get back the shortcut I've been using since the 90s ;)

@kitgrose
Copy link

I'd love to see this added. On Mac I've long had my Alfred hotkey set to double-tap command and it's so deeply ingrained in my muscle memory that I can't seem to ever remember my PowerToys Run shortcut on Windows!

@Arrow-Li
Copy link

Any plan for this at 2024?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerToys Run Improved app launch PT Run (Win+R) Window
Projects
None yet
Development

No branches or pull requests

8 participants