1
1
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?
I added an answer below, but had another thought: There is a change the script is catching a term signal with the lock. Have you tried adding an "&" and the end of the call for the script? So in the hook you have it would be
script_name.sh &
? – nerdwaller – 2012-12-03T20:56:08.327