add executable to handle leave actions

new attempt for https://github.com/lxde/lxqt/issues/319