working audio in slimjet39

Hello everybody:

If you are puppylinux users you will find a problem when using SLIMJET xxx, there is NO SOUND in your system (youtube, vimeo, mp3, mp4…. ) and sometimes it is not very important, but there are moments of time when u need it.

This problem, made me think about change my default browser, from slimjet to firefox, but thanks @fredx181 it was solved.

His solution…. and it works

______________________________________________________

How-to run pulseaudio as root in F96CE_XFCE_FUSILLI 4.4

Post by fredx181 » Thu May 04, 2023 5:23 pm

How-to run pulseaudio as root in F96CE_XFCE_FUSILLI 4.4

Following up on a report by @pp4mnklinux that when Simjet running as root, audio doesn’t work viewtopic.php?p=87663#p87663
On XFCE_FUSILLI pulseaudio runs as ‘spot’ and I’ve found that’s the reason for no audio when running Slimjet as root (with --no-sandbox).
(and there may be other audio problems too because of running pulseaudio as ‘spot’, not sure though)

Here’s how I changed to pulseaudio running as “root” on XFCE_FUSILLI 4.4:

1) Open /root/.xinitrc (hidden file) with text-editor and find the line elif [ -e /usr/bin/pulseaudio ]; then (probably on line 79)
then change the three lines below that to:

CODE: SELECT ALL

    sh -c "pulseaudio --kill > /dev/null 2>&1; pulseaudio --start --log-target=syslog"
    export PULSE_SERVER=unix:/tmp/runtime-root/pulse/native
    export PULSE_COOKIE=/root/.config/pulse/cookie

and save the file.


2) Open /usr/bin/pa-applet with text-editor, find the line XUSER=spot (line 9), change to:
XUSER=root and save the file


3) Restart X


4) Check by running Slimjet “as root” if audio plays, WORKS!!!??? :D

Above steps work OK for me, but if anyone knows a better way, please say .

______________________________ link to the original post _____________________________________

I tested and it works, so now I can use slimjet 39 with my F96CE_XFCE_FUSILLI 4.4 BUT.. (edited 4th November 2023)

When you did this modification, u gonna loose audio on Google Chrome, so if you have both programs, choose carefully which one u want audio to work with.

My option…. SLIMJET

Design a site like this with WordPress.com
Get started