This bug was fixed in the package wslu - 2.3.6-0ubuntu1

---------------
wslu (2.3.6-0ubuntu1) focal; urgency=medium

  [ Patrick Wu ]
  * 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/wsl-integration.sh: removal links in profile.d as requested by MSFT.
  * debian/wsl-integration.sh: Fix issue that space in username breaks
    wsl-integration.sh. (LP: #1869878)
  * debian/wsl-integration.sh: Use /tmp folder for system users who do not have
    $HOME. (LP: #1859509)

  [ Balint Reczey ]
  * debian/wsl-integration.sh: Suppress errors when saving $HOME/.cache.
    (LP: #1859509)
  * debian/wsl-integration.sh: debian/wsl-integration.sh unset the right
    variable at the end of script. (LP: #1857426)

 -- Patrick Wu <patrick...@canonical.com>  Thu, 09 Apr 2020 20:27:13
+0800

** Changed in: wslu (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wslu in Ubuntu.
https://bugs.launchpad.net/bugs/1871986

Title:
  Wslusc shortcut not working

Status in wslu:
  New
Status in wslu package in Ubuntu:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wslu/+bug/1871986/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to