This works on my Ubuntu 9.04 system (tested with multiple user accounts).
Edit the following file:
/etc/gdm/PostSession/Default
And add this in before the "exit 0":
/usr/share/gnome/shutdown/libcanberra-logout-sound.sh
Now your logout of a Gnome session should play whatever logout sound you have specified (do I get a lollipop for this?).
This works on my Ubuntu 9.04 system (tested with multiple user accounts).
Edit the following file:
/etc/gdm/ PostSession/ Default
And add this in before the "exit 0":
/usr/share/ gnome/shutdown/ libcanberra- logout- sound.sh
Now your logout of a Gnome session should play whatever logout sound you have specified (do I get a lollipop for this?).