Allow for different appearance when running as Administrator #19117

Closed
opened 2026-01-31 06:34:16 +00:00 by claunia · 4 comments
Owner

Originally created by @trajano on GitHub (Dec 22, 2022).

Description of the new feature/enhancement

Although we have that smallish icon on the top left to remind us that we're running at Admin (Win-X Terminal Admin). It would be nice if we had the capability of having a different background, font, etc. to have a larger reminder that we're in Admin mode.

Proposed technical implementation details (optional)

Doesn't have to be in the UI immediately, but I am thinking so that there's not too much duplication we'd have something like

        "list": 
        [
            {
                "backgroundImage": "C:\\Users\\trajano\\Desktop\\terminal-3.jpg",
                "backgroundImageOpacity": 0.51000000000000001,
                "commandline": "C:/Program Files/Git/usr/bin/bash.exe -i -l",
                "guid": "{00000000-0000-0000-ba54-000000000001}",
                "icon": "C:\\Users\\trajano\\OneDrive\\Icons\\shebang.png",
                "name": "Bash",
                "startingDirectory": "%UserProfile%",
                "tabTitle": "..."
                "administratorOverride: {
                  "guid": "{00000000-0000-0000-ba54-000000000001}", // <-- THIS IS NOT ALLOWED

                  // this is an example of a change
                 "backgroundImage": "C:\\Users\\trajano\\Desktop\\terminal-admin.jpg",
                  "name": "Bash In ADMIN BE VERY CAREFUL",

                 // the rest are not needed if they're the same.  However I don't see a technical reason why 
                 // you won't allow changes to even the command line etc even though it will be silly for the user               
                  "backgroundImageOpacity": 0.51000000000000001,
                  "commandline": "C:/Program Files/Git/usr/bin/bash.exe -i -l",
                  "icon": "C:\\Users\\trajano\\OneDrive\\Icons\\shebang.png",
                  "startingDirectory": "%UserProfile%",
             }
            },
Originally created by @trajano on GitHub (Dec 22, 2022). # Description of the new feature/enhancement Although we have that smallish icon on the top left to remind us that we're running at Admin (Win-X Terminal Admin). It would be nice if we had the capability of having a different background, font, etc. to have a larger reminder that we're in Admin mode. # Proposed technical implementation details (optional) Doesn't have to be in the UI immediately, but I am thinking so that there's not too much duplication we'd have something like ```json "list": [ { "backgroundImage": "C:\\Users\\trajano\\Desktop\\terminal-3.jpg", "backgroundImageOpacity": 0.51000000000000001, "commandline": "C:/Program Files/Git/usr/bin/bash.exe -i -l", "guid": "{00000000-0000-0000-ba54-000000000001}", "icon": "C:\\Users\\trajano\\OneDrive\\Icons\\shebang.png", "name": "Bash", "startingDirectory": "%UserProfile%", "tabTitle": "..." "administratorOverride: { "guid": "{00000000-0000-0000-ba54-000000000001}", // <-- THIS IS NOT ALLOWED // this is an example of a change "backgroundImage": "C:\\Users\\trajano\\Desktop\\terminal-admin.jpg", "name": "Bash In ADMIN BE VERY CAREFUL", // the rest are not needed if they're the same. However I don't see a technical reason why // you won't allow changes to even the command line etc even though it will be silly for the user "backgroundImageOpacity": 0.51000000000000001, "commandline": "C:/Program Files/Git/usr/bin/bash.exe -i -l", "icon": "C:\\Users\\trajano\\OneDrive\\Icons\\shebang.png", "startingDirectory": "%UserProfile%", } }, ```
claunia added the Issue-FeatureArea-SettingsResolution-DuplicateProduct-Terminal labels 2026-01-31 06:34:16 +00:00
Author
Owner

@PankajBhojwani commented on GitHub (Dec 22, 2022):

Huh, we don't seem to have a pre-existing thread for this so this will be it then!

We have discussed this as a team before and it is something we really want to implement - the problem we are looking to solve is the potential combinatorial explosion of having too many appearance types. For example, we currently support a 'default' and an 'unfocused' appearance, if we also support admin appearance we will have 'admin-default' 'admin-unfocused' on top of that.

And if we want to support even further appearance types in the future (say, 'high contrast mode') then we have 'unfocused-high contrast', 'admin-unfocused-high contrast' ... and so on. Until we figure out a clean solution to that problem we are holding off on adding more appearance config options.

@PankajBhojwani commented on GitHub (Dec 22, 2022): Huh, we don't seem to have a pre-existing thread for this so this will be it then! We have discussed this as a team before and it is something we really want to implement - the problem we are looking to solve is the potential combinatorial explosion of having too many appearance types. For example, we currently support a 'default' and an 'unfocused' appearance, if we also support admin appearance we will have 'admin-default' 'admin-unfocused' on top of that. And if we want to support even further appearance types in the future (say, 'high contrast mode') then we have 'unfocused-high contrast', 'admin-unfocused-high contrast' ... and so on. Until we figure out a clean solution to that problem we are holding off on adding more appearance config options.
Author
Owner

@j4james commented on GitHub (Dec 22, 2022):

See also #3246 and #8311.

@j4james commented on GitHub (Dec 22, 2022): See also #3246 and #8311.
Author
Owner

@zadjii-msft commented on GitHub (Jan 3, 2023):

Good find!

/dup #3246
/dup #8311

@zadjii-msft commented on GitHub (Jan 3, 2023): Good find! /dup #3246 /dup #8311
Author
Owner

@ghost commented on GitHub (Jan 3, 2023):

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 (Jan 3, 2023): 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#19117