How to change default browser from SeaMonkey to Firefox?

Booting, installing, newbie
Post Reply
Message
Author
jasray
Posts: 14
Joined: Mon 02 Apr 2007, 17:51

How to change default browser from SeaMonkey to Firefox?

#1 Post by jasray »

Hmmm . . . this is most likely quite simple, but I've yet to make FF my default browser. I followed some directions posted by Todd online, but that didn't work. I am using Puppy 2.15CE. And if possible, can I simply uninstall the SM and e-mail client so I can use FF and TB. Thanks!
User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

#2 Post by tazoc »

jasray,
I'm not familiar with the directions by Todd you mentioned but here are my thoughts. I'm assuming you are using Puppy 2.15CE and that Firefox and TBird ard installed and working. I think that removing SeaM might adversely affect gXine, if it were even possible to do, so I'd just focus on changing your defaultbrowser. I'm running a derivative based on Puppy 2.15CE and this works for me. Select all 3 lines with your mouse (holding down left button,) then paste into a rxvt terminal window (mouse middle click):

Code: Select all

echo '#!/bin/sh' > /usr/local/bin/defaultbrowser
echo -ne "exec `which firefox` \"\$@\"\n">>/usr/local/bin/defaultbrowser
chmod 755 /usr/local/bin/defaultbrowser
and press [Enter]. Now FF should open when you click on desktop browse icon. What exactly did those commands do? Wrote a couple of lines to a file, /usr/local/bin/defaultbrowser, a short script that you can navigate to with Rox-Filer, right-click and Open As Text to verify.

That's neat but what if we don't want to write those shell commands? Normally the Defaults Wizard is the easiest way to accomplish this. Hint, open our friendly :wink: rxvt first and type 'which <yourappnamelowercase>' without the quotes to see where you need to navigate to once inside the wizard. So in the case of Thunderbird, type 'which thunderbird', hit enter, then click Start | Setup | Setup Puppy | Defaults Wizard | hit the button next to 'defaultemail' and on the left side navigate to the path displayed by the 'which' command in your terminal. May need to double-click to drill down 'usr' .. 'local' ... through the folders. Then on the right hand pane, scroll down, selecting the last part of the path 'thunderbird'. Hit OK, see the new default path showing in the button you pressed, and click cancel to exit. Now TB should be your default email.
-TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]
davec51
Posts: 530
Joined: Thu 13 Apr 2006, 22:31
Location: Virginia

Default Browser Change

#3 Post by davec51 »

I'm a non-technical user of Puppy. Here is how I change any of the default applications:
I'm assuming that Firefox is installed and is working. Open Rox. Navigate to /usr/local/bin. Right click on "default browser" and choose "open as text." Change whatever is there ("such as 'Mozilla') to "Firefox" and save. That's all. When you click on the Browser icon you get Firefox.
User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

Re: Default Browser Change

#4 Post by tazoc »

Open Rox. Navigate to /usr/local/bin. Right click on "default browser" and choose "open as text." Change whatever is there ("such as 'Mozilla') to "Firefox" and save. That's all. When you click on the Browser icon you get Firefox.
Yes that is another way. But maybe you meant 'firefox'? Probably 'Firefox' wouldn't work. Linux is case-sensitive and executables are often (but not always) all lower case. Here's the line you can change in /usr/local/bin/defaultbrowser:

Code: Select all

exec mozstart "$@"
to

Code: Select all

exec firefox "$@"
Sorry if it was a bit technical... :wink:
-TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]
Bruce B

#5 Post by Bruce B »

The way I've been changing certain default applications is by manually editing the defaultxxxxx files, if they exist. Potential files to edit in list below.

/usr//local/bin/defaultbrowser
/usr//local/bin/defaultcalendar
/usr//local/bin/defaultchat
/usr//local/bin/defaultconnect
/usr//local/bin/defaultcontact
/usr//local/bin/defaultdraw
/usr//local/bin/defaultemail
/usr//local/bin/defaulthandler
/usr//local/bin/defaulthtmleditor
/usr//local/bin/defaulthtmlviewer
/usr//local/bin/defaultmediaplayer
/usr//local/bin/defaultpaint
/usr//local/bin/defaultspreadsheet
/usr//local/bin/defaulttexteditor
/usr//local/bin/defaultwordprocessor
davec51
Posts: 530
Joined: Thu 13 Apr 2006, 22:31
Location: Virginia

#6 Post by davec51 »

"Yes that is another way. But maybe you meant 'firefox'? Probably 'Firefox' wouldn't work. Linux is case-sensitive and executables are often (but not always) all lower case."

You're right. I was careless in my reply.
User avatar
aliG
Posts: 76
Joined: Sun 15 Jul 2007, 09:52
Location: Glasgow, Scotland

#7 Post by aliG »

I realise this is pretty boring but I instaled Firefox 2.0.0.1 from:

http://dotpups.de/dotpups/Internet/

And it did all the default browser stuff for me - when I click on "Browse" FF starts rather than sea monkey...

The only trick now is to get IE working under WINE so I can do my internet shopping at Tesco who don't support FF (and before anyone tells me to take my business to a store that does I would except the competition don't deliver here!)

A.
Post Reply