Previously in Karmic, we created a logout script that does some work in the background on backing up a users home directory, this script was put in the /etc/GDM/PostSession
directory.
I can't figure out where to put a script that I want to run during a logout in LightDM.
I've searched and have found many people who are looking for this answer, so any help would be greatly appreciated.