There is a file called 'libcanberra-logout-sound.sh' in /usr/share/gnome/shutdown that is meant to be run on shutdown. The reason the file is not played is that the piece of code that is meant to be in gnome-session to run all files in the /usr/share/gnome/shutdown directory is not there (it was forgot).
Upstream is a patch someone made to fix it and the nautilus developers suggested some changes to the patch. This bug needs someone to modify the patch as required.
Redirecting focus to the actual bug filed here:
There is a file called 'libcanberra- logout- sound.sh' in /usr/share/ gnome/shutdown that is meant to be run on shutdown. The reason the file is not played is that the piece of code that is meant to be in gnome-session to run all files in the /usr/share/ gnome/shutdown directory is not there (it was forgot).
Upstream is a patch someone made to fix it and the nautilus developers suggested some changes to the patch. This bug needs someone to modify the patch as required.