GWSL-Source
GWSL-Source copied to clipboard
Fish Theming can break app launcher.
I am using ArchWSL in WSL2. Default shell is fish. Before using gwsl, I tried VcXsrv. I have this in my config.fish : set -x DISPLAY (ip route | awk '/^default/{print $3; exit}'):0.0 and I can launch Linux GUI apps properly (e.g. emacs). When trying gwsl, I can't launch emacs from "Linux Apps" or "Shourcut Creator". But if I manually use "Linux Shell", and then execute emacs, Emacs opened. Here is my logfile: dashboard.log
Already tried this, but it still the same (need to manually open apps from Linux terminal). I guess even without this script, it should be fine?
I am assuming you have GWSL 1.3.7? This should be fixed in GWSL 1.3.8 but just in case it is not, what language/region is your pc and wsl set to?
Also, do you have the store version or github installer version of GWSL?
I reported this issue in 1.3.7, then tried the 1.3.8. Both still have the issue. I use GitHub version for both too.
And what language again? Sorry. It is an encoding issue
I guess this is what you asking?
Windows
WSL
Thanks. Thinking...
Here is a test build that should solve the issue. I did not have time to wrap it in an installer but you can extract it as is and run gwsl.exe. Just testing the app-launcher would be good.
Drive is the fastest way of sharing I can think of. I will remove the link after you get it
Downloaded. Going to test it now.
Still no luck. I cannot see any logfiles created.
Logfiles will still be in appdata/roaming/gwsl
Aside from cannot launch emacs from Shortcut Creator, the Linux Apps also displaying loading screen continuously. This is from 1.3.8 and still persist in your recently given build.

The only modified logfile is service.log.
What version and build of windows 10 do you have?
Service.log is unrelated... Wait did you edit your settings.json manually or add a profile?
Edition Windows 10 Home Version 20H2 Installed on 3/23/2021 OS build 19042.928 Experience Windows Feature Experience Pack 120.2212.551.0
And no I didn't edit anything.
And you have wsl upgraded to at least support wsl2? The machines themselves do not need to be converted to 2
That is helpful but these do not mention anything about the new build 5 I sent you... Can you close any previously opened gwsl and run from the new folder again?
Still no luck. The dashboard.log is not updated either.
Hmm... can you possibly delete the appdata/roaming/GWSL folder completely and then restart the machine?
Technically the error should be fixed so I have no idea what is going on
Deleted and restarted, but still cannot launch any Apps.
Any new logs now?
Only service.log.
I know you did not change it but can you post your settings.json file?
Renamed it to .txt because GitHub doesn't support JSON settings.json.txt.
Oh! I think I know what is going on. Did you allow GWSL through the firewall when it asked?
And the app launcher still finds nothing and spins? Did it in 1.3.7? Sorry I think this is a combination of issues some of which are not bugs
Yes I allowed all of them. I tried to remove and re-add the entries (pointing to GWSL_instance.exe and GWSL_vcxsrv.exe. And yet still can't launch app.
And the app launcher still finds nothing and spins? Did it in 1.3.7? Sorry I think this is a combination of issues some of which are not bugs
Yes, it spins the whole time. In 1.3.7 it was fine. It showed the list of the apps, but cannot launch them.
Hope we are not wasting each other's time with confusion.. This is very bizarre. Especially since dashboard.log is never updated. Can you access the path \\wsl$ in explorer?