LoginSignup
4
4

More than 5 years have passed since last update.

ノートPCのタッチパッド無効化 linux

Posted at

ノートPCのタッチパッドを無効化する方法:
(1)xinputをインストールする。

sudo apt-get install xinput

(2) タッチパッドの名前を探す。

xinput list

私の環境では、以下の画像のようになり、「AlpsPS/2 ALPS Glidepoint」がタッチパッドだった。
20180929044519099.png

 デバイスの名前の探し方としては、「Virtual core pointer」の中にあり、ノートPCの場合、大体、内部のPS/2インターフェースで繋がっているので、PS/2と表示が出てくる。
(3)以下のコマンドを与える。xinputの2番めの引数が見つけたデバイスの名前である。

xinput --set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 0

これで、ログアウトや再起動するまでタッチパッドが無効になるが、恒久的に無効にするには、自分のスタートアップスクリプトなどに書いておくと良い。
スタートアップスクリプトの作り方は、次の通りである。
https://qiita.com/fygar256/items/020f685956df7d4fdb54

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4