How to set Iron as Default Browser in Debian Based Linux

Iron Forum for english speaking people

Post Reply
JimmyCoyoteLoco
Posts: 1
Joined: Tue Apr 08, 2014 9:17 pm

How to set Iron as Default Browser in Debian Based Linux

Post by JimmyCoyoteLoco »

If you are having troubles getting Iron set as the default browser in Ubuntu, try this fix. ( should work with other Debian based versions )

Copy and paste the below line into a terminal window ( without the quotes )

"gksudo gedit /usr/share/applications/defaults.list" && NOTE: if you are not using "gedit" then replace it with what ever other text editor that you using ( i.e. kwrite, leafpad, joe, etc. )

Next find each of the below listed lines with your text editor search option or scroll through the text until you find each line.

text/html=
text/xml=
application/xhtml_xml=
x-scheme-handler/http=
x-scheme-handler/https=
x-scheme-handler/ftp=

When you find each line, at the equal ( = ) sign will be followed by something like "firefox.desktop" or "google-chrome.desktop" or some other browser name with .desktop at the end or a combination of them, they should each look something like below, depending upon how many browsers that you have installed at the time.

text/html=firefox.desktop;google-chrome.desktop
text/xml=firefox.desktop;google-chrome.desktop
application/xhtml_xml=firefox.desktop;google-chrome.desktop
x-scheme-handler/http=firefox.desktop;google-chrome.desktop
x-scheme-handler/https=firefox.desktop;google-chrome.desktop
x-scheme-handler/ftp=firefox.desktop;google-chrome.desktop

Now, after the equal ( = ) sign delete the rest of the line and replace it with "iron.desktop" ( there again without the quotes ) and they should each look something like this,

ext/html=iron.desktop
text/xml=iron.desktop
application/xhtml_xml=iron.desktop
x-scheme-handler/http=iron.desktop
x-scheme-handler/https=iron.desktop
x-scheme-handler/ftp=iron.desktop

Save and all done! this method works fine for me and Iron open or opens a new tab if I click on a link in any other external program in Ubuntu
Post Reply