Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
JDK-8214069 : (JavaFX) Default to xdg-open for document opening on UN…
Browse files Browse the repository at this point in the history
…IX (#293)

Fixes #260
  • Loading branch information
Tristan971 authored and kevinrushforth committed Nov 30, 2018
1 parent 86df66f commit 8fab820
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,14 @@ private String toURIString(String filePath) {
return toURIString(System.getProperty("user.dir"));
}

static final String[] browsers = {"google-chrome", "firefox", "opera",
"konqueror", "mozilla"};
static final String[] browsers = {
"xdg-open",
"google-chrome",
"firefox",
"opera",
"konqueror",
"mozilla"
};

@Override
public void showDocument(final String uri) {
Expand Down

0 comments on commit 8fab820

Please sign in to comment.