How to reset your keyboard on OSX

Somehow, after connecting my new Logitech G9 Laser mouse tonight, two keys on my MS Natural Ergo keyboard were swapped. Highly annoying. After some digging around the Googles, I learned that in order to “reset” your keyboard —i.e. making OSX forget your keyboard type— all you have to do is a

rm /Library/Preferences/

Once done, disconnect the keyboard, plug it in again, and the “New keyboard found, wot is it?" dialog will pop up again. Problem solved, case closed.

Thanks to Riccardo Raneri, on whose blog I found this hint. Credit where it’s due.

💬 Reply by email     ⭐️ Also on
Carlo Zottmann @czottmann