差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| linux:xfce4 [2019/02/27 17:06] – tenforward | linux:xfce4 [2019/02/28 09:50] (現在) – [ナチュラルスクロール] tenforward | ||
|---|---|---|---|
| 行 13: | 行 13: | ||
| {{: | {{: | ||
| + | ===== ナチュラルスクロール ===== | ||
| + | |||
| + | libinput でなく Synaptics が使われているとクソなので、まずはその対処を。 | ||
| + | |||
| + | < | ||
| + | $ sudo mkdir / | ||
| + | $ sudo cp / | ||
| + | </ | ||
| + | |||
| + | 設定の「マウスとタッチパッド」で「スクロール方向を反転する」にチェックを入れると行けそうな気がするんだけど、一部のアプリケーションで効くだけでその他は効かないという中途半端なもの。 | ||
| + | |||
| + | {{: | ||
| + | |||
| + | そこで、まずタッチパッドの ID を取得 | ||
| + | |||
| + | < | ||
| + | $ xinput list | ||
| + | ⎡ Virtual core pointer | ||
| + | ⎜ ↳ Virtual core XTEST pointer | ||
| + | ⎜ ↳ SynPS/2 Synaptics TouchPad | ||
| + | ⎜ ↳ TPPS/2 Elan TrackPoint | ||
| + | ⎣ Virtual core keyboard | ||
| + | ↳ Virtual core XTEST keyboard | ||
| + | ↳ Power Button | ||
| + | ↳ Video Bus | ||
| + | ↳ Sleep Button | ||
| + | ↳ AT Translated Set 2 keyboard | ||
| + | ↳ ThinkPad Extra Buttons | ||
| + | </ | ||
| + | |||
| + | ここでは id=10 がタッチパッド。id=10 のデバイスのプロパティを取得。 | ||
| + | |||
| + | < | ||
| + | $ xinput list-props 10 | ||
| + | Device ' | ||
| + | Device Enabled (150): 1 | ||
| + | Coordinate Transformation Matrix (152): | ||
| + | libinput Tapping Enabled (285): 0 | ||
| + | libinput Tapping Enabled Default (286): 0 | ||
| + | libinput Tapping Drag Enabled (287): 1 | ||
| + | libinput Tapping Drag Enabled Default (288): 1 | ||
| + | libinput Tapping Drag Lock Enabled (289): 0 | ||
| + | libinput Tapping Drag Lock Enabled Default (290): 0 | ||
| + | libinput Tapping Button Mapping Enabled (291): 1, 0 | ||
| + | libinput Tapping Button Mapping Default (292): 1, 0 | ||
| + | libinput Natural Scrolling Enabled (293): 1 | ||
| + | libinput Natural Scrolling Enabled Default (294): 0 | ||
| + | libinput Disable While Typing Enabled (295): 1 | ||
| + | libinput Disable While Typing Enabled Default (296): 1 | ||
| + | libinput Scroll Methods Available (297): 1, 1, 0 | ||
| + | libinput Scroll Method Enabled (298): 1, 0, 0 | ||
| + | libinput Scroll Method Enabled Default (299): 1, 0, 0 | ||
| + | libinput Click Methods Available (300): 1, 1 | ||
| + | libinput Click Method Enabled (301): 0, 1 | ||
| + | libinput Click Method Enabled Default (302): 1, 0 | ||
| + | libinput Middle Emulation Enabled (303): 0 | ||
| + | libinput Middle Emulation Enabled Default (304): 0 | ||
| + | libinput Accel Speed (305): | ||
| + | libinput Accel Speed Default (306): | ||
| + | libinput Left Handed Enabled (307): 0 | ||
| + | libinput Left Handed Enabled Default (308): 0 | ||
| + | libinput Send Events Modes Available (270): 1, 1 | ||
| + | libinput Send Events Mode Enabled (271): 0, 0 | ||
| + | libinput Send Events Mode Enabled Default (272): 0, 0 | ||
| + | Device Node (273): | ||
| + | Device Product ID (274): 2, 7 | ||
| + | libinput Drag Lock Buttons (309): | ||
| + | libinput Horizontal Scroll Enabled (310): 1 | ||
| + | </ | ||
| + | |||
| + | 対象のプロパティ " | ||
| + | |||
| + | < | ||
| + | xinput set-prop 10 " | ||
| + | </ | ||
| + | |||
| + | ===== $HOME のディレクトリ名を英語に ===== | ||
| + | |||
| + | < | ||
| + | $ LANG=C xdg-user-dirs-gtk-update | ||
| + | </ | ||