On X, we can easily enable or disable input devices using the `xinput` command. This is a great use case when you're tired of accidentally hitting the red Thinkpad nub or having your palm be recognized when drawing with a pen.
Running the `xinput` command performs the action temporarily. Your default settings will be restored upon a reboot.