commit xinput in  file