Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: GNUser on August 12, 2020, 08:53:43 AM
-
If you like alsa, dislike pulseaudio, and need sound in firefox, then you will love apulse!
apulse is a wrapper script that provides "pulseaudio emulation for alsa" to the wrapped application only. It is very easy to use:
$ tce-load -wi apulse
$ apulse firefox
I'm a grumpy dinosaur (don't like pulseaudio or dbus), so my calls to firefox are actually like this:
$ apulse dbus-run-session firefox
With this command, I get sound without pulseaudio and dbus goes away when firefox closes. Pretty sweet.
I hope this helps other grumpy dinosaurs.
P.S. apulse is a brand-new extension and will be in the TCL11 64bit repository soon. If you use a different version of TCL, apulse is trivial to compile (see here: https://github.com/i-rinat/apulse).
-
I decided to bite the bullet and submit apulse for several other TCL versions: TCL11-32bit, TCL10-64bit, and TCL10-32bit. Cheers!
-
i've been using an alpine chroot lately for firefox as there they compiled against alsa.
-
@GNUser
Altho I use apulse which is why I submitted TC64 11x, I have no problem and think it might be more logical? if you become the downstream maintainer of it for any fixes/updates if you care to. Forgive me if it appears I am giving you more work ;D
-
brilliant - thanks a lot for the apulse extension(s)!
-
I use "apulse firefox" with FF102esr in TC14_32 and discover that apulse require alsa-config.tcz to work with FF. Could someone confirm this and add alsa-config.tcz to apulse.tcz.dep file?
-
I wrote a little script that, if both firefox and apulse are loaded, edits the firedox reference in ~/.wbar to run apulse firefox instead. It has an undo capability as well, though I've never had occasion to use that IRL.
-
There could be also two icons in wbar. One for alsa-firefox and the second for normal firefox.