Shardsofmetal
October 28th, 2008, 03:38 AM
The first thing I need to know, are PostSession scripts, like /etc/gdm/PostSession/Default, executed before the screen goes black, or right after? I ask because I've added 3 lines to the file
dcop amarok playlist saveCurrentPlaylist
dcop amarok player stop
sleep 3.6above the "exit 0" command, yet they aren't being run before gnome exits. The point of the commands is to save the current playlist before exiting everything, and to fade out the music like in kde, without my having to manually exit the program. Am I doing something wrong, or should this work?
dcop amarok playlist saveCurrentPlaylist
dcop amarok player stop
sleep 3.6above the "exit 0" command, yet they aren't being run before gnome exits. The point of the commands is to save the current playlist before exiting everything, and to fade out the music like in kde, without my having to manually exit the program. Am I doing something wrong, or should this work?