Thanks Raine. My current understanding is that artsshell -q terminate does in fact stop the pulseaudio processes but it does not release enough memory (by removing the contents of /dev/shm) to allow a second startup of qjackctl. The exact symptoms would vary with the amount of memory installed in a given machine.
On Sun, 30 May 2010, John Ouzts wrote:
I actually only did this cleanup from the command line so far, but that is the place where I'd put the commands. Any more commands and I'd migrate it to ~/bin/jack-prestart.sh or something.Are you putting the "/usr/bin/pacmd exit; rm /dev/shm pulse*" script into
the qjackctl>Setup>Options box?
I wouldn't worry about that one file (left from playing some startup sound?) unless it actually causes problems. I'm of course assuming a single user setup, where there wouldn't be leftovers from other users' sessions.
I suppose the replacement script would need to be setuid, since at least
one of the pulseaudio files could not be removed as user. That in turn,
I think, means this needs to be a compiled program rather than a shell
script for security reasons. Does that make sense?
--
Raine M. Ekman tel: 0400 838 395
raine@iki.fi www: http://www.iki.fi/%7Eraine/