Opticos / OpenInWSL-Source

The actual code for OpenInWSL. And some prebuilt releases.
https://opticos.github.io/openinwsl
Other
101 stars 16 forks source link

FEATURE REQUEST - Create shortcuts to open WSL Linux apps in Windows 11 #10

Closed diegocgaona closed 1 year ago

diegocgaona commented 2 years ago

I was using WSLG in Windows 10 and it works great, and one very nice feature was create shortcuts to Linux apps. In Windows 11 I'm not using it (but looks to work fine in Windows 11 too), I can open GUI apps, but I can't create shortcuts in my startmenu/desktop.

Would be great to have a app to do it or a feature.

Best regards, Diego.

Pololot64 commented 2 years ago

You should be able to add shortcuts to the desktop and start menu. What have you been trying

diegocgaona commented 2 years ago

I'm uninstalled WSLG (because I don't use it because Windows 11 do not need it to GUI), and I don't want to use it only to create the shortcuts (because it will open using it as display). I tried: https://wslutiliti.es/wslu/man/wslusc.html But it didn't work for me (nothing happens after I use the shortcut). I'm using WSL2 with Ubuntu 20.04. I'm trying to create a shortcut for Pycharm, it is installed with tar.gz, not apt (I installed Firefox with apt and Windows created a shortcut automatically).

I tried to make a shortcut similar to the one of Firefox too, but nothing happens too: C:\Windows\System32\wslg.exe ~ -d Ubuntu20.04LTS pycharm image

Pololot64 commented 2 years ago

I think you are maybe confusing wslg with GWSL

diegocgaona commented 2 years ago

@Pololot64 , yeah... sorry by the mistake. I really was talking about GWSL