Bug 446136 - UNC file share notation should also be usable, not just URIs
UNC file share notation should also be usable, not just URIs
Status: NEW
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.18.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
:
: 662790 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-06-10 20:57 UTC by Dustin Harriman
Modified: 2012-09-05 00:54 UTC (History)
7 users (show)

See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments

Description Dustin Harriman 2007-06-10 20:57:35 UTC
This is a feature request.

Let's say I want to browse to a file share on a Windows machine. Let's call the Windows machine "winbox", and the file share name "winshare". In Windows, I could simply press Start -> Run, then type this in and "Run" it:

\\winbox\winshare

(This opens a Windows Explorer window showing the file share.)

The notation of this command above is called "UNC" ("Universal Naming Convention"). It's actually a standard:
http://en.wikipedia.org/wiki/Uniform_Naming_Convention#Universal_Naming_Convention

If I want to browse this same file share in Gnome, I'd Open Nautilus and use URI notation instead of UNC:

smb://winbox/winshare

I think it's vital that Nautilus also be able to support the same UNC notation that works in Windows, in addition to the URI notation.  Konqueror 3.5.6 can do this already!!  If Gnome wants to make headway in the enterprise where Windows dominates the scene, it needs to support the notation that Windows computers use to visit each others file shares.

There is also a second part to this feature request:

Once Nautilus can open UNC pathnames, there also needs to be a way to associate any UNC pathname clicked on in any application to opening that UNC pathname in a spawned instance of Nautilus. Perhaps this should be a configuration option in System -> Preferences -> Preferred Applications. This way a user could specify Konqueror (where UNC pathnames are currently supported).

Come on nautilus, time to catch up ;)

Cheers,
--
Dustin Harriman

PS: I also opened Ubuntu bug 119747 on this:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/119747
Comment 1 William Jon McCann 2012-08-21 03:13:38 UTC
Stef, any thoughts on this?
Comment 2 Stef Walter 2012-08-21 10:29:56 UTC
Yes that would be nice for enterprise users.

However it's not just a nautilus feature. The most common location to find these UNC names is in emails. Currently we're standardized on URI's everywhere. Adding this additional URI-style format and making it work as expected, is a bit of work.

Alex, Matthew, how would this impact GFile and Evolution's URI in-email-detection code respectively?
Comment 3 Matthew Barnes 2012-08-21 11:27:57 UTC
I guess first step for Evolution is to get WebKit to recognize UNC paths as something clickable (a quick test suggests it doesn't), and then either WebKit or Evolution can convert it to an equivalent smb:// URI -- perhaps with some helper function in GLib -- and let the usual URI handling machinery take over.
Comment 4 Stef Walter 2012-08-21 11:32:02 UTC
(In reply to comment #3)
> ... can convert it to an equivalent smb:// URI -- perhaps with some
> helper function in GLib -- and let the usual URI handling machinery take over.

That part seems like a work around in case the GFile/gvfs URI handling code can't be made to handle UNCs.
Comment 5 William Jon McCann 2012-09-05 00:54:27 UTC
*** Bug 662790 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.