Browse Source

Script to disable touchscreen

Viktor Grahn 2 năm trước cách đây
mục cha
commit
a9035b0726
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      disableTouchScreen

+ 4 - 0
disableTouchScreen

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+INPUT_ID=$(xinput list | grep "Wacom HID 4943 Finger" | sed 's/.*id=\([[:digit:]]\+\).*$/\1/')
+xinput disable ${INPUT_ID}