#!/bin/sh declare -i ID ID=`xinput list | grep -Eo 'maXTouch Digitizer\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'` xinput disable $ID