Setting default browser

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Barkingmad
Posts: 67
Joined: Wed Sep 23, 2020 2:06 pm
Been thanked: 3 times

Setting default browser

Post by Barkingmad »

Hello

I'm sure I should know how to do this but...

In BionicPup can I set MikeWalsh's portable Firefox as the default browser eg. so it will open instead of Palemoon on clicking a website link in an email or similar situations?

I know that Firefox has options on the lines of "set as default" but wanted to check that this wouldn't break something in the Puppy way of doing things.

Thanks for any pointers on this.
Will

User avatar
bigpup
Moderator
Posts: 7455
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1003 times
Been thanked: 1668 times

Re: Setting default browser

Post by bigpup »

I know that Firefox has options on the lines of "set as default"

I assume you are talking about using the Default Apps Manager

If under selecting a default browser.

If the drop down selection list shows Firefox portable.

You should be able to select to use it.

To give more info need to know specifically which Firefox portable you use.

Exactly where you have it located in the operating file system.

Setting the default browser just tells anything that is coded to use the default browser will use this one.
Programs that need to use a browser have commands that say use default browser.
This keeps them from needing to specifically say use a specific named browser.
The program does not care what browser, just a default browser to use.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
gychang
Posts: 650
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 234 times
Been thanked: 73 times

Re: Setting default browser

Post by gychang »

Barkingmad wrote: Fri Jan 17, 2025 10:27 am

Hello

I'm sure I should know how to do this but...

In BionicPup can I set MikeWalsh's portable Firefox as the default browser eg. so it will open instead of Palemoon on clicking a website link in an email or similar situations?

I know that Firefox has options on the lines of "set as default" but wanted to check that this wouldn't break something in the Puppy way of doing things.

Thanks for any pointers on this.
Will

Here is mine:

Attachments
Screenshot.png
Screenshot.png (87.92 KiB) Viewed 423 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
mikewalsh
Moderator
Posts: 6456
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 959 times
Been thanked: 2134 times

Re: Setting default browser

Post by mikewalsh »

@Barkingmad :-

Yeah, like Greg says, Will; essentially, you need to specify the full, exact $PATH to the executable to let the portable act as the default browser. In the case of the portables, this is the 'LAUNCH' script, IF you're running it entirely from its own directory.

If you've added the Menu entry, you'll then find a named sym-link in /usr/bin pointing to the portable's 'LAUNCH' script. In this case, you can use that.

Doesn't matter whether you use the DefaultApplicationsChooser - the GUI method - or whether you prefer to edit the file at /usr/local/bin/defaultbrowser manually. The same consideration is needed either way.

Mike. ;)

Barkingmad
Posts: 67
Joined: Wed Sep 23, 2020 2:06 pm
Been thanked: 3 times

Re: Setting default browser

Post by Barkingmad »

Thank you to Greg and Mike.

When I next boot up the machine I am working on - not posting from it right now - I should be able to follow that.

I take that I was right that Settings>General>Make Default from within Firefox is not the way to do it in this case?

Thanks again
Will

User avatar
mikewalsh
Moderator
Posts: 6456
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 959 times
Been thanked: 2134 times

Re: Setting default browser

Post by mikewalsh »

@Barkingmad :-

I take that I was right that Settings>General>Make Default from within Firefox is not the way to do it in this case?

No, not for us it isn't. The 'standard' settings for this within Firefox are set-up to assume you're running a 'mainstream' distro.....and although Puppy uses the standard Linux filesystem layout, we don't use some of the 'standard' locations for quite the same things the 'mainstream' distros do.

In some respects, Puppy has always been an 'outlier' with regard to the rather unique way in which it carries out certain tasks. Default apps is one of these.

You'll be fine. Do it the way we've outlined and things will work the way they should! :)

Mike. ;)

Post Reply

Return to “Beginners Help”