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.
1 Answer
Method 1: From Windows Desktop
- Hold down the Shift key and right-click anywhere in Windows Desktop
- 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
- Open a Ubuntu terminal using wsl.exe
- Enter
ls /mnt/c/Users/to get a list of users and find your user name. The folder may be called"my username"ormy_username.
Note, it may take a while for the list of files and folders to show up after you hit enter.
- Enter
cd /mnt/c/Users/'my username'/Desktopto navigate to the desktop.
Hope this helps
2