[pulseaudio-discuss] First start by gnome-session doesn't honour default.pa?

Colin Guthrie gmane at colin.guthr.ie
Wed Sep 29 08:00:40 PDT 2010


'Twas brillig, and Ng Oon-Ee at 29/09/10 15:13 did gyre and gimble:
> Hi all,
> 
> I've enabled the virtual simultaneous output option in paprefs, and also
> the line 'set-default-sink combined' to /etc/pulse/default.pa
> 
> I do not have ~/.pulse/default.pa or any user-specific configuration.
> 
> Whenever I first start Gnome, the simultaneous output is not loaded, and
> thus is not set to default. When I 'killall pulseaudio' the next
> instance works as I expect (simultaneous output exists and is default).
> 
> Could this have something to do with esdcompat? My gnome-media,
> gnome-settings-daemon, and libcanberra are all compiled with pulseaudio
> enabled.
> 
> I could of course workaround this by running killall pulseaudio
> everytime I boot, but that's not exactly optimal =)

I suspect this is something to do with gconf.

paprefs just sets some keys in gconf and it's up to module-gconf to
actually read and process them.

I believe (tho' have not checked) that module-gconf will not wait for
gconf itself to be loaded before being considered "loaded" therefore,
the set-default-sink combined in default.pa may not work, even if the
gconf is available and working.

Out of curiosity, does unloading/reloading just module-gconf make the
simultaneous output appear? (as opposed to killing the whole of the PA
daemon) It's not any more elegant a solution but it does narrow down
where the problem lies :D

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list