Given that nautilus cannot open http or https URLs I have modified
nautilus.py on my box to use firefox for these URLs.  I have not
modified the other types as I have no way to test them in my network
(other than _sftp-ssh._tcp which I can verify DOES work as-is).  Patch:

--- nautilus.py 2008-03-12 14:56:20.000000000 +0000
+++ nautilus.py 2008-09-30 20:34:57.000000000 +0100
@@ -28,10 +28,13 @@
         path = get_txt_value(txts,"path")
         username = get_txt_value(txts,"u")
         password = get_txt_value(txts,"p")
+        app = "nautilus"
         if stype == "_http._tcp":
             url = build_url("http",address,port, path, username,password)
+            app = "firefox"
         if stype == "_https._tcp":
             url = build_url("https",address,port, path, username,password)
+            app = "firefox"
         if stype == "_ftp._tcp":
             url = build_url("ftp",address,port, path, username,password)
         if stype == "_ftps._tcp":
@@ -43,7 +46,7 @@
         if stype == "_webdavs._tcp":
             url = build_url("davs",address,port, path, username,password)
 
-       cmdline = ["nautilus", url ]
+       cmdline = [app, url ]
        subprocess.Popen(cmdline).wait()
 
 def load():

-- 
nautilus in feisty can't open http:// URI which affects service-discovery-applet
https://bugs.launchpad.net/bugs/113092
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to