Pertama jalankan perintah
xinput
Anda akan mendapatkan output yang terlihat seperti
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Multi-Input Device id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=16 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
....
Touchpad adalah perangkat dengan ID 16. Periksa ID yang benar untuk kasus Anda.
Kemudian, jalankan perintah
xinput set-button-map 16 1 2 3 0 0 6 7 8 9
dimana
16 is in my case the ID for the touchpad
1 is the left click
2 is the middle click
3 is the right click
0 we disable the scroll up (otherwise it would be 4)
0 we disable the scroll down (otherwise it would be 5)
6 ... we leave the rest as they are so we do not disable something important
Sekarang sisi kanan touchpad dinonaktifkan dan tidak merespons gulir.