Here is a script that provides autostart functionality based on the fd.org autostart specification.
It is written in python and uses the PyXDG library.
Created attachment 14765 [details]
Created attachment 31935 [details] [review]
A bug fix for the script