Feature request: hot key drop down ala quake/guake/tilda
The petty thing I miss most when I pop into Windows is having a separate hot key terminal for each of my three monitors. The closest i've ever been to believing in god was when I realized that was obtainable and if you could make that happen in Windows I just might have to kiss you.
Ahh how I wish ConEmu was a solution for me, it doesn't work for everyone, it's built on top of Hotkey, and anything on top of hot key is detected as trojan (false alarm).
A lot of people are using terminal for work, and their work don't allow them to install something which is detected as a trojan. (same as Qonsole) https://github.com/joedf/Qonsole/issues/9
Another important thing to consider when implementing this is that the drop-down should appear on the currently active virtual desktop. I use virtual desktops heavily. When I first started using ConEmu, I found that the drop-down terminal would always move me back to desktop 1 and then show the drop-down. I eventually found the settings to get it working as expected in ConEmu, and it is critical that Windows Terminal behave the same way.
Yeah, that should have been obvious actually :D imagine pressing hot key and terminal appearing on the first one when you're on other workspace.
So until our overlords add this to the terminal, I've concocted a simple piece of C# that fixes this for me in the mean time: https://github.com/flyingpie/windows-terminal-quake.
It does Quake-style drop down using CTRL+~ and CTRL+Q, which is totally changeable of course. Currently does fullscreen drop and comes down on the screen + workspace where the mouse is.
Should anyone be drawn, I'm open to suggestions and/or PRs.
@flyingpie That's a pretty neat piece of code you've got there. Looks like most of it would work in c++ as well, so that's good to know.
I just want to re-iterate that while no one on the team is going to have the cycles to do this for 1.0, we'd pretty happily review a contribution from the community. Ideally someone in the community would be able to compile the suggestions and comments from this thread into the Spec Template and submit a PR for that spec. Once that spec is approved, we'd happily review a PR with the code change needed. Looks to me like @flyingpie has really got 90% of the basics down, it'd mostly be polishing the edge cases.
I have a similar usecase. I don't use Quake style, but I do really like the always open terminal.
My ConEmu setup does the following that wt.exe seems to lack so far (in rough order of importance):
- My ConEmu literally does not quit except at shutdown or when explicitly asked. If I close the last tab, it's still open just with no tabs.
- It launches to the same location every time. (0,0) on my second monitor.
- I have a global hotkey to toggle focus of it (ctrl+`).
- It does not show up on the task bar. It has a tray icon.
- You can only start one instance of it.
- It automatically launches upon windows login. (important for the following)
- It is the default terminal, automatically consuming other terminals (I.E. If I 'Run' wt.exe, then run cmd.exe, I would expect that wt.exe would just open a new tab with the new cmd.exe tab)***
All of those are roughly blockers for me switching to wt.exe from ConEmu.
Additionally:
- Some people would want always on top.
- Some people want minimize on focus lost, and those people generally want to disable the minimizing/maximizing animation.
- Some want the terminal to jump to their 'active' monitor upon focus.
- Some want multiple terminal instances?***
These are all different features which should have their own specs IMO. I'm willing to drive some of this spec process. @zadjii-msft Do you know of any of these bullet points that either have specs already, won't be accomplished for some reason, etc?
*** Tricky?
So you've listed a number of separate issues, lemme see if I can link them all:
- #2080 is the WIP spec for this feature, that's going to turn into a massive spec by the time it's done.
- #1043 probably doesn't need a spec TBH, just needs someone to do the work
- #653 (this issue)
- I frankly haven't heard the request to not have it in the taskbar before. So that definitely doesn't have it's own issue. Having a tray icon seems necessary for not having a taskbar icon, so these could probably be a single spec/task
- This falls under #2080
- #2189
- #492 is tracking this, but it's going to require some OS changes likely. This also comes up frequently in #2080.
- I could have sworn this had it's own issue, but looks like it doesn't.
- Never heard this request before, but sounds neat to me
- Seems vaguely similar to this feature TBH. Maybe we should consider both these scenarios in this spec?
- Not sure what you mean on this point - do you mean panes, like #1000?
Out of those, #1043, #653, #2189 are all marked "Help-Wanted" 😉
I mentioned 4. before, and to make sure that Terminal doesn't appear on Alt+Tab nor Win+Tab when window is hidden
multiple instances means multiple windows that may but don't have to be spread across multiple screens or virtual desktops I assume, but that would make handling global hotkeys much more complex or even impossible (I think conemu disables multi instance when enabling quake mode)
For 11/"multiple instances means multiple windows", I specifically mean what the OP described here: https://github.com/microsoft/terminal/issues/653#issuecomment-491389892
I don't particularly care about that, but it's a separate related issue. I guess they want multiple global hotkeys to open/activate/focus multiple instances in the same way that I want one hotkey for item # 3 on my list.
@zakius
I mentioned 4. before, and to make sure that Terminal doesn't appear on Alt+Tab nor Win+Tab when window is hidden
multiple instances means multiple windows that may but don't have to be spread across multiple screens or virtual desktops I assume, but that would make handling global hotkeys much more complex or even impossible (I think conemu disables multi instance when enabling quake mode)
Multiple instances disabled is what happens on ConEmu when quake dropdown is used. It's near impossible to handle that behaviour in a logical manner you must utilize your tabs or use a terminal multiplexer if you want something like multiple instances WITH quake dropdown.
EDIT: You could possibly work in something where the first terminal window opened is the master and this is the window that is always called down when using the Quake hotkey.
Could be tricky to work that in with tab support - which perhaps is why no other terminal that I know of supports that behaviour. There is also some edge case to consider in that scenario like what happens if you close your main master window and there is a secondary window still open - would the hotkey continue ignoring this secondary terminal window etc.
For ConEmu when Quake is enabled and you try to open ConEmu again (Say from the desktop shortcut) it won't open a new window, instead it will just bring to focus the existing running terminal.
You could possibly work in something where the first terminal window opened is the master and this is the window that is always called down when using the Quake hotkey.
there's also the possibility of allowing to run single instance per physical screen per virtual desktop and this way main hotkey would always bring up the instance on your current active VD and screen, but that's pretty complicated, I think disabling multiple instances is reasonable
I think multiple instances can be ignored if the tabs keep being improved on and the quake-style window can be called from anywhere. At least for now.
there's also the possibility of allowing to run single instance per physical screen per virtual desktop and this way main hotkey would always bring up the instance on your current active VD and screen, but that's pretty complicated, I think disabling multiple instances is reasonable
I wouldn't ignore multiple instances entirely - sometimes it is very handy to have open a terminal on one screen that streams logs or shows system load while working within another terminal on na adjacent screen.
I have previously been using Ubuntu desktop for the last few years (just went back to Windows since WSL v2) and since Guake and the Ubuntu terminal are very similar in terms of responsiveness, UI design / themes etc I often had the default Ubuntu terminal open on my vertical screen watching logs and system load.
That is obviously the easy way around the issue if multiple instances with dropdown is disabled - Use a different terminal. Problem is most terminals on Windows are complete garbage (Hence this project ofc).
the extra instances were with multiple monitors in mind when I suggested it. One per monitor, each with its own hot key. I use a portrait landscape portrait set up at home and while running mint have guake running in the center but it doesn't offer the extra instances tilda has so I use it on the exterior portrait monitors.
On Mon, Sep 16, 2019 at 2:00 PM nofunatall [email protected] wrote:
there's also the possibility of allowing to run single instance per physical screen per virtual desktop and this way main hotkey would always bring up the instance on your current active VD and screen, but that's pretty complicated, I think disabling multiple instances is reasonable
I wouldn't ignore multiple instances entirely - sometimes it is very handy to have open a terminal on one screen that streams logs or shows system load while working within another terminal on na adjacent screen.
I have previously been using Ubuntu desktop for the last few years (just went back to Windows since WSL v2) and since Guake and the Ubuntu terminal are very similar in terms of responsiveness, UI design / themes etc I often had the default Ubuntu terminal open on my vertical screen watching logs and system load.
That is obviously the easy way around the issue if multiple instances with dropdown is disabled - Use a different terminal. Problem is most terminals on Windows are complete garbage (Hence this project ofc).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/terminal/issues/653?email_source=notifications&email_token=ACAH5BIA5ZPETCBZK77LMVLQJ7XYVA5CNFSM4HL735C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62QC3Q#issuecomment-531956078, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAH5BM722EZEB5LQBXGW6TQJ7XYVANCNFSM4HL735CQ .
Guys, we clearly have two separate issues here. Could we edit this one to just be about the "Quake style" (global/single terminal) hotkey?
Then a second issue, that would be blocked by this one, to enable assigning a dedicated "Quake style" hotkey to a different displays.
The first one seems to be more popular and desired. I'd love to see the second one too (cool idea @NOFUNEVER never thought of such feature, seems useful), but it would be nice if we could clear up the topic a bit.
The OP's issue is actually more of the second, despite the name of this issue. Regardless, I think having a hotkey open a single terminal is largely blocked by #2080. We can't really have a hotkey open a single terminal until we can enforce a single terminal.
https://github.com/microsoft/terminal/issues/653#issuecomment-520419611
This is the best breakdown I think.
@rlabrecque Yes, I know that original issue was related to more fancier solution, but looking at the comments most people expressed a desire for "quake"-style only, much less people were interested in custom hotkeys for any display.
That's why I proposed converting this issue into a quake-style related and extract the followup feature request to a separate issue where we'll be able to track it too.
It seems to me this needs to be broken down into multiple issues for each of the various features, starting with the fundamental hotkey-to-toggle-visibility feature. That can be done without any of the other features, right?
With multiple issues, it would be much easier to see what the demand was for each particular twist on the recipe and prioritize development. It does seem like the minimum viable feature would scratch a lot of people's itches.
Is that not what comment https://github.com/microsoft/terminal/issues/653#issuecomment-520419611 is describing?
For anyone waiting for this to switch from conemu (like myself), etc. You can use autohotkey and a pinned taskbar item as a workaround.
autohotkey script:
^`::Send #5
This will map ctrl+` to winkey+5, change that to your needs.