-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmptodo.txt
35 lines (32 loc) · 1.94 KB
/
tmptodo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
simon@simon ~/config (master) $ synclient TouchpadOff=0
simon@simon ~/config (master) $ cat toggletouch.sh
#!/bin/bash
if synclient -l | grep "TouchpadOff .*=.*0" ; then
synclient TouchpadOff=1 ;
else
synclient TouchpadOff=0 ;
fi
simon@simon ~/config (master) $ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL075B:01 06CB:76AF Touchpad id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=17 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=11 [slave keyboard (3)]
↳ Intel Virtual Button driver id=13 [slave keyboard (3)]
↳ Intel HID events id=14 [slave keyboard (3)]
↳ Dell WMI hotkeys id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
simon@simon ~/config (master) $ xinput set-prop 17 "Device Enabled" 0
simon@simon ~/config (master) $ xinput set-prop 17 "Device Enabled" 1
simon@simon ~/config (master) $ xinput set-prop 12 "Device Enabled" 1
simon@simon ~/config (master) $ xinput set-prop 12 "Device Enabled" 0
simon@simon ~/config (master) $ xinput set-prop 12 "Device Enabled" 1
xinput | grep "Synaptics TouchPad .*=[[:digit:]]"
simon@simon ~/config (master*) $ xinput -enable "DLL075B:01 06CB:76AF Touchpad"
simon@simon ~/config (master*) $ xinput -disable "DLL075B:01 06CB:76AF Touchpad"