Comment 11 for bug 257089

Revision history for this message
Quentin L (bougalerat) wrote : Re: [Bug 257089] Re: amarok does not save the playlist between computer restarts

I found a way to avoid this problem : i installed gshutdown (sudo
apt-get install gshutdown), wrote the script below and put a shortcut
for this script on my desktop.
Now when i want to shut down my laptop i just have to click on the
shortcut and amarok properly exits. On next reboot playlists are ok :-)

(It doesnt solve the bug in amarok, just avoid it)

Quentin

#!/bin/bash
# Pour éteindre l'ordi en fermant proprement amarok
/usr/bin/dcop amarok MainApplication-Interface quit
sleep 1
/usr/bin/gnome-session-save
/usr/bin/gshutdown --action shutdown --launch-now --minimize

Matthäus Brandl a écrit :
> Confirming, as well on GNOME. But actually, I'm experiencing this since
> Intrepid. Window state and position isn't saved either...
>
>