if you wish to run it when KDE (actually X) is started, just edit your xinitrc-file: with any text editor, open up a file called .xinitrc (dot-xinitrc) in your home directory (if there is no such file, just create it - this file doesn't need any special tags or anything, just add the command lines like you'd be in a shell)
then just add the lines you need into the file, and save. next time X is started, the script should be run.
BUT if you instead wish to run the script at bootup, when the whole system starts, search for a file called rc.local and add the needed script lines there...
this is at least how I do things. I'm not sure if KDE has some system to do this in some other way (I don't use KDE myself) but this should work..
EDIT: to make this clear, add this line (modify the path of the script, of course - I'll assume your python executable is in /usr/bin. you can check this with "whereis python" command -without quotes-) to your .xinitrc (or rc.local, if you prefer) file:
Last edited by b0uncer; 05-03-2004 at 05:38 PM.