used wmctrl to finish #17