I think I've partially solved this by updating the /usr/share/applications/nautilus.desktop file, and changing this line:
MimeType=inode/directory;application/x-gnome-saved-search;
to be:
MimeType=inode/directory;application/x-gnome-saved-search;x-scheme-handler/smb;x-scheme-handler/ssh;
Then running sudo update-desktop-database to update the file /usr/share/applications/mimeinfo.cache
I think I've partially solved this by updating the /usr/share/ applications/ nautilus. desktop file, and changing this line:
MimeType= inode/directory ;application/ x-gnome- saved-search; inode/directory ;application/ x-gnome- saved-search; x-scheme- handler/ smb;x-scheme- handler/ ssh;
to be:
MimeType=
Then running sudo update- desktop- database to update the file /usr/share/ applications/ mimeinfo. cache
Hat tip to the instructions here: http:// jarrpa. net/2011/ 10/28/creating- custom- url-handlers- in-ubuntu- 11-04-11- 10-gnome- 3-0/
I'm not certain that this entirely works (it's not quite deterministic), but I'll give the machine a rebot and see if its stuck.
This works because this patch was added: bazaar. launchpad. net/~unity- team/unity- lens-applicatio ns/trunk/ revision/ 202
http://
This calls AppInfo. launch_ default_ for_uri (orig, null), which looks up the native gnome url handler.
Something that really isn't documented anywhere - to get debug output, find the program like so:
david@silver: ~/unity- lens-applicatio ns-0.4. 12$ ps axfu|grep lens unity-lens- applications/ unity-applicati ons-daemon
david 15396 0.0 0.6 206424 13268 ? Sl 01:04 0:03 /usr/lib/
Kill it and restart it, and then it will produce output like this:
david@silver: ~/unity- lens-applicatio ns-0.4. 12$ kill 15396 ~/unity- lens-applicatio ns-0.4. 12$ /usr/lib/ unity-lens- applications/ unity-applicati ons-daemon ons-daemon- DEBUG: daemon.vala:256: Building initial application menu
david@silver:
(process:4185): unity-applicati
Leaving the program running, run the command that isn't working, and this will get outputted:
(process:4185): unity-applicati ons-daemon- WARNING **: daemon.vala:744: Failed to launch URI ssh://throium