Hide 'Open in Terminal' context menu item when running Preview? #21099

Open
opened 2026-01-31 07:33:08 +00:00 by claunia · 0 comments
Owner

Originally created by @NebularNerd on GitHub (Jan 16, 2024).

Description of the new feature/enhancement

I tend to run Terminal Preview not regular Terminal, can we have an option to hide Open in Terminal so we don't have two terminal context menu items? Potentially even remove Preview from the preview context item?

image

Proposed technical implementation details (optional)

I've tried the following regedit below which is on various sites, but it removes both entries which is obviously not what we want.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=""
Originally created by @NebularNerd on GitHub (Jan 16, 2024). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement I tend to run Terminal Preview not regular Terminal, can we have an option to hide `Open in Terminal` so we don't have two terminal context menu items? Potentially even remove `Preview` from the preview context item? ![image](https://github.com/microsoft/terminal/assets/8470449/9b52d478-b777-4528-be60-8488990438e3) # Proposed technical implementation details (optional) I've tried the following regedit below which is on various sites, but it removes both entries which is obviously not what we want. ``` Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked] "{9F156763-7844-4DC4-B2B1-901F640F5155}"="" ```
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 07:33:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21099