linuxmint / cinnamon-session

The Cinnamon session manager
GNU General Public License v2.0
26 stars 36 forks source link

(experiment) Don't wait for the logout sound to finish before logout #146

Closed ItzSwirlz closed 2 years ago

ItzSwirlz commented 2 years ago

The sound should be able to play while the desktop is logging out. There is no need for a long pause if the sound can play.

I have no idea if this has been checked or tested before, but my hope, from what I've at least seen with DDE (from what I remember) is that until the audio service shutdowns (which I belive is after the desktop shuts down) the sound can continue playing.

If this doesn't work maybe the sleep time could be decreased

ItzSwirlz commented 2 years ago

I can now close this as my experiment is done: I figured out that the Cinnamon login sound is handled by Cinnamon cinnamon in the JS, but the logout is controlled only by session. I'll have to see if I can put both in there together.