Enable sound in new Firefox versions

Moderator: Forum moderators

Post Reply
User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Enable sound in new Firefox versions

Post by Jafadmin »

Edit /usr/local/bin/defaultbrowser to read:

Code: Select all

#!/bin/sh
exec apulse firefox "$@"
User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Enable sound in new Firefox versions

Post by bigpup »

What do you do if you do not want Firefox to be the default browser?

Find the firefox.desktop file in /usr/share/applications
Open in a text editor.
Make the edit to the exec line
--------------------------------------------------------------------------------------------------------------------------------------------------------
If the Puppy version does not have any apulse in it?
what do you need for apulse to work?

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
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: Enable sound in new Firefox versions

Post by Jafadmin »

bigpup wrote: Wed Sep 23, 2020 6:08 pm What do you do if you do not want Firefox to be the default browser?
Edit the last command in the /usr/lib/firefox/firefox.sh file to read

Code: Select all

exec apulse $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
But that file will be overwritten at next upgrade! :(
bigpup wrote: If the Puppy version does not have any apulse in it?
what do you need for apulse to work?
Install apulse :?
User avatar
mikewalsh
Moderator
Posts: 6158
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1981 times

Re: Enable sound in new Firefox versions

Post by mikewalsh »

bigpup wrote: Wed Sep 23, 2020 6:08 pm What do you do if you do not want Firefox to be the default browser?

If the Puppy version does not have any apulse in it?
what do you need for apulse to work?
My solution? Use the Firefox-portables. They have apulse built in, and are set to make use of it so long as you fire it up from the launch script.....and as a 'portable', you can run it from anywhere you want.

As with any browser, it's entirely voluntary as to whether you want it to be the 'default'. If you want a 'portable' to be your default, and it doesn't show up under the Puppy Default Applications Chooser (which it won't!), just fill in the $path to it manually, then 'OK'.

Ways round everything, and I always take the path of least resistance! :D


Mike. ;)
oui
Posts: 416
Joined: Fri Aug 28, 2020 9:35 pm
Has thanked: 9 times
Been thanked: 30 times

Re: Enable sound in new Firefox versions

Post by oui »

in all the 5 Dpup Buster from josejp2424 pulseaudio works perfectly with the browsers (not really a surprise as pulseaudio is the standard in Debian...) :mrgreen:

I use 2 browsers: Seamonkey, the standard browser in the Puppy world, needing because of email client function and composer, in old rel. 2.32 (be be tiny) and palemoon 28.13.0 (the young most actual rel.) as I like to have 2 browsers
Post Reply

Return to “Sounds”