Index: app/src/processing/app/linux/Platform.java =================================================================== --- app/src/processing/app/linux/Platform.java (revision 5766) +++ app/src/processing/app/linux/Platform.java (working copy) @@ -67,6 +67,16 @@ return true; } + // Attempt to use xdg-open (freedesktop way + // (should work on KDE, GNOME and maybe others)) + try { + Process p = Runtime.getRuntime().exec(new String[] { "xdg-open" }); + /*int result =*/ p.waitFor(); + // Not installed will throw an IOException (JDK 1.4.2, Ubuntu 7.04) + Preferences.set("launcher", "xdg-open"); + return true; + } catch (Exception e) { } + // Attempt to use gnome-open try { Process p = Runtime.getRuntime().exec(new String[] { "gnome-open" });