First draft for linux capture.