On Fri, Mar 03, 2006 at 05:32:41PM +0100, Rodrigo Moya wrote: > On Fri, 2006-03-03 at 08:11 -0800, David Schleef wrote: > > On Thu, Mar 02, 2006 at 12:26:09PM +0100, Rodrigo Moya wrote: > > > It seems there really is no need to run esd from gnome-session and > > > gnome-settings-daemon, since libesound will spawn it when needed. > > > > > > So, here are two patches for g-session and g-s-d that just don't spawn > > > it at all. It seems to work ok for me, but please could people test it > > > and make sure it doesn't break anything before I submit them? > > > > Spawning esd from libesd is the root of all kinds of evil. I'd > > remove the feature if I didn't expect that eventually someone would > > complain loudly and it would erupt into a flamewar. Instead, I've > > been fixing apps that use esound to not request that a daemon is > > started. > > > and how do you do that? I guess we want that also for gnome-session and > g-s-d.
Put ESD_NO_SPAWN=1 into the environment (i.e., by using g_setenv()) before calling esd_open_sound(). Yes, I realize this is gross. But adding API to esound at this point is silly. dave... -- David Schleef Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
