Ok, I've got a bit of new information. It turns out that kdeinit_shutdown doesn't even do what I want it to do. That brings me back to the login screen, but when I just tried it, it didn't shut down kmix properly. The only thing that has succesfully shut down kmix properly is the actual logout button on my KDE panel. Does anybody know what command(s) that specific button executes? Another thought occured to me. I could possibly achieve the same effect for what I'm going for if I could run a script that closes all programs properly first, and then just /sbin/halt's. Does anybody know how I would go about closing all programs running in kde the way that kde does it with the logout button? thanks justin Justin Haaheim wrote: > That didn't seem to work. It's the right idea though. I'd like to just > be able to run a script that logs out of kde properly first, and then > reboots. I don't know exactly why that didn't work. > > Any other ideas? > > justin > > Chris Frederick wrote: > >> On Wed, 2003-03-12 at 13:08, Justin Haaheim wrote: >> >>> The probelm is that /sbin/reboot or /sbin/halt doesn't let kde do all >>> of its loggin out properly. >> >> >> >> Using script, lets call it "killitall", that contains: >> #!/bin/bash >> kdeinit_shutdown >> /sbin/reboot >> >> Couldn't you: >> $su - >> #nohup killitall >> >> nohup will not stop executing when your kde session ends, so the next >> line of the script would still be executed. And depending on your >> security you might not need to be root either. >> >> Is this what your looking for? > > > > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list _______________________________________________ Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list