linux:lenovo:lenovox1

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:lenovo:lenovox1 [2018/11/14 16:28] – [Plamo Linux 7.0] tenforwardlinux:lenovo:lenovox1 [2022/09/01 11:43] (現在) tenforward
行 158: 行 158:
   * 最新の firmware に   * 最新の firmware に
   * するとデバイス名が wlan0 に(kernel デフォルト名?   * するとデバイス名が wlan0 に(kernel デフォルト名?
-  * タッチパッドをナチュラルスクロールに<code>$ xinput +  * <del>Xのキーボードは .Xmodmap で Ctrl - Caps 入れ替えの設定を有効にして fcitx で読み込ませてる</del> 
 +  * <code>/usr/bin/setxkbmap -option ctrl:nocaps</code>を XFce 起動時に実行 
 +  * タッチパッドの設定変更<code>$ xinput 
 ⎡ Virtual core pointer                          id=2    [master pointer  (3)] ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
 ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
行 171: 行 173:
     ↳ ThinkPad Extra Buttons                    id=12   [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/にコピー。設定を変えるのにも必要) $ 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 $ cat /etc/X11/xorg.conf.d/40-libinput.conf
 # Match on all types of devices but joysticks # Match on all types of devices but joysticks
行 192: 行 229:
         MatchDevicePath "/dev/input/event*"         MatchDevicePath "/dev/input/event*"
         Driver "libinput"         Driver "libinput"
- Option "NaturalScrolling" "true"←ここ+ Option "NaturalScrolling" "true"ナチュラルスクロール有効 
 + Option "ClickMethod" "clickfinger" (トラックパッドの中・右ボタンの領域が消えて、代わりに2本指のクリックが右クリックに、3本指のクリックが中クリックになる) 
 + Option "DisableWhileTyping" "true" (タイピング途中はトラックパッド無効) 
 + Option "AccelSpeed" "0.3" 
 + Option "ZAxisMapping" "4 5 6 7" 
 EndSection EndSection
  
行 208: 行 250:
         Driver "libinput"         Driver "libinput"
 EndSection</code> 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.1542212907.txt.gz
  • 最終更新: 2018/11/14 16:28
  • by tenforward