Background image doesn't change even if I change the property #9137

Closed
opened 2026-01-31 01:46:53 +00:00 by claunia · 12 comments
Owner

Originally created by @Agent24015 on GitHub (Jun 19, 2020).

Hi, I Have Changed the background image property but it doesn't change the background image,

{ "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl", "backgroundImage": "C:\\Users\\Administrator\\AppData\\Local\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\LocalState\\img.jpg" }

image

Originally created by @Agent24015 on GitHub (Jun 19, 2020). Hi, I Have Changed the background image property but it doesn't change the background image, ` { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl", "backgroundImage": "C:\\Users\\Administrator\\AppData\\Local\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\LocalState\\img.jpg" }` ![image](https://user-images.githubusercontent.com/63150826/85102837-17232480-b223-11ea-89b7-c95b8ec83a18.png)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 01:46:53 +00:00
Author
Owner

@WSLUser commented on GitHub (Jun 19, 2020):

Did you restart Windows Terminal? Hot-reloading isn't enabled yet for this setting.

@WSLUser commented on GitHub (Jun 19, 2020): Did you restart Windows Terminal? Hot-reloading isn't enabled yet for this setting.
Author
Owner

@DHowett commented on GitHub (Jun 19, 2020):

What? It absolutely is.

@DHowett commented on GitHub (Jun 19, 2020): What? It _absolutely is_.
Author
Owner

@Agent24015 commented on GitHub (Jun 20, 2020):

I have tried restarting Terminal, rebooted my system and tried uninstalling and
reinstalling and set the same property. It still doesn't work!

@Agent24015 commented on GitHub (Jun 20, 2020): I have tried restarting Terminal, rebooted my system and tried uninstalling and reinstalling and set the same property. It still doesn't work!
Author
Owner

@Kironb commented on GitHub (Jun 21, 2020):

I had the same issue after updating to windows version 2004. I am not sure as to why this is happening but I know I can still change the image for my powershell instance.

A workaround to display the image for me was to run wsl through Powershell.

For example, for your settings, I would change it to something like:
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu",
"commandline": "powershell.exe -Command "wsl"",
"backgroundImage": "C:\Users\Administrator\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\img.jpg"
}

If Ubuntu isn't your default wsl instance you can just add a -d flag for the distribution you want to run.

@Kironb commented on GitHub (Jun 21, 2020): I had the same issue after updating to windows version 2004. I am not sure as to why this is happening but I know I can still change the image for my powershell instance. A workaround to display the image for me was to run wsl through Powershell. For example, for your settings, I would change it to something like: { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu", "commandline": "powershell.exe -Command \"wsl\"", "backgroundImage": "C:\\Users\\Administrator\\AppData\\Local\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\LocalState\\img.jpg" } If Ubuntu isn't your default wsl instance you can just add a -d flag for the distribution you want to run.
Author
Owner

@DHowett commented on GitHub (Jun 21, 2020):

Are either of you using antialiasingMode cleartype?

@DHowett commented on GitHub (Jun 21, 2020): Are either of you using `antialiasingMode` `cleartype`?
Author
Owner

@Kironb commented on GitHub (Jun 21, 2020):

No, I am not setting antialiasingMode.

@Kironb commented on GitHub (Jun 21, 2020): No, I am not setting `antialiasingMode`.
Author
Owner

@DHowett commented on GitHub (Jun 26, 2020):

But is @Agent24015 using antialiasingMode?

@DHowett commented on GitHub (Jun 26, 2020): But is @Agent24015 using `antialiasingMode`?
Author
Owner

@Agent24015 commented on GitHub (Jun 26, 2020):

Nope, I am not using it

@Agent24015 commented on GitHub (Jun 26, 2020): Nope, I am not using it
Author
Owner

@zadjii-msft commented on GitHub (Aug 5, 2020):

Hey sorry for the delay, but what happens if you try using an image path that's not under C:\Users\Administrator\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState? What if you try moving the image to just C:\Users\Administrator\img.jpg?

@zadjii-msft commented on GitHub (Aug 5, 2020): Hey sorry for the delay, but what happens if you try using an image path that's _not_ under `C:\Users\Administrator\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState`? What if you try moving the image to just `C:\Users\Administrator\img.jpg`?
Author
Owner

@Agent24015 commented on GitHub (Aug 5, 2020):

Thanks @zadjii-msft, I did that and it worked, but not sure what the problem actually is

@Agent24015 commented on GitHub (Aug 5, 2020): Thanks @zadjii-msft, I did that and it worked, but not sure what the problem actually is
Author
Owner

@Agent24015 commented on GitHub (Aug 5, 2020):

I am closing this issue now.

@Agent24015 commented on GitHub (Aug 5, 2020): I am closing this issue now.
Author
Owner

@Lukortech commented on GitHub (Nov 5, 2021):

The background still doesn't apply even if the image is in another directory in my case.
image

@Lukortech commented on GitHub (Nov 5, 2021): The background still doesn't apply even if the image is in another directory in my case. ![image](https://user-images.githubusercontent.com/26508593/140514769-a7879f9b-020b-4c89-90fa-d78c1ad4c784.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9137