added preliminary support for autostart at login

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>