Factoids

xinput:

  1. xinput set-prop $(xinput|grep pointer|awk '/Unify/{print substr($8,4)}') 'Evdev Middle Button Emulation' 1
  2. xinput set-prop $(xinput|awk '/pointer/&&/K400/{print substr($5,4)}') 'Evdev Middle Button Emulation' 1