Unable to find the Windows "Desktop" folder from within WSL [closed]

I recently downloaded Ubuntu on my HP Envy x360 laptop. I have worked with Ubuntu before. I am trying to navigate to my Desktop in terminal but unable to find it. I type /mnt/c/Users/'my username'/ but the Desktop is not located. This is how I find it on my old laptop and so not sure how they changed it to where to find the new path for the Desktop.

3

1 Answer

Method 1: From Windows Desktop

  1. Hold down the Shift key and right-click anywhere in Windows Desktop
  2. Select Open Linux shell here

You should see the exact location of your Windows Desktop as represented in the WSL. In my case it was in /mnt/c/Users/my_username/Desktop.

Method 2: From terminal

  1. Open a Ubuntu terminal using wsl.exe
  2. Enter ls /mnt/c/Users/ to get a list of users and find your user name. The folder may be called "my username" or my_username.

Note, it may take a while for the list of files and folders to show up after you hit enter.

  1. Enter cd /mnt/c/Users/'my username'/Desktop to navigate to the desktop.

Hope this helps

2

You Might Also Like