list application and update capture on x11
update code for region calculate
update sample/region logic on linux