Comment 4 for bug 859724

Revision history for this message
Jean-Philippe Orsini (jfi) wrote : Re: PSensor as startup applications goes "over" Unity dock

Xavier,

I am reproducing the issue.

It appears that it is due to the fact that Psensor is started before the WM is handling the windows placement.

/etc/xdg/autostart/psensor.desktop does not set X-GNOME-Autostart-Phase, so it should be the 'Applications' phase (which is after the WM). Setting this attribute to Applications does not change the issue. Anyway, I don't know if Unity is supposed to support it.

But...... X-GNOME-Autostart-Delay seems to work (I set it to 30), psensor is started ~30s after Unity and its window is placed correctly.

Maybe not very clean, but at least it will avoid the need to manually quit or move the psensor windows at each startup.

I am going to commit this workaround and hope that some Unity people can provide a better solution.