add shortcut to execute the focus terminal operation when minimizeToNotificationArea #22720

Closed
opened 2026-01-31 08:21:32 +00:00 by claunia · 2 comments
Owner

Originally created by @bushnerd on GitHub (Dec 30, 2024).

Description of the new feature

Windows Terminal version
1.17.11461.0

Windows build number
NA

Other Software
No response

Steps to reproduce
Enable "minimizeToNotificationArea": true
Open terminal
Minimize terminal
Set the global shortcut key as specified, such as ctrl+`, to execute the focus terminal operation.

Expected Behavior
Restore terminal window

Actual Behavior
Currently, this feature is not available

I have implemented a shortcut to minimizeToNotificationArea with autohotkey, code as follows:

^`::
if WinActive("ahk_exe WindowsTerminal.exe") {
	WinMinimize, ahk_exe WindowsTerminal.exe 
} else {
}
return

Proposed technical implementation details

No response

Originally created by @bushnerd on GitHub (Dec 30, 2024). ### Description of the new feature Windows Terminal version 1.17.11461.0 Windows build number NA Other Software No response Steps to reproduce Enable "minimizeToNotificationArea": true Open terminal Minimize terminal Set the global shortcut key as specified, such as ctrl+`, to execute the focus terminal operation. Expected Behavior Restore terminal window Actual Behavior Currently, this feature is not available I have implemented a shortcut to minimizeToNotificationArea with autohotkey, code as follows: ``` ^`:: if WinActive("ahk_exe WindowsTerminal.exe") { WinMinimize, ahk_exe WindowsTerminal.exe } else { } return ``` ### Proposed technical implementation details _No response_
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 08:21:32 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Dec 30, 2024):

The globalSummon action should work even when minimized to the notification area.

Is it possible that some other program has already bound that hotkey? Can you try binding a different keybinding in the settings, just to see what happens?

Also, can you try a build of the Terminal from this year/? 1.17 is literally 18 months old 😄

@zadjii-msft commented on GitHub (Dec 30, 2024): The `globalSummon` action _should_ work even when minimized to the notification area. Is it possible that some other program has already bound that hotkey? Can you try binding a different keybinding in the settings, just to see what happens? Also, can you try a build of the Terminal from this year/? 1.17 is [literally 18 months old](https://github.com/microsoft/terminal/releases/tag/v1.17.11461.0) 😄
Author
Owner

@bushnerd commented on GitHub (Dec 31, 2024):

Thank you very much for your quick response. It's my fault; I've been looking for such an operation, and I didn't expect it to have been implemented.
I have already achieved my idea by following the operations as follows.

        {
            "command": {
                "action": "globalSummon",
                "toggleVisibility": true
            },
            "keys": "ctrl+`"

@bushnerd commented on GitHub (Dec 31, 2024): Thank you very much for your quick response. It's my fault; I've been looking for such an operation, and I didn't expect it to have been implemented. I have already achieved my idea by following the operations as follows. ```json { "command": { "action": "globalSummon", "toggleVisibility": true }, "keys": "ctrl+`" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22720