Want to run a few scripts before KDE shutdown, where can I add them.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 22.214.171.124, KDE 3.5.8 and KDE 4.0 beta, Plu
Thats what I had in mind. Let me guess here. I would create a script here to do all my smaller scripts then name it something like scriptshutdown. Here is my guess here I would edit the file:/etc/kde/kdm/kdmrc and change this section:
Of coarse I would add poweroff to the last line in the new script. I am not sure it will run a script from here or not. Would there be a better place to link the new shutdown script to. I don't know if I would use sudo here or not. If I make the script available to all it should work fine.
Here is a few things I would like to accomplish with the script. It would copy certain files like bookmarks and email to another drive for backup and be available in an event of the main drive crash. Send this output to display on the screen using xterm to show all is done. Of coarse let it pause a few seconds using ping as a pause statement. Then powerdown. Doing the script I can do fine, just don't know where to put it mostly.