Page 1 of 1

Enable sound in new Firefox versions

Posted: Wed Sep 23, 2020 5:51 pm
by Jafadmin
Edit /usr/local/bin/defaultbrowser to read:

Code: Select all

#!/bin/sh
exec apulse firefox "$@"

Re: Enable sound in new Firefox versions

Posted: Wed Sep 23, 2020 6:08 pm
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?


Re: Enable sound in new Firefox versions

Posted: Wed Sep 23, 2020 8:11 pm
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 :?

Re: Enable sound in new Firefox versions

Posted: Thu Sep 24, 2020 10:47 am
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. ;)

Re: Enable sound in new Firefox versions

Posted: Tue Sep 29, 2020 6:34 am
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