linux:fedora:touchpad_setting

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:fedora:touchpad_setting [2025/03/09 08:03] – 削除 - 外部編集 (不明な日付) 非ログインユーザーlinux:fedora:touchpad_setting [2025/03/09 08:15] (現在) ともやん
行 1: 行 1:
 +====== Fedora の Touchpad 設定 ======
 +xinput をインストールする🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> install xinput <font color="#A347BA">-y</font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +メタデータの期限切れの最終確認: 2:54:36 前の 2024年02月08日 10時15分55秒 に実施しました。
 +依存関係が解決しました。
 +==============================================================================================================
 + パッケージ              アーキテクチャー        バージョン                     リポジトリー            サイズ
 +==============================================================================================================
 +インストール:
 + <font color="#26A269"><b>xinput                 </b></font> 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/
 +  scriptletの実行中: xinput-1.6.3-7.fc39.x86_64                                                           1/
 +  検証             : xinput-1.6.3-7.fc39.x86_64                                                           1/
 +
 +インストール済み:
 +  xinput-1.6.3-7.fc39.x86_64                                                                                  
 +
 +完了しました!
 +</pre></html></WRAP>
 +</WRAP>
 +
 +動作確認🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">xinput</font> <font color="#A347BA">--version</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +xinput version 1.6.3
 +XI version on server: 2.4
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== X11 環境の場合 =====
 +入力デバイスの一覧を表示する🤔\\
 +
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">libinput</font> list-devices
 +</pre></html></WRAP>
 +<WRAP color_result_long><html><pre>
 +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
 +</pre></html></WRAP>
 +</WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">xinput</font> <font color="#A347BA">--version</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +⎡ Virtual core pointer                    id=2 [master pointer  (3)]
 +⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
 +⎜   ↳ Logitech M510                            id=10 [slave  pointer  (2)]
 +⎜   ↳ <b class=DiYE>FSPPS/2 Sentelic FingerSensingPad        id=11</b> [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)]
 +</pre></html></WRAP>
 +</WRAP>
 +
 +FSPPS/2 Sentelic FingerSensingPad がタッチパッドなので、id=11 のプロパティを一覧する🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">xinput</font> list-props <b class=DiYE>11</b>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +Device &apos;FSPPS/2 Sentelic FingerSensingPad&apos;:
 + Device Enabled (<b class=DiYE>145</b>): 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): &lt;no items&gt;
 + libinput Accel Custom Fallback Step (294): 0.000000
 + libinput Accel Custom Motion Points (295): &lt;no items&gt;
 + libinput Accel Custom Motion Step (296): 0.000000
 + libinput Accel Custom Scroll Points (297): &lt;no items&gt;
 + 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): &quot;/dev/input/event4&quot;
 + Device Product ID (266): 2, 15
 + libinput Drag Lock Buttons (301): &lt;no items&gt;
 + 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
 +</pre></html></WRAP>
 +</WRAP>
 +
 +Device Enabled (145) を 0 (無効) に設定する😉\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">xinput</font> set-prop <b class=DiYE>11 145 0</b>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== Wayland 環境の場合 =====
 +入力デバイスの一覧を表示する🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">xinput</font> <font color="#A347BA">--list</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<b class=DiYE>WARNING: running xinput against an Xwayland server. See the xinput man page for details.</b>
 +⎡ 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)]
 +</pre></html></WRAP>
 +----
 +<WRAP color_result><html><pre>
 +WARNING: running xinput against an Xwayland server. See the xinput man page for details.
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +警告: Xwayland サーバーに対して xinput を実行しています。詳細については、xinput のマニュアルページを参照してください。
 +</pre></html></WRAP>
 +</WRAP>
 +
 +Wayland の場合は gsettings でタッチパッドを disabled (無効) に設定する😉\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">gsettings</font> set org.gnome.desktop.peripherals.touchpad send-events disabled
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== 参考文献 =====
 +[[https://www.baeldung.com/linux/enable-disable-touchpad|How to Enable/Disable Touchpad in Linux | Baeldung on Linux]] [[gtr>https://www.baeldung.com/linux/enable-disable-touchpad|翻訳]]\\
 +[[arc>マウスのアクセラレーション|マウスのアクセラレーション - ArchWiki]]\\
 +[[arc>Synaptics_タッチパッド|Synaptics タッチパッド - ArchWiki]]\\
 +[[arc>Libinput|libinput - ArchWiki]]\\
 +[[arm>xorg.conf.5|xorg.conf(5) — Arch manual pages]]\\
 +[[https://www.kernel.org/doc/html/v4.15/input/devices/sentelic.html|15. Sentelic Touchpad — The Linux Kernel documentation]]\\
 +
 +==== 付録 ====
 +[[tw>tomoyan596sp/status/1755790416803414263|Power Button をDisabledにできる😅]]\\