dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

pulseaudio error

(1/2) > >>

jls:
Hi
see attachments

--- Code: ---jls@pc1:~$ cat .X.d/pulseaudio
#!/bin/sh

pulseaudio --log-level=debug --log-target=stderr --log-time=true >> /var/log/pulse.log 2>&1

jls@pc1:~$ ps|grep pulse
jls       9904  9903  0 17:09 tty1     00:00:00 pulseaudio --log-level=debug --log-target=stderr --log-time=true
jls      12833 12229  0 17:23 pts/2    00:00:00 grep pulse
jls@pc1:~$

--- End code ---

jls:
Closing X and starting it again makes pulse working

jls:
Hi
What I've noticed is that pulseaudio after a while of inactivity it closes, and while other applications are capable to start pulseaudio again ( for example terminology ), firefox can't, so if firefox is launched with pulseaudio running ok, otherwise no sound in firefox.

Jason W:
I also found that a pulseaudio startup script in ~/.X.d does not work on initial boot and X session, but after closing X and restarting it it works.  I was going to make the pulseaudio tce.installed startup script create a ~/.X.d/pulseaudio script to start pulseaudio when X starts, but as noted it does not work on boot.   Desktop environments like XFCE take care of pulseaudio and pulseaudio starts and works reliably in them.  The smaller window managers don't start pulseaudio, so it is left to the user.   

jls:
Hi
I think your startup script is still on the server.
Also Enlightenment take care of starting pulseaudio daemon.
The problem is that while in standard ubuntu the daemon stays alive even if no program uses it, in dCore the daemon dies after a while.
Some programs are able to autostart pulseaudio again but not firefox, so I modified
/etc/pulse/daemon.conf
setting:
exit-idle-time = -1
so the daemon stays always alive.

Ciao

Navigation

[0] Message Index

[#] Next page

Go to full version