dolmades / dolmades-cli

Setup your win-only applications on linux
Apache License 2.0
12 stars 0 forks source link

fix alsa with pulseaudio #53

Closed katakombi closed 5 years ago

katakombi commented 5 years ago

Alsa devices are blocked if PA is running and not suspended. Should be possible to use pasuspender

this works:

UDOCKER_DIR=~/.dolmades-1.1/ pasuspender -- /home/stefan/Projects/dolmades/cli/udocker --quiet run --user=stefan --volume=/home/stefan/.Xauthority --hostenv --dri 'CME' sh -c '/.dolmades/start.sh ""'

why doesn't it work from python ??? subprocess.call(cmd, Shell=True, close_fds=True)

katakombi commented 5 years ago

Fixed! Had nothing to do with it! don't usepulseaudio -k, it will auto-spawn and not get along well with pasuspender!