On Fri, 2008-12-05 at 16:52 -0800, Dan Nicholson wrote: > > If you tell me how i can execute a file inside c code (in a way that > > gnome accepts it) then i will do my best to make a patch. > > > > And just to be sure.. if i make a patch with logout sound support i > > need to edit the gsm_logout_supports_* function in the > > gsm_logout_dialog.c file right and assign there appropriate sound name > > in each function (logout gets a logout sound, shutdown gets a shutdown > > sound etc...) > > I think the problem is that gnome-session doesn't know about logout > actions. So, the sound might get queued up at exit by > gnome-settings-daemon or something, but gnome-session doesn't know to > wait for it and just shuts down as fast as it can. The problem is that gnome-session does not know about logout actions, therefore no sound is queued at all. The idea is that gnome-session would execute all the shell scripts in /usr/share/gnome/shutdown/. Of course, there is some details to work out, like when in the shutdown sequence to do this (or can scripts register to run in a certain phase of the shutodwn ?), and how to wait for the logout sound to be completed without letting a misbehaving script block logout, etc. This should best happen in upstream bugzilla. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list