P51 Lenovo, trackpad and trackpoint

Van de 1: Bi loi khi vo tinh xoa xserver-xorg-input-libinput

Khi do khong the dung chuot hay ban phim

  • Khoi dong lai, chon che do upstart

  • Gia su par default la ket noi ethernet qua dia chi 182.168.0.40 va noi mot cap ethernet nua qua dia chi 134.59.129.20 qua viec check ifconfig

  • Can phai ket noi internet qua 134.59.129.20, cai nay la ket noi vao internet, chay lenh

route

sudo route del default gw nguyenP51U16

  • Khi nay co the truy cap duoc vao mang Internet, kiem tra vi du

ping google.com

  • Neu truoc do chua khi nao ket noi ssh, can phai thiet lap cho lan dau tien, dung lenh

sudo apt-get install openssh-client openssh-server

Khi nay cac may khac co the truy cap vao may tinh nay, khi ssh da duoc mo, neu khong se xuat hien loi qua cong 22

Tren may tinh ma tu do muon truy cap den may da cai ssh, run vi du nhu sau

ssh-keygen -f "/home/nguyen/.ssh/known_hosts' -R 134.59.129.208

o day ...208 la dia chi ip cua may tinh muon truy cap den

  • Can phai cai lai xsever-xorg-input-libinput

sudo apt-get install xserver-xorg-input-libinput

Van de 2: Neu trackpad ko tapping duoc

  • cd vao duong dan sau

/usr/share/X11/xorg.conf.d

  • sua file

sudo nano 90-libinput.conf

  • Them dong sau

Option "Tapping" "True"

vao cum

Section "InputClass"

    Identifier "libinput touchpad catchall"

    MatchIsTouchpad "on"

    MatchDevicePath "/dev/input/event\*"

    Driver "libinput"

   xxxxxxxxxxxxxxx\( dong them vao\)

EndSection

Van de 3: Mot so cau lenh voi xinput

xinput list

xinput list-props 13 (Hien thi noi dung cua cai id 13)

xinput set-int-prop 13 307 8 1 (Thiet lap noi dung 307, trong id 13, bang gia tri moi la 1, co kieu gia tri la 8 bits)

Van de 4: Activate / Deactivate touch pad

For Ubuntu 16.04

For disable touchpad:

xinput --disable $(xinput --list | grep -i 'touchpad' | grep -o 'id=[0-9]*' | sed 's/id=//')

and for enable touchpad:

xinput --enable $(xinput --list | grep -i 'touchpad' | grep -o 'id=[0-9]*' | sed 's/id=//')

Last updated