Start WSL application from Windows 10 Desktop

---
date: May 10, 2017
tags:
-
---

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


Creative Commons License
Unless specified, all the articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Free Software Fundation Member

The site is proudly powered by Hexo hosted on GitHub Pages.

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

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