-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How does this work with the newly release Ubuntu Store version? #52
Comments
I have uninstalled the legacy environment and it appears bash opens the new windows store version of ubuntu. WSLTTY still works but it complains about the icon being missing. |
I don't have the update yet, but if you tell me the new path name of the icon file, I can change installation so that it copies either of them into the wsltty installation directory (rather than refer to the assumed location). |
Checking the announcement linked above:
If anyone can contribute an idea how to handle that with wsltty, and how to find out the actual installation location(s), I'd appreciate it. |
Information might be extracted here. Also wsltty could semi-automatically add an invocation shortcut per distro, assuming they can be recognized and distinguished. |
I took a look last night to see if I could find out the location of the Ubuntu install, but was unsuccessful. I'll try again tonight. The usual "Open File Location" wasn't available for this app, and even after pinning it to the Start menu, I wasn't seeing it. Any tips on where to get the executable location from this would be appreciated. |
Wouldn't @nevhan's tip above
be a good starting point to look? |
C:\Users\klauer
λ which ubuntu
Definition
----------
C:\Users\klauer\AppData\Local\Microsoft\WindowsApps\ubuntu.exe
|
Similarly, inside the |
In this directory are store everything about it but cant find any icon file |
What about the "normal" Start Menu icon (not the tile)? |
I wonder if this is hidden in the registry somewhere because this seems a little too-well hidden to be this hard to find. |
You should be able to find some usable Start Menu shortcut files under |
Unfortunately, I can't run the The way I got this was by right-clicking on the Ubuntu app when it starts up and seeing the properties for it: I'm not sure how it's getting called, though, because it doesn't seem to work without running from the Start menu. |
I have a script now that would extract distro information and icons if possible (but only if icon is at a standard location, like with Ubuntu, as Microsoft does not provide information about how to get an icon from a hidden Start Menu entry). |
I'll try to add support for a custom launcher path in a few days. |
@rprichard, thanks; I also tried to patch wslbridge but my first attempt failed. See also rprichard/wslbridge#14 (comment) please. |
Released 1.7.9. Please check, feedback appreciated. |
Is there an |
I had forgotten to attach the installer, sorry. Now available. |
Excellent! I was able to test it and I think it works. I have both the old WSL install and Ubuntu, so it has context items for both. I was waiting on this to work before uninstalling the old WSL distro, so now that I have it, I'm pretty stoked. If anyone else wants to chime in on their tests, feel free, but for me, this looks like it works so I would be comfortable closing the issue. @mintty @rprichard thank you for working on this! |
Thank you. |
…tty#60) -~ start in home directory (~mintty/wsltty#3)
Released 1.8.0 with full support for a variety of WSL distributions, and the WSL default distribution. |
See #63 about my request for a Windows Store package. |
@kbui710 please open a new issue as your problem is probably something different. FWIW, WindowsApps is a hidden folder so you'll need to reveal those in explorer to see it. Please also make sure you have the latest version of wsltty installed. |
@willpower232 thank you for the reply and helpful information. |
Actually, wsltty does not run the ubuntu.exe wrapper so I doubt you were really using wsltty at all. |
While I'm sure it's all of maybe a day old, I thought it'd be worthwhile to ask how this interoperates or will interoperate with the direction that seems to be going with WSL:
https://blogs.msdn.microsoft.com/commandline/2017/07/10/ubuntu-now-available-from-the-windows-store/
It appears that there's an official Ubuntu install in the Store, with other flavors forthcoming. Additionally, it appears that the plan is to have them run side-by-side or simultaneously.
Most importantly, however, I saw this on the blog post's FAQ:
With the "old" way of starting and installing the WSL subsystem with Ubuntu, how will this tool work? How can I migrate it to use the
ubuntu
command that appears different/distinct from WSL'sbash
callout?The text was updated successfully, but these errors were encountered: