add wmctrl and check version in aactivate
add wmctrl and check version in aactivate