linux:touchpad_setting

Fedora の Touchpad 設定

xinput をインストールする🤔

$ sudo dnf install xinput -y

メタデータの期限切れの最終確認: 2:54:36 前の 2024年02月08日 10時15分55秒 に実施しました。
依存関係が解決しました。
==============================================================================================================
 パッケージ              アーキテクチャー        バージョン                     リポジトリー            サイズ
==============================================================================================================
インストール:
 xinput                  x86_64                  1.6.3-7.fc39                   fedora                   37 k

トランザクションの概要
==============================================================================================================
インストール  1 パッケージ

ダウンロードサイズの合計: 37 k
インストール後のサイズ: 66 k
パッケージのダウンロード:
xinput-1.6.3-7.fc39.x86_64.rpm                                                114 kB/s |  37 kB     00:00    
--------------------------------------------------------------------------------------------------------------
合計                                                                           22 kB/s |  37 kB     00:01     
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                      1/1 
  インストール中   : xinput-1.6.3-7.fc39.x86_64                                                           1/1 
  scriptletの実行中: xinput-1.6.3-7.fc39.x86_64                                                           1/1 
  検証             : xinput-1.6.3-7.fc39.x86_64                                                           1/1 

インストール済み:
  xinput-1.6.3-7.fc39.x86_64                                                                                  

完了しました!

動作確認🤔

$ xinput --version

xinput version 1.6.3
XI version on server: 2.3

入力デバイスの一覧を表示する🤔

$ sudo libinput list-devices

Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Video Bus
Kernel:           /dev/input/event5
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Power Button
Kernel:           /dev/input/event0
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Lid Switch
Kernel:           /dev/input/event1
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Logitech M510
Kernel:           /dev/input/event6
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event9
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           FSPPS/2 Sentelic FingerSensingPad
Kernel:           /dev/input/event4
Group:            8
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

$ xinput --list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech M510                           	id=10	[slave  pointer  (2)]
⎜   ↳ FSPPS/2 Sentelic FingerSensingPad       	id=11	[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)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]

FSPPS/2 Sentelic FingerSensingPad がタッチパッドなので、id=11 のプロパティを一覧する🤔

$ xinput list-props 11

Device 'FSPPS/2 Sentelic FingerSensingPad':
	Device Enabled (145):	1
	Coordinate Transformation Matrix (147):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (277):	0
	libinput Natural Scrolling Enabled Default (278):	0
	libinput Scroll Methods Available (279):	0, 0, 1
	libinput Scroll Method Enabled (280):	0, 0, 0
	libinput Scroll Method Enabled Default (281):	0, 0, 0
	libinput Button Scrolling Button (282):	2
	libinput Button Scrolling Button Default (283):	2
	libinput Button Scrolling Button Lock Enabled (284):	0
	libinput Button Scrolling Button Lock Enabled Default (285):	0
	libinput Middle Emulation Enabled (286):	0
	libinput Middle Emulation Enabled Default (287):	0
	libinput Rotation Angle (260):	0.000000
	libinput Rotation Angle Default (261):	0.000000
	libinput Accel Speed (288):	0.026178
	libinput Accel Speed Default (289):	0.000000
	libinput Accel Profiles Available (290):	1, 1, 1
	libinput Accel Profile Enabled (291):	1, 0
	libinput Accel Profile Enabled Default (292):	1, 0, 0
	libinput Accel Custom Fallback Points (293):	<no items>
	libinput Accel Custom Fallback Step (294):	0.000000
	libinput Accel Custom Motion Points (295):	<no items>
	libinput Accel Custom Motion Step (296):	0.000000
	libinput Accel Custom Scroll Points (297):	<no items>
	libinput Accel Custom Scroll Step (298):	0.000000
	libinput Left Handed Enabled (299):	0
	libinput Left Handed Enabled Default (300):	0
	libinput Send Events Modes Available (262):	1, 0
	libinput Send Events Mode Enabled (263):	0, 0
	libinput Send Events Mode Enabled Default (264):	0, 0
	Device Node (265):	"/dev/input/event4"
	Device Product ID (266):	2, 15
	libinput Drag Lock Buttons (301):	<no items>
	libinput Horizontal Scroll Enabled (302):	1
	libinput Scrolling Pixel Distance (303):	15
	libinput Scrolling Pixel Distance Default (304):	15
	libinput High Resolution Wheel Scroll Enabled (305):	1

Device Enabled (145) を 0 (無効) に設定する😉

$ xinput set-prop 11 145 0

入力デバイスの一覧を表示する🤔

$ xinput --list

WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:15                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:15            	id=7	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer-gestures:15            	id=8	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:15                    	id=9	[slave  keyboard (3)]


WARNING: running xinput against an Xwayland server. See the xinput man page for details.

警告: Xwayland サーバーに対して xinput を実行しています。詳細については、xinput のマニュアルページを参照してください。

Wayland の場合は gsettings でタッチパッドを disabled (無効) に設定する😉

$ gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled

  • linux/touchpad_setting.txt
  • 最終更新: 2024/04/01 04:25
  • by ともやん