If you want to disable wireless if cable is plugged in on Linux then here is a possible solution: https://bbs.archlinux.org/viewtopic.php?id=91542