I'm confused you want this running in the background how a daemon would?
If you want something wierd like that yes you should look at rc scripts and how/when they get called by init.
Since I doubt thats what you want tho cause its dependant on kde->x. Have kde start yakuake( look in your kde control panel or w.e thats called; system conf? =S ) or toss and entry like you metnioned in your .x[initrc,session] found in your home dir to start it.
Last edited by maciuszek; 02-14-2013 at 07:56 AM.