sound doesn't work until I login
Karl Auer
kauer at biplane.com.au
Thu Sep 8 11:21:26 UTC 2016
On Thu, 2016-09-08 at 10:36 +0200, Oliver Grawert wrote:
> if you run a script anyway you can indeed just start a session
> pulseaudio... just put:
>
> pulseaudio --start --log-target=syslog
>
> into your script at the top and turn off the system wide start you
> enabled yesterday... that will give you a proper user owned pulse
> like started from the graphical session.
Pffffffff - that worked fine. What a long and roundabout way I took!
Sound now plays on boot, without me having to use system mode. And I
added a pacmd command just after running pulseaudio; it sets the volume
very nicely.
I'm starting to understand why Ralf doesn't like pulseaudio. It is not
easy to use and is very poorly documented. I still have no idea how I
can control the sound from outside my script. Luckily I don't need
to...
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
More information about the ubuntu-users
mailing list