linux:lenovo:lenovox1

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:lenovo:lenovox1 [2018/11/06 16:23] tenforwardlinux:lenovo:lenovox1 [2022/09/01 11:43] (現在) tenforward
行 151: 行 151:
  
 7.0 インストール直後は、 7.0 インストール直後は、
 +  * grubconfig が gpt の検出に失敗して MBR でインストールしようとして失敗(grubconfig をインストール中に書き換え)
   * grub からブートした直後ブラックアウト(grub の画面のまま切り替わらない)   * grub からブートした直後ブラックアウト(grub の画面のまま切り替わらない)
   * 無線LANデバイスが有効になるまで非常に時間がかかる(firmware のロードに失敗して fallback して何か別のファームウェアをロードしてる?   * 無線LANデバイスが有効になるまで非常に時間がかかる(firmware のロードに失敗して fallback して何か別のファームウェアをロードしてる?
行 157: 行 158:
   * 最新の firmware に   * 最新の firmware に
   * するとデバイス名が wlan0 に(kernel デフォルト名?   * するとデバイス名が wlan0 に(kernel デフォルト名?
-  * X 起動後 Synaptics の設定を Mac のよう(スクロール方向をタブレト、スマホ風に。ナルスクロールっていう?)<code+  * <del>Xのキーボードは .Xmodmap で Ctrl - Caps 入れ替えの設定を有効して fcitx で読み込ませてる</del> 
-~$ cat /etc/X11/xorg.conf.d/20-thinkpad.conf +  * <code>/usr/bin/setxkbmap -option ctrl:nocaps</code>を XFce 起動時に実行 
 +  * タッチパッドの設定変更<code>$ xinput  
 +⎡ Virtual core pointer                          id=2    [master pointer  (3)] 
 +⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] 
 +⎜   ↳ SynPS/2 Synaptics TouchPad                id=10   [slave  pointer  (2)] 
 +⎜   ↳ TPPS/2 Elan TrackPoint                    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)] 
 +    ↳ Sleep Button                              id=8    [slave  keyboard (3)] 
 +    ↳ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)] 
 +    ↳ ThinkPad Extra Buttons                    id=12   [slave  keyboard (3)] 
 +$ sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/(synapticsドイバが入ってるとそちらが優先されるで/etc/X11/xorg.conf.d/にコピー。設定を変えるのにも必要 
 +$ $ xinput list-props 10 
 +Device 'SynPS/2 Synaptics TouchPad': 
 + Device Enabled (143): 1 
 + Coordinate Transformation Matrix (145): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 
 + libinput Tapping Enabled (278): 0 
 + libinput Tapping Enabled Default (279): 0 
 + libinput Tapping Drag Enabled (280): 1 
 + libinput Tapping Drag Enabled Default (281): 1 
 + libinput Tapping Drag Lock Enabled (282): 0 
 + libinput Tapping Drag Lock Enabled Default (283): 0 
 + libinput Tapping Button Mapping Enabled (284): 1, 0 
 + libinput Tapping Button Mapping Default (285): 1, 0 
 + libinput Natural Scrolling Enabled (286): 1 
 + libinput Natural Scrolling Enabled Default (287): 0 
 + libinput Disable While Typing Enabled (288): 1 
 + libinput Disable While Typing Enabled Default (289): 1 
 + libinput Scroll Methods Available (290): 1, 1, 0 
 + libinput Scroll Method Enabled (291): 1, 0, 0 
 + libinput Scroll Method Enabled Default (292): 1, 0, 0 
 + libinput Click Methods Available (293): 1, 1 
 + libinput Click Method Enabled (294): 0, 1 
 + libinput Click Method Enabled Default (295): 1, 0 
 + libinput Middle Emulation Enabled (296): 0 
 + libinput Middle Emulation Enabled Default (297): 0 
 + libinput Accel Speed (298): 0.000000 
 + libinput Accel Speed Default (299): 0.000000 
 + libinput Left Handed Enabled (300): 0 
 + libinput Left Handed Enabled Default (301): 0 
 + libinput Send Events Modes Available (263): 1, 1 
 + libinput Send Events Mode Enabled (264): 0, 0 
 + libinput Send Events Mode Enabled Default (265): 0, 0 
 + Device Node (266): "/dev/input/event6" 
 + Device Product ID (267): 2, 7 
 + libinput Drag Lock Buttons (302): <no items
 + libinput Horizontal Scroll Enabled (303): 1 
 +$ cat /etc/X11/xorg.conf.d/40-libinput.conf 
 +# Match on all types of devices but joysticks
 Section "InputClass" Section "InputClass"
- Identifier "touchpad catchall" +        Identifier "libinput pointer catchall" 
- Driver "synaptics+        MatchIsPointer "on" 
- MatchIsTouchpad "on" +        MatchDevicePath "/dev/input/event*" 
- MatchDevicePath "/dev/input/event*" +        Driver "libinput" 
- Option "VertScrollDelta" "-111+EndSection 
- Option "HorizScrollDelta" "-111+ 
-EndSection</code>ディレクトリはないので作る+Section "InputClass" 
 +        Identifier "libinput keyboard catchall" 
 +        MatchIsKeyboard "on" 
 +        MatchDevicePath "/dev/input/event*" 
 +        Driver "libinput" 
 +EndSection 
 + 
 +Section "InputClass" 
 +        Identifier "libinput touchpad catchall
 +        MatchIsTouchpad "on" 
 +        MatchDevicePath "/dev/input/event*
 +        Driver "libinput
 + Option "NaturalScrolling" "true(ナチュラルスクロール有効) 
 + Option "ClickMethod" "clickfinger" (トラックパッドの中・右ボタンの領域が消えて、代わりに2本指のクリックが右クリックに、3本指のクリックが中クリックになる) 
 + Option "DisableWhileTyping" "true" (タイピング途中はトラックパッド無効) 
 + Option "AccelSpeed" "0.3" 
 + Option "ZAxisMapping" "4 5 6 7" 
 + 
 +EndSection 
 + 
 +Section "InputClass" 
 +        Identifier "libinput touchscreen catchall" 
 +        MatchIsTouchscreen "on" 
 +        MatchDevicePath "/dev/input/event*" 
 +        Driver "libinput" 
 +EndSection 
 + 
 +Section "InputClass" 
 +        Identifier "libinput tablet catchall" 
 +        MatchIsTablet "on" 
 +        MatchDevicePath "/dev/input/event*" 
 +        Driver "libinput
 +EndSection</code> 
 + 
 +Xfce4 キーボード設定 
 +  * XF86AudioLowerVolume を sh -c "pactl set-sink-mute @DEFAULT_SINK@ false ; pactl -- set-sink-volume @DEFAULT_SINK@ -5%" と設定 
 +  * XF86AudioRaiseVolume を sh -c "pactl set-sink-mute @DEFAULT_SINK@ false ; pactl set-sink-volume @DEFAULT_SINK@ +5%" と設定 
 +  * XF86AudioMicMute を pactl set-source-mute @DEFAULT_SINK@ toggle に設定 
 +  * XF86AudioMute を   pactl set-sink-mute @DEFAULT_SINK@ toggle に設定 
 + 
 +libinput-gestures, wmctrl, xdotool パッケージを追加 
 +  * https://qiita.com/onokatio/items/c386da501d11a9735915 のあたり 
 +  * input グループに所属させる 
 +  * libinput-gestures-setup autostart で Window Manager の自動起動に設定される(~/.config/autostart) 
 +  * cp /etc/libinput-gestures.conf ~/.config/ 
 +  * 設定は左右スワイプでワークスペースを左右移動、ピンチで Ctrl++/Ctrl+- を設定(ブラウザのピンチ操)<code> 
 +gesture swipe left      xdotool key ctrl+alt+Right 
 +gesture swipe right     xdotool key ctrl+alt+Left 
 +gesture pinch in        xdotool key ctrl+minus 
 +gesture pinch out       xdotool key ctrl+plus 
 +</code> 
 + 
 +==== google chrome 105 ==== 
 + 
 +google chrome 105 から次のようなファイルを置かなければちゃんと起動しなくなった 
 + 
 +<code> 
 +Section "Device" 
 +        Identifier      "Intel Graphics" 
 +        Driver  "intel" 
 +        Option  "DRI"   "3" 
 +EndSection 
 +</code> 
 + 
 + 
 +===== Logcool M585 Mouse ===== 
 + 
 +  * uhid モジュールをロードする必要があ
  
  • linux/lenovo/lenovox1.1541521423.txt.gz
  • 最終更新: 2018/11/06 16:23
  • by tenforward