In general, from the system settings you set a global notifications ringtone, then from within each app (messaging, GMail, Facebook, etc) you can set individual ringtones or just let it use the global one.