Public bug reported:
Upstream bug reported: https://github.com/wslutilities/wslu/issues/110
**Background Information:**
WSL: Ubuntu 18.04
Version: 2.3.2-0ubuntu2~18.04.3
When creating a Win shortcut for a GUI Linux program I end up with a shortcut
that is not working.
**To Reproduce**
wslusc --gui pycharm.sh
This results in a shortcut with the following target:
C:\Windows\System32\wscript.exe C:\Users\Marco
Brieden\wslu\runHidden.vbs C:\Users\Marco
Brieden\AppData\Local\Microsoft\WindowsApps\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\ubuntu1804.exe
run "cd ~; . /usr/share/wslu/wsl-integration
When opened it gives this error:
"There is no file extension in "C:\Users\Marco"
**Additional context**
It looks like there are two separate issues:
1. The space in my username breaks the shortcut.
2. The max length of the "target" field has been exceeded and the command got
cut off.
** Affects: wslu
Importance: Critical
Status: Unknown
** Affects: wslu (Ubuntu)
Importance: Critical
Assignee: Patrick Wu (callmepk)
Status: In Progress
** Changed in: wslu (Ubuntu)
Importance: Undecided => Critical
** Changed in: wslu (Ubuntu)
Status: New => In Progress
** Bug watch added: github.com/wslutilities/wslu/issues #110
https://github.com/wslutilities/wslu/issues/110
** Also affects: wslu via
https://github.com/wslutilities/wslu/issues/110
Importance: Unknown
Status: Unknown
** Changed in: wslu
Importance: Unknown => Critical
** Changed in: wslu (Ubuntu)
Assignee: (unassigned) => Patrick Wu (callmepk)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871986
Title:
Wslusc shortcut not working
To manage notifications about this bug go to:
https://bugs.launchpad.net/wslu/+bug/1871986/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs