In Ubuntu you can try modding lightdm upstart entry. It contains pre-start and post-start scripts, this looks like the thing you&#39;re looking for.<br><br>--<br>Sergey &quot;Shnatsel&quot; Davidoff<br>elementary OS integrator<br>