Window events based automation for linux using python.