Subject: bug#375 closed by Mark Hindley <[email-masked]> (Re: bug#480: Firefox - no sound)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:30 +0000

This is an automatic notification regarding your bug report
which was filed against the pulseaudio package:

#375: pulseaudio not started in xfce for regular user

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
480: https://bugs.devuan.org/cgi/bugreport.cgi?bug=480
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#480: Firefox - no sound
From: Mark Hindley <[email-masked]>
To: Michaela Merz <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 3 Jun 2020 19:44:01 +0100

reassign 480 pulseaudio
forcemerge 276 480

On Wed, Jun 03, 2020 at 12:06:42PM -0500, Michaela Merz wrote:
>    > > [1] http://files.devuan.org/devuan_beowulf/Release_notes.txt > >
>    --00000000000000808705a7310ed4 Content-Type: text/html; charset="UTF-8"
>    Content-Transfer-Encoding: quoted-printable
> 
>    Mark:
>    Rats. I enabled autospawn in client.conf, but forgot about
> 00-disable-autospawn.conf
> 
> Confirming that firefox works with audio now. Sory to bother you :(

Thanks.

Closing

Mark

Subject: pulseaudio not started in xfce for regular user
From: Tito <[email-masked]>
To: [email-masked]
Date: Tue, 14 Jan 2020 22:09:03 +0100

Package: pulseaudio
Version: 12.2-4+deb10u1

Incorrect behavior: the .desktop file installed in
/etc/xdg/autostart/pulseaudio.desktop does not work correctly
for a regular user and pulseaudio is not started in xfce DE.
The .desktop file does start pulseaudio for the root user.

[Desktop Entry]
Version=1.0
Name=PulseAudio Sound System

omissis

Exec=start-pulseaudio-x11
Terminal=false
Type=Application
Categories=
GenericName=
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1

Partial fix:
changing Exec line to Exec=/usr/bin/pulseaudio --start
works for regular users but not for the  root user.

Calling a wrapper script like:

#!/bin/sh
if [ $(id -u) -eq 0 ] ; then
	start-pulseaudio-x11
else
	pulseaudio --start
fi

maybe could work for all users but i did not test it
and probably there is a more orthodox solution.