After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662790 - Make location bar aware of windows share path (replace \ by / and add smb:// prefix)
Make location bar aware of windows share path (replace \ by / and add smb:// ...
Status: RESOLVED DUPLICATE of bug 446136
Product: nautilus
Classification: Core
Component: Location Bar
2.32.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-26 18:17 UTC by crquan
Modified: 2012-09-05 00:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description crquan 2011-10-26 18:17:09 UTC
in a company there are commonly majority using windows; while minority like me I'm using Ubuntu Linux with Gnome Desktop; when colleagues are sharing some files, they are always posting the path like this:

\\machine-name\path1\path2\path3\...

Even though under Linux I could open it in nautilus with this translated path:

smb://machine-name/path1/path2/path3/...

but to manually translate these '\' to '/' is waste effort, why can't we make nautilus location bar default aware of the windows style sharing path? to just translate it automatically?


I don't quite know low level implementation of that nautilus support of "smb://...", may be in an extension? any guidance for me is welcome, I may have some time to implement such a feature;
Comment 1 André Klapper 2011-10-28 07:32:34 UTC
How do your colleagues "post the path" exactly?
Comment 2 crquan 2011-10-28 17:12:58 UTC
I have written that:

\\machine-name\path1\path2\path3\...

windows machine could open such path directly, while under Linux nautilus cannot;

currently the nautilus behavior is it tries to open such a file "\\machine-name\path1\path2\path3\...", since "\" is not a path separator, in theory such named file is possible but it's very seldom, isn't it?

the error dialog box shows:

Could not display "/home/user/\\machine-name\path1\path2\path3\".
The location is not a folder.
Comment 3 William Jon McCann 2012-09-05 00:54:27 UTC

*** This bug has been marked as a duplicate of bug 446136 ***