From b096a573876682d22c7b195beeeece4ca19b4810 Mon Sep 17 00:00:00 2001 From: Gage Ames Date: Mon, 23 Sep 2019 09:15:47 -0700 Subject: [PATCH] Update path to profiles.json in documentation (#2843) The profiles.json file was moved from RoamingState to LocalState in PR #2298. Update the documentation to reflect this change. --- doc/user-docs/UsingJsonSettings.md | 6 +++--- doc/user-docs/index.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/user-docs/UsingJsonSettings.md b/doc/user-docs/UsingJsonSettings.md index 93c4c4682..6bedd540c 100644 --- a/doc/user-docs/UsingJsonSettings.md +++ b/doc/user-docs/UsingJsonSettings.md @@ -4,7 +4,7 @@ One way (currently the only way) to configure Windows Terminal is by editing the `profiles.json` settings file. At the time of writing you can open the settings file in your default editor by selecting `Settings` from the WT pull down menu. -The settings are stored in the file `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_\RoamingState\profiles.json`. +The settings are stored in the file `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_\LocalState\profiles.json`. As of [#2515](https://github.com/microsoft/terminal/pull/2515), the settings are split into _two_ files: a hardcoded `defaults.json`, and `profiles.json`, which @@ -200,14 +200,14 @@ like to hide all the WSL profiles, you could add the following setting: 1. Download the Debian JPG logo https://www.debian.org/logos/openlogo-100.jpg 2. Put the image in the - `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_\RoamingState\` + `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_\LocalState\` directory (same directory as your `profiles.json` file). __NOTE__: You can put the image anywhere you like, the above suggestion happens to be convenient. 3. Open your WT json properties file. 4. Under the Debian Linux profile, add the following fields: ```json - "backgroundImage": "ms-appdata:///Roaming/openlogo-100.jpg", + "backgroundImage": "ms-appdata:///Local/openlogo-100.jpg", "backgroundImageOpacity": 1, "backgroundImageStretchMode" : "none", "backgroundImageAlignment" : "topRight", diff --git a/doc/user-docs/index.md b/doc/user-docs/index.md index 2ef354dbd..8aebdd4da 100644 --- a/doc/user-docs/index.md +++ b/doc/user-docs/index.md @@ -67,7 +67,7 @@ Not currently supported "out of the box". See issue [#1060](https://github.com/m ## Configuring Windows Terminal -All Windows Terminal settings are currently managed using the `profiles.json` file, located within `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe/RoamingState`. +All Windows Terminal settings are currently managed using the `profiles.json` file, located within `$env:LocalAppData\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState`. To open the settings file from Windows Terminal: