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:
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 value(txts, "path") value(txts, "u") value(txts, "p") "http", address, port, path, username,password) "https" ,address, port, path, username,password) "ftp",address, port, path, username,password) "davs", address, port, path, username,password)
+++ nautilus.py 2008-09-30 20:34:57.000000000 +0100
@@ -28,10 +28,13 @@
path = get_txt_
username = get_txt_
password = get_txt_
+ app = "nautilus"
if stype == "_http._tcp":
url = build_url(
+ app = "firefox"
if stype == "_https._tcp":
url = build_url(
+ app = "firefox"
if stype == "_ftp._tcp":
url = build_url(
if stype == "_ftps._tcp":
@@ -43,7 +46,7 @@
if stype == "_webdavs._tcp":
url = build_url(
- cmdline = ["nautilus", url ] Popen(cmdline) .wait()
+ cmdline = [app, url ]
subprocess.
def load():