Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Release 1.6
-
Component/s: None
-
Labels:None
-
Environment:All platforms that provide xdg-open (as part of freedesktop.org) benefit from this. Fix was tested on OpenBSD.
-
Patch:Code
-
Approval:Ok
Description
clojure.java.browse/browse-url tests to see if it's running on Mac OS to fall back to "/usr/bin/open" in order
to open a URI. On most other systems it'll just falls through to open-url-in-swing instead. The attached patch
tests to see if freedesktop.org's "xdg-open" is present in the users path. This way browse-url will launch the
program associated with the URI, in my case chromium.
Attachments
Activity
Andy Fingerhut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | clj-896-browse-url-uses-xdg-open-patch2.txt [ 10974 ] |
Andy Fingerhut
made changes -
| Patch | Fixed [ 10009 ] | Code [ 10001 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |
Stuart Sierra
made changes -
| Waiting On | richhickey |
Stuart Sierra
made changes -
| Approval | Screened [ 10004 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
| Fix Version/s | Release 1.6 [ 10157 ] |