Closed Nutomic closed 8 years ago
Hrm, my guess is that for some reason its not playing niceley with your default browser.
Do this to make sure torrenttunes is dead:
pkill -f torrenttunes
Then load up your browser first.
And try running the launcher again.
Ah I forgot, browser is Firefox 40.0.3. I had the browser started first, but tried it again with your instructions and it didn't help.
Can I somehow access the GUI manually in the meantime?
Yep, the GUI is a local html file, located at:
/home/your_user_name/.torrenttunes-client/src/web/html/main.html
This worked, although I have to reload the site really fast after starting the jar, or the jar will just shut down.
Also, icons are now missing. It's probably a cache problem (it works in Chromium). Strg + F5 didn't fix it though.
The icons are a problem in firefox for me, and I can't figure out how to get them to work without adding a security exception in firefox.
For some reason, firefox is the only browser that has strict security limitations on local fonts, and so any local application using font-awesome doesn't work, unless you turn off a security feature. I tried to complain in the mozilla forums about this, but was pretty much ignored.
Here's a workaround: http://stackoverflow.com/a/19817460
I might have a fix for this in an upcoming release, I'll make a new issue for it.
Can you run this line, and see what default browser your OS has?
sudo update-alternatives –config x-www-browser
and also
sudo update-alternatives --config gnome-www-browser
They are both set to /usr/bin/firefox
. Also, Zeronet and Syncthing open the browser correctly, just like xdg-open some.html
.
Ah I finally am figuring out why this isn't working right. Turns out the java Desktop class I'm using here only works for GNOME/Windows/Mac osx, and wasn't built to support KDE.
I'll use a new version that does support KDE from some info from here:
http://stackoverflow.com/questions/18004150/desktop-api-is-not-supported-on-the-current-platform
As I understand, a browser should be opened, but nothing happens. Terminal output:
Kubuntu 15.04 openjdk version "1.8.0_45-internal" OpenJDK Runtime Environment (build 1.8.0_45-internal-b14) OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)