use copy selection only on linux.