PDA

View Full Version : [ubuntu] Starting PulseAudio without Gnome (IceWM + XDM)



whocarez
June 15th, 2009, 04:27 PM
I am using Ubuntu 9.04, and have removed all Gnome packages. My primary desktop i IceWM with XDM. I noticed that Gnome has a startup-script for PulseAudio in /etc/X11/Xsession.d/70pulseaudio, which I guess is the primary method for starting pulseaudio. I also noticed that there is a script, /usr/bin/start-pulseaudio-x11 which essentially starts PulseAudio and loads some pa-modules.

My question is how to start PulseAudio correctly on login. Should I just create a small script in /etc/X11/Xsession.d that executes pulseaudio through the start-pulseaudio-x11 script?

Looks like I also had to add myself to pulse-rt and pulse-access groups. I think it would be nice if Ubuntu also provided scripts for starting PulseAudio without having Gnome installed. Maybe in a small package, so it is not Gnome dependent.

whocarez
June 18th, 2009, 04:05 AM
A small bump, I guess..

Forlornity
June 18th, 2009, 12:13 PM
If it helps, I tend to start pulseaudio (after the frequent crashes) with the command:

pulseaudio --start

markbuntu
June 18th, 2009, 08:53 PM
pulseaudio -D will start pulse as a daemon.