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.
Believe me, you will receive a notification when a version of Terminal is released with this change if only you'd click the Subscribe button.
Is this the place to propose additional features for quake mode?
I would like a secondary key which is used solely to hide quake window if it is active/in focus. I see in the mega thread that the quakeMode action is used to summon and hide the window. But I would like to optionally use another key to hide the window. In my case it would be the escape key.
What would also be important is to hide the window‘s title bar. At least this is what tilda/guake are doing which is cool because this way more space is available for content.
@Defcon0 according to this checklist, quake mode will open in focus mode which hides tabs and titlebar. Read about focus mode here: https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-2-release/#focus-mode
You can add a keybinding for toggleFocusMode to see what it looks like yourself.
I mean, technically the place to suggest features would have been in #9274 - but we can continue the discussion here.
Using esc to dismiss the window might be fraught with peril - that's a key that's used by plenty of other commandline applications, as well as apps in general. So I definitely wouldn't want to globally bind that one. I guess hypothetically we could add a dismissWindow action, that you could bind to esc to minimize/hide the window.
hide the window‘s title bar. At least this is what tilda/guake are doing which is cool because this way more space is available for content.
You'll be happy to know that the _quake window will already open in focus mode by default, see #9785
@zadjii-msft I didn't think about that. I think I could get along with just using the summon action then.
Just a note, it's important to think about features as part of the bigger picture, @zadjii-msft mentioned the dismissWindow action which could be an entirely separate feature by itself, completely unrelated to quake mode. 👍
:tada:This issue was addressed in #9854, which has now been successfully released as Windows Terminal Preview v1.9.1445.0.:tada:
Handy links:
🎉This issue was addressed in #9854, which has now been successfully released as
Windows Terminal Preview v1.9.1445.0.🎉Handy links:
Could someone please post example settings I can add in my settings.json file to enable Quakemode toggle via Control+Shift+C hotkey combo? Also, how do I change the Quakemode window to only drop-down on the right side of my desktop ...similar to how I would do it in Windows-Terminal-Quake companion? Thanks in advance for all the hard work getting this working.
🎉This issue was addressed in #9854, which has now been successfully released as
Windows Terminal Preview v1.9.1445.0.🎉 Handy links:Could someone please post example settings I can add in my
settings.jsonfile to enable Quakemode toggle viaControl+Shift+Chotkey combo? Also, how do I change the Quakemode window to only drop-down on the right side of my desktop ...similar to how I would do it in Windows-Terminal-Quake companion? Thanks in advance for all the hard work getting this working.
Link to the official docs where it's easily explained.
This is the setting you are looking for:
{ "keys": "win+`", "command": { "action": "quakeMode" } }
You need to go to Settings>Open JSON file and add that setting under the actions array like so:
{
"actions": [
...,
{
"command": { "action": "quakeMode" },
"keys": "ctrl+f12" // I changed mine to this, feel free to set the keybinding of your preference
},
],
...
}
P.S: Remember this only works in the preview build that you can download from the store.
🎉This issue was addressed in #9854, which has now been successfully released as
Windows Terminal Preview v1.9.1445.0.🎉 Handy links:Could someone please post example settings I can add in my
settings.jsonfile to enable Quakemode toggle viaControl+Shift+Chotkey combo? Also, how do I change the Quakemode window to only drop-down on the right side of my desktop ...similar to how I would do it in Windows-Terminal-Quake companion? Thanks in advance for all the hard work getting this working.Link to the official docs where it's easily explained.
This is the setting you are looking for:
{ "keys": "win+`", "command": { "action": "quakeMode" } }You need to go to Settings>Open JSON file and add that setting under the
actionsarray like so:{ "actions": [ ..., { "command": { "action": "quakeMode" }, "keys": "ctrl+f12" // I changed mine to this, feel free to set the keybinding of your preference }, ], ... }P.S: Remember this only works in the preview build that you can download from the store.
Works great, but only after I manually open WT. After I boot Windows, does nothing.
@wandoschneider I would say that, for guake mode to work, the terminal has to running, so it can listen for commands. You can easily solve that changing this:
Settings>Startup>"Launch on machine startup" set to "On"
I don't know, though, if there's a way to launch it minimized to taskbar. Maybe it already does, I haven't tested out that feature yet.
is there a way to hide the window, not just minimize it?
@wandoschneider I would say that, for guake mode to work, the terminal has to running, so it can listen for commands. You can easily solve that changing this:
Settings>Startup>"Launch on machine startup" set to "On"I don't know, though, if there's a way to launch it minimized to taskbar. Maybe it already does, I haven't tested out that feature yet.
I have figured that out. But opening the windows every time I boot the OS is unnecessary.
is there a way to hide the window, not just minimize it?
I believe this is still being worked upon. See #5727 for the issue and #10179 for some of the work.
Also follow the megathread at #8888
I have a couple of more questions. I wasn't sure where else to ask...
Is there a way to configure Terminal Preview Quake mode to only open on the right side of the screen? Currently, quake mode takes up the entire width of my widescreen monitor. I couldn't find how to specify the quake window size and how to dock it to the right side of my desktop.
Also, is there a way to change Quake Mode the animation speed?
@mkanet
I have a couple of more questions. I wasn't sure where else to ask...
Is there a way to configure Terminal Preview Quake mode to only open on the right side of the screen? Currently, quake mode takes up the entire width of my widescreen monitor. I couldn't find how to specify the quake window size and how to dock it to the right side of my desktop.
Also, is there a way to change Quake Mode the animation speed?
The new feature is actually globalSummon - "Quake" mode is a pre-configuration of that new feature. They've got documentation for it here
Here's my configuration for it (it goes in the actions section of the settings.json) if that's helpful to go by:
{
"command": {
"action": "globalSummon",
"dropdownDuration": 200,
"monitor": "any" // keeps it on the same monitor
},
"keys": "ctrl+'"
},
This will summon it to the same monitor/place it was originally on (I prefer it to always be on my middle monitor), have an animation speed of 200ms and is summoned with ctrl+'.
I don't think you can specify the position that it's summoned to, but you can set it to only summon the existing terminal. I've found the settings that let you specify, during startup, the initial position, rows & columns (the rows & columns are exposed in the settings gui, but the initial position isn't). You can probably get it to startup in a position on the right-hand side of the screen at a certain size (i.e. the position you'd like it in) and then never move it. Those settings are added to the root (you've probably already got the initialCols and initialRows in there):
"initialCols": 215,
"initialPosition": "60,0",
"initialRows": 45,
I've set mine up to start at the top of the screen, slightly in, and then have it wide enough to take up about 90% of the width of my screen (which is what I prefer)
@tristanjthompson thank you. When I use "action": "globalSummon", instead of the terminal dropping down from the top of my screen (what I expect), the window just minimizes to the taskbar and back.
If I use "action": "quakeMode" It does drop down from the top of my monitor.. .however, it ignores all the settings I have to control the initial size and position: I.E., initialPosition, initialCols, etc.
Is there a way to use Quakemode with the flexibility to control size and position? All I'm trying to do is reproduce Quakemode I would expect when using apps like ConEmu or Windows-Terminal-Quake companion.
@tristanjthompson thank you. When I use
"action": "globalSummon", instead of the terminal dropping down from the top of my screen (what I expect), the window just minimizes to the taskbar and back.
@mkanet If you set a dropdownDuration it will drop down from the top - as globalSummon respects the initial position/size settings then with this in place it should do everything you've mentioned. All of its capabilities are in the documentation - check it out and have play!
Great that this feature got released. Now gotta wait for system tray support and startup to system tray 👍