I'm using debian with kde4 I have a script that i need to be executed after a user loggins to kde. The system is setup to auto-login a user and lock the session. I tried to add the script to kde's autostart but it seams that it's not executed if the auto-login user is set to lock session right away. It only starts after the session is unlocked. How can i make the script run after the aut-login but before the auto-lock?
One option is to disable the auto-lock by the system and call it after the script is done. Assuming that you are able or willing to do that:
I don't use KDE, but I think this is the script for KDE 4.x+:
The desktop-agnostic way to autostart apps in xorg is by placing
Apparently KDE respects the convention and it might work.
The launchers can be copied/symlinked/drag-and-dropped from