Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colorScheme doesn't working #2384

Closed
zsef123 opened this issue Aug 10, 2019 · 4 comments
Closed

colorScheme doesn't working #2384

zsef123 opened this issue Aug 10, 2019 · 4 comments
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Needs-Tag-Fix Doesn't match tag requirements Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.

Comments

@zsef123
Copy link

zsef123 commented Aug 10, 2019

I added schemes in profiles.json (json files below)

But Powershell, WSL colorSchemes did not changing. Only cmd colorschme has changing

Environment

Windows build number: [Version 10.0.18362.267]
Windows Terminal version (if applicable): 0.3.2171.0

PowerShell : PSVersion                      5.1.18362.145

WSL : WSL 2 / Ubuntu - 18.04

Screenshot

image

profiles.json

....

          {
            "acrylicOpacity" : 0.5,
            "closeOnExit" : true,
            "colorScheme" :"Material Dark",
            "commandline" : "wsl.exe -d Ubuntu-18.04",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
            "name" : "Ubuntu-18.04",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
        },
        {
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Material Dark",
            "commandline" : "powershell.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "PowerShell",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
        },
        {
            "acrylicOpacity" : 0.5,
            "closeOnExit" : true,
            "colorScheme" : "Solarized Light",
            "commandline" : "cmd.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
            "name" : "cmd",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
        },

....

"schemes" : 
    [
        {
            "name" : "Material Dark",
            "foreground" : "#E5E5E5",
            "background" : "#232322",
            "black" : "#212121",
            "blue" : "#134EB2",
            "brightBlack" : "#424242",
            "brightBlue" : "#54A4F3",
            "brightCyan" : "#26BBD1",
            "brightGreen" : "#7ABA3A",
            "brightPurple" : "#AA4DBC",
            "brightRed" : "#E83B3F",
            "brightWhite" : "#D9D9D9",
            "brightYellow" : "#FFEA2E",
            "cyan" : "#0E717C",
            "green" : "#457B24",
            "purple" : "#560088",
            "red" : "#B7141F",
            "white" : "#EFEFEF",
            "yellow" : "#F6981E"
        },
....

I try to other default schemes, but it's not working too.
Even using ColorTools

Am I missing some steps?

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 10, 2019
@DHowett-MSFT
Copy link
Contributor

Your WSL window looks like Material Dark. PowerShell isn't changing because it has a background set. Delete the background setting from PowerShell.

@DHowett-MSFT DHowett-MSFT added Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. Area-Settings Issues related to settings and customizability, for console or terminal and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Aug 12, 2019
@zsef123
Copy link
Author

zsef123 commented Aug 15, 2019

Now works fine!
Thanks!!

@zsef123 zsef123 closed this as completed Aug 15, 2019
@Lukortech
Copy link

Hey guys, sorry to bring it up again but in my case I can't seem to apply the custom background no matter what I do.
image

The file is there, under the link in settings, what's more interesting is that settings UI catches up and shows that the terminal should change appearance.
image

@Lukortech
Copy link

For any people lost on this: turns out the terminal opened by powershell when you ask it to run wsl.exe is not ubuntu.

What I did was:
Desktop -> create shortcut -> wt -p "Ubuntu" `; split-pane -V -p "Git Bash" add a nice icon to it, pin to taskbar.
That way I've gotten this to work:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Needs-Tag-Fix Doesn't match tag requirements Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.
Projects
None yet
Development

No branches or pull requests

3 participants