Summary: | xdg-open should use gvfs-open if available. | ||
---|---|---|---|
Product: | Portland | Reporter: | Jeff Bailes <thepizzaking> |
Component: | xdg-utils | Assignee: | Portland Bugs <portland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | dgrose, rdieter |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Simple patch which uses gvfs-open if it exists and gnome-open otherwise |
Description
Jeff Bailes
2008-04-24 19:56:49 UTC
Is the syntax/usage the same (gvs2-open vs gnome-open)? Yes, same syntax, I just replaced 'gnome-open' with 'gvfs-open' in my xdg-open script and it works fine. Created attachment 17823 [details] [review] Simple patch which uses gvfs-open if it exists and gnome-open otherwise A trivial change to the open_gnome function which checks for /usr/bin/gvfs-open and uses it if it exists, and gnome-open otherwise. Seems like there should be a better way to do this, i.e. by determining if the gvfs-open executable is somewhere on PATH instead of hardcoding the /usr/bin directory, but my shell scripting ability is low. I have checked in the code, and a similar workaround is already applied. Closing bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.