LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kde: i want to access the logout source code and change it. (https://www.linuxquestions.org/questions/linux-software-2/kde-i-want-to-access-the-logout-source-code-and-change-it-244240/)

Doomhammer 10-18-2004 12:49 PM

kde: i want to access the logout source code and change it.
 
Hello all,
I would like to replace the logout function of kde. I want to change it to a simple killall X command. Is anybody know where can i find the code of that? If somebody have any idea, you are welcome. I dont event knoe where is located the source code files for KDE.


Thx

Peterius 10-18-2004 01:13 PM

Chances are there are scripts that run when KDE exits similar to .bash_logout for exiting a bash shell. You might be able to just add what you want there instead of editing source.

Also, you could alter whatever you use to startup KDE with a script that starts up KDE and then runs what you want it to run when KDE exits. I'm not a KDE user but there should be various ways to fit in the shell commands you want when you want them.


All times are GMT -5. The time now is 07:07 AM.