Page 1 of 1

Sabnzbd Won't Open In Firefox [Linux Mint]

Posted: March 17th, 2014, 3:45 pm
by bobsmith
I just reinstalled Firefox for reasons unrelated to sabnzbd. I'm using Linux Mint 12.04. I set Firefox as the default browser and verified that it was, in fact, the default browser. Nevertheless, sabnzbd opened in Chrome. So I uninstalled Chrome and sabnzbd opened in Opera. So I reinstalled sabnzbd. It still insists on opening in Opera... anything but Firefox. I really need it to work in Firefox but can't get it to open there.

I tried http://localhost:8080/sabnzbd and get this error: "Firefox can't establish a connection to the server at localhost:8080".

I tried http://[::1]:8080 and got this error: "Firefox can't establish a connection to the server at [::1]:8080"

I set "network.dns.disableIPv6" to false in Firefox. Still doesn't work.

Any help would be greatly appreciated.

Re: Sabnzbd Won't Open In Firefox [Linux Mint]

Posted: March 19th, 2014, 3:03 am
by shypike
The operating system determines what the default browser is.
SABnzbd just tells the OS, "open this with the default browser".
You may need the one-time commandline option --no_ipv6

Re: Sabnzbd Won't Open In Firefox [Linux Mint]

Posted: March 19th, 2014, 4:48 pm
by bobsmith
Thanks shypike. That doesn't seem to to work. Here's the only way I can get Firefox to load sabnzbd:

Step 1: Run the following command from the terminal (or a shortcut):

Code: Select all

sabnzbdplus --browser 1
This opens sabnzbd in Opera, even though Firefox is set as the default browser.

Step 2: Leave Opera open with sabnzbd loaded. In Firefox go to:

Code: Select all

http://localhost:8080/sabnzbd
Sabnzbd will now load just fine in Firefox - but only if I start it in Opera first.

Step 3: Close Opera and use sabnzbd in Firefox as usual.

I have to go through this routine every time I load sabnzbd. It seems that sabnzbd isn't being started by the "http://localhost:8080/sabnzbd" command. It doesn't start in Opera using that command either... it only starts in Opera via the "sabnzbdplus --browser 1" command. Is there a command I can use in the terminal that will force sabnzbd to launch in Firefox instead of using "--browser 1"? Any ideas about what might be causing this?

Re: Sabnzbd Won't Open In Firefox [Linux Mint]

Posted: March 19th, 2014, 6:15 pm
by jcfp
Try this:

Code: Select all

sudo update-alternatives --config x-www-browser
Note that preferred/default applications at system level may differ from those set at the window manager level.