blob: 2f66a78d8a956bee7f8de1f691ad1640b420c98a (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<!doctype html>
<html lang="EN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/style.css">
<title>Touchpad deactivation</title>
</head>
<body>
<header>
<h1>Bloggings</h1>
<a href="/index.php">Back</a>
</header>
<main>
<article>
<h2>Touchpad deactivation</h2>
<h3>2025-06-09</h3>
<h4>When you have big hands and a little keyboard</h4>
<p>Until now I was using <b>synclient TouchpadOff=1</b> in my .xinitrc, but I was getting odd
results when using the keyboard mouse buttons. It turns out oddly the lower left area of my touchpad was infrequently active
and messing things up.</p>
<p>Replacing synclient with <b>xinput set-prop 11 172 0</b> fixed it.</p>
<p>I obtained the touchpad ID with <b>xinput list</b> and the command with <b>xinput -list-props 11</b></p>
<pre>
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Wireless Mouse id=9 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [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)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=13 [slave keyboard (3)]
↳ Logitech Wireless Mouse id=14 [slave keyboard (3)]
∼ SynPS/2 Synaptics TouchPad id=11 [floating slave]
$ xinput -list-props 11
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (172): 1
...
$ xinput set-prop 11 172 0
</pre>
</article>
</main>
<footer>
<p> </p>
<p>§</p>
</footer>
</body>
</html>
|