Inherit icon from executable specified in "commandline" for default #11757

Closed
opened 2026-01-31 02:56:31 +00:00 by claunia · 3 comments
Owner

Originally created by @ddarfantasy on GitHub (Dec 10, 2020).

Description of the new feature/enhancement

Use icon of the executable specified in "commandline" for default.

Proposed technical implementation details (optional)

For example:
If I have this in my config:
图片
I want to see the icon of python.exe at here by default:
图片

(I hope it isn't a dup. :) )

Originally created by @ddarfantasy on GitHub (Dec 10, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 Use icon of the executable specified in "commandline" for default. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) For example: If I have this in my config: ![图片](https://user-images.githubusercontent.com/75518399/101810369-aca8cc80-3b53-11eb-86b5-989107bab9c1.png) I want to see the icon of python.exe at here by default: ![图片](https://user-images.githubusercontent.com/75518399/101810482-ce09b880-3b53-11eb-8844-e5d510dedb9a.png) <!-- A clear and concise description of what you want to happen. --> (I hope it isn't a dup. :) )
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:56:31 +00:00
Author
Owner

@Don-Vito commented on GitHub (Dec 10, 2020):

@ddarfantasy - I believe this is very similar to https://github.com/microsoft/terminal/issues/1504, but more complex (as now you need to resolve what is the relevant "python.exe" - logic that is usually down by CreateProcess itself).

@Don-Vito commented on GitHub (Dec 10, 2020): @ddarfantasy - I believe this is very similar to https://github.com/microsoft/terminal/issues/1504, but more complex (as now you need to resolve what is the relevant "python.exe" - logic that is usually down by `CreateProcess` itself).
Author
Owner

@DHowett commented on GitHub (Dec 10, 2020):

This is a good request, but it is also very difficult because as @Don-Vito points out we'd need to effectively run CreateProcess (or crib all of its resolution logic) to figure out what application you're pointing at... and even so, it could be wrong and of course expensive to do for every profile. I'd rather support it as part of /dup #1504 😄

@DHowett commented on GitHub (Dec 10, 2020): This is a good request, but it is also very difficult because as @Don-Vito points out we'd need to effectively run `CreateProcess` (or crib all of its resolution logic) to figure out _what application you're pointing at_... and even so, it could be wrong and of course expensive to do for every profile. I'd rather support it as part of /dup #1504 :smile:
Author
Owner

@ghost commented on GitHub (Dec 10, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 10, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11757