Opened 13 years ago

Last modified 2 years ago

#32652 assigned defect

gvfs cannot open remote urls

Reported by: brandon@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: mklein-de (Michael Klein), cooljeanius (Eric Gallager), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), mascguy (Christopher Nielsen)
Port: gvfs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This may be related more deeply to Gio but gvfs cannot open remote uri's. There is a similar bug reported for Gimp but this is a more general issue that I also experience when programming with Giomm and trying to use Giomm::File to open remote uris.

/opt/local/bin/gvfs-open http://www.macports.com
gvfs-open: http://www.macports.com: error opening location: Operation not supported

Change History (11)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Do you have reason to believe this is specific to MacPorts? If not, you should report the problem to the developers of the software.

comment:2 Changed 13 years ago by brandon@…

Yes, I do believe this is related to MacPorts. It works fine when installing the GTKmm package on windows and when building manually in Linux. Something is not being built correctly or being included in the MacPorts version.

comment:3 Changed 13 years ago by mklein-de (Michael Klein)

While the effect might be the same, the two tickets seem to be distinct issues. To tell gvfs-open how to process http(s)-URL, put the following into /opt/local/share/applications/open.desktop and execute sudo update-desktop-database.

[Desktop Entry]
Version=1.0
Name=Open
Exec=open %U
Terminal=false
Type=Application
MimeType=x-scheme-handler/http;x-scheme-handler/https

For me, this helped for gvfs-open, but not for gimp.

comment:4 Changed 13 years ago by mklein-de (Michael Klein)

Cc: michael.klein@… added

Cc Me!

comment:5 Changed 13 years ago by mklein-de (Michael Klein)

On a second thought, it seems that gvfs is working just fine here for me, and gvfs-open does not show the expected behavior just because there is no port with a .desktop file containing a http(s)-handler installed on my box. I guess installing firefox-x11 would help, too.

comment:6 in reply to:  5 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to michael.klein@…:

On a second thought, it seems that gvfs is working just fine here for me, and gvfs-open does not show the expected behavior just because there is no port with a .desktop file containing a http(s)-handler installed on my box. I guess installing firefox-x11 would help, too.

firefox-x11 was removed in r115717; are there any other ports whose .desktop files contain a http(s)-handler?

comment:7 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 11 years ago by mf2k (Frank Schima)

Keywords: gtk gvfs removed

comment:9 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:10 Changed 6 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dbevans
Status: newassigned

comment:11 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.