Setting SRWare Iron as Default in Linux Mint
Posted: Fri Apr 11, 2014 11:07 pm
I am using Linux Mint with Cinnamon as my desktop. OK, so I went through a lot of trouble trying to get this to work correctly. At first I obviously clicked on "Set Iron as my default browser" in settings, which did nothing. Next I tried the method described here:
http://www.srware.net/forum/viewtopic.php?f=18&t=6750
This did not work for me. If I clicked on a link it would open up Chromium, not Iron. After that I tried using Alternatives Configurator by adding Iron to it. I even removed Chrome and Firefox from the options. This didn't work either, nor did using sudo update-alternatives. Out of frustration I uninstalled every browser except Iron and tried clicking on a link... it pulled up the site in gedit! GEDIT!!
I finally figured out how to fix it. Hopefully this will benefit someone else.
Iron installs a file called iron.desktop in /usr/share/applications. This is what you need. Edit the file /etc/gnome/defaults.list and find these lines:
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
Change them to:
x-scheme-handler/http=iron.desktop
x-scheme-handler/https=iron.desktop
Then go to Menu->System Settings and search for "default". Click on Details.
Select Default Applications
Under Web you should see SRWare Iron listed. Select it if it isn't already selected.
I am pretty sure this should fix it for you. If you've tried everything else and haven't succeeded then give this method a try. You may be able to edit your own personal ~/.local/share/applications/default.list instead of editing the main one and it may still work, but I have not tried this method, so you may want to do this first.
http://www.srware.net/forum/viewtopic.php?f=18&t=6750
This did not work for me. If I clicked on a link it would open up Chromium, not Iron. After that I tried using Alternatives Configurator by adding Iron to it. I even removed Chrome and Firefox from the options. This didn't work either, nor did using sudo update-alternatives. Out of frustration I uninstalled every browser except Iron and tried clicking on a link... it pulled up the site in gedit! GEDIT!!
I finally figured out how to fix it. Hopefully this will benefit someone else.
Iron installs a file called iron.desktop in /usr/share/applications. This is what you need. Edit the file /etc/gnome/defaults.list and find these lines:
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
Change them to:
x-scheme-handler/http=iron.desktop
x-scheme-handler/https=iron.desktop
Then go to Menu->System Settings and search for "default". Click on Details.
Select Default Applications
Under Web you should see SRWare Iron listed. Select it if it isn't already selected.
I am pretty sure this should fix it for you. If you've tried everything else and haven't succeeded then give this method a try. You may be able to edit your own personal ~/.local/share/applications/default.list instead of editing the main one and it may still work, but I have not tried this method, so you may want to do this first.