Probably this has been asked before, but the combination of keywords keeps pointing me to other topics.
Is there a way to wait for the desktop to be ready once the user logs in? Or, in other words, a way to delay a log in policy script long enough so it executes when the user has seen his desktop, dock and so on?
Currently I'm only using a sleep command, but the time I put there doesn't necessarily match the time it takes for the session to start and the desktop to show up.
Thanks!
