Wslusc shortcut not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu |
Fix Released
|
Unknown
|
|||
wslu (Ubuntu) |
Fix Released
|
Critical
|
Patrick Wu |
Bug Description
Upstream bug reported: https:/
**Background Information:**
WSL: Ubuntu 18.04
Version: 2.3.2-0ubuntu2~
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\
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.
Related branches
- Sebastien Bacher: Approve
-
Diff: 56 lines (+7/-4) (has conflicts)4 files modifieddebian/changelog (+4/-0)
debian/patches/0008-Set-up-sound-when-starting-GUI-programs-via-Windows-.patch (+2/-2)
debian/patches/0009-Fix-empty-.config-wslu-baseexec.patch (+0/-1)
debian/patches/0010-Matching-original-Windows-username-space-fix.patch (+1/-1)
Changed in wslu (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in wslu: | |
importance: | Unknown → Critical |
Changed in wslu (Ubuntu): | |
assignee: | nobody → Patrick Wu (callmepk) |
Changed in wslu: | |
importance: | Critical → Unknown |
status: | Unknown → New |
Changed in wslu (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in wslu: | |
status: | New → Fix Released |
This bug was fixed in the package wslu - 2.3.6-0ubuntu1
---------------
wslu (2.3.6-0ubuntu1) focal; urgency=medium
[ Patrick Wu ] wsl-integration .sh: removal links in profile.d as requested by MSFT. wsl-integration .sh: Fix issue that space in username breaks integration. sh. (LP: #1869878) wsl-integration .sh: Use /tmp folder for system users who do not have
* Upstream update to 2.3.6 to address critical issues (LP: #1871986)
- wslupath manpage update
- fixes that imported distro cannot be properly handled by baseexec_gen
- fix an issue in handling dirty output in regenerate baseexec
- fix an issue in generating ~/.config/baseexec
- wslusc: fix an issue that will cause generated shortcut cannot be opened
for some users
* Update patches
* debian/
* debian/
wsl-
* debian/
$HOME. (LP: #1859509)
[ Balint Reczey ] wsl-integration .sh: Suppress errors when saving $HOME/.cache. wsl-integration .sh: debian/ wsl-integration .sh unset the right
* debian/
(LP: #1859509)
* debian/
variable at the end of script. (LP: #1857426)
-- Patrick Wu <email address hidden> Thu, 09 Apr 2020 20:27:13 +0800