Start WSL application from Windows 10 Desktop

---
action: Back 返回
date: May 10, 2017
category: Linux & Server
tags:
- WSL
---

As we can actually install GUI application in the Bash on Windows 10, we sometimes also would like to start up these apps from the desktop. Actually,to start up the Linux application on desktop is actually pretty easy.

First, left click Desktop and select New->Shortcut. Then, in the address, type the following in the item location:

C:\Windows\System32\bash.exe -c "cd && DISPLAY=:0 command-to-execute"

Replace command command-to-execute to desired application. Next next and change the name to the application name. Click Finish and Boom! you completed creating a shortcut! now you can change the icon if you want.

Navigation

Not the Footnote

The site is proudly powered by Hexo and using a site strcuture from the Hexo theme called Nayo.

The site is powered by the glorious CSS from bettermotherf**kingwebsite.com with some tweaks. Censored the f-word for good.

Possibly the Footnote

Main | Access | RSS | Sitemap
2008 - 2020 | Patrick WU Jinming