dorkbox / SystemTray

Cross-platform SystemTray support for Swing/AWT, macOS, GtkStatusIcon, and AppIndicator on Java 8+
Other
443 stars 58 forks source link

Open browser doesn't work on WSL 2(Ubuntu 20.04) #139

Closed AriaMoradi closed 3 years ago

AriaMoradi commented 3 years ago

Trying to fix this issue https://github.com/AriaMoradi/Tachidesk/issues/19 Looks like opening a url with xdg-open will open the url on a windows browser window, so the general linux approach should work for WSL.

Also I've seen apps running under WSL being able to open a tray icon on windows without a X11 server but I don't know it works.

dorkbox commented 3 years ago

Can you tell me the apps that work under WSL without an X11 server?

I can investigate this further.

AriaMoradi commented 3 years ago

Unfortunately I can't find It again(maybe I was wrong). But https://github.com/microsoft/WSL/issues/938 is comming?

dorkbox commented 3 years ago

I'm going to close this issue, since it's not really a bug with the SystemTray. I did add WSL detection, so at least there's that (should GUI stuff from WSL happen in the future)