HostServices.showDocument in Linux: Default browser
openjfx at arne-augenstein.de
Sat Mar 17 12:27:46 UTC 2018
I've been trying to figure out which mechanism JavaFX uses in Linux to
determine the default browser with which to open the passed URI.
I'm using Manjaro Linux and this method always opens links in Firefox.
My default browser is Chrome, though. In all the applications I've
tested it (which honestly aren't that many) this setting gets respected
and links are opened in Chrome.
The "default application"-situation in Linux is a bit complicated, see
for example https://wiki.archlinux.org/index.php/default_applications.
There many different places default applications can be set and
obviously I haven't found the one which JavaFX uses, yet. Can you give
me a hint where to look?
More information about the openjfx-dev