I'm struggling to launch the WSL "Ubuntu 20.04" Store App (or any Store App, really) from the command-line (e.g. PowerShell or CMD).
When I run Ubuntu 20.04 from the Start Menu, it launches in a window with the Ubuntu icon and the correct window title ("Ubuntu 20.04 LTS"). I'd like to get that same application window when launched from the command-line.
I've searched quite a bit, and found this page that references start shell:AppsFolder\{folder}!App
(e.g. start shell:AppsFolder\Microsoft.WindowsStore_8wekyb3d8bbwe!App
), but I haven't been able to make that work for the Ubuntu Store App. It seems a bit convoluted to me -- Is there an easier way? And if not, how does that work for Ubuntu?
I'm familiar with the wsl
command, but if I run wsl -d Ubuntu-20.04
from the Start Menu, the resulting window has the generic WSL/Linux/Penguin icon instead of the Ubuntu icon. The window title is also C:\Windows\system32\wsl.exe
instead of "Ubuntu 20.04 LTS."
If I run the same wsl
command from CMD, it still has the CMD icon.
Perhaps I could use the DOS/CMD TITLE
command, but I'd like to just have a command I can use to launch the Store app. Is this possible?
By contrast, "normal" .exe
Windows apps can be launched from CMD or PowerShell quite easily.
I'd be really happy with a solution for Ubuntu WSL, but also if there is simple (and notably, programmable) way to run all Windows Store Apps, that would be great.