I want to be able to respond to xfce desktop events such as "Switch Desktop" "open window".

Is there some central listener I can hook into?