Skip to content

Starting Directory being ignored for WSL #15827

@HiDannyZ

Description

@HiDannyZ

Windows Terminal version

1.18.1462.0

Windows build number

10.0.22621.2134

Other Software

WSL

Steps to reproduce

I am trying to set my starting directory to a folder on my Desktop.

These are the steps I am following and I have been trying for the last 40 mins following guides online.

  1. Open Ubuntu Profile on windows terminal via UI or settings.json file
  2. Set Starting Directory to /c/Users/Danny/Desktop/Projects or /mnt/c/Users/Danny/Desktop/Projects
            {
                "elevate": false,
                "guid": "{51855cb2-8cce-5362-8f54-464b92b32386}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc",
                "startingDirectory": "/mnt/c/Users/Danny/Desktop/Projects"
            },

Expected Behavior

Windows terminal Ubuntu will now open in the projects folder on my desktop

Actual Behavior

Windows Terminal Ubuntu ignores all changes that I make to the starting directory.

No matter the change I always start at /home/hidanny.

Only when the starting directory is invalid, there is an effect via error on the ubuntu instance in windows terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions