2020年6月13日 星期六

ubuntu 18.04 / Linux mint 19.3 setting trackpoint acceleration


Disabling the acceleration profile helps:
xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Profile Enabled' 0, 1

Then you might want to increase your pointer's speed:
xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' 1

Since the next startup the acceleration profile will be enabled again by default you can create a script that includes the above commands and is run automatically after restart.

ref: https://askubuntu.com/questions/1029119/erratic-behaviour-of-trackpoint-on-thinkpad-t420s-ubuntu-18-04

2020年6月12日 星期五

ubuntu 20.04 trackpoint setting


確認一下系統的配置,找到 TrackPoint 的項目,底下就要依該項目來查詢

xinput --list

 列出該 TrackPoint 項目的屬性

xinput --list-props "ETPS/2 Elantech TrackPoint"

 

設定 該項目的屬性值

 xinput --set-prop "ETPS/2 Elantech TrackPoint" "libinput Accel Speed" 1.0

ref: https://wiki.archlinux.org/index.php/TrackPoint

ubuntu 20.04 install LAMP

sudo apt update
sudo apt upgrade
sudo apt install apache2 apache2-utils mariadb-server mariadb-client php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-zip php7.4-cli php7.4-common php7.4-json php7.4-gmp php7.4-bcmath php-imagick php7.4-intl php7.4-opcache php7.4-readline phpmyadmin



sudo systemctl enable apache2
apache2 -v

sudo systemctl enable mariadb
sudo mysql_secure_installation
mariadb --version
sudo mysql -uroot -p
grant all on *.* to root@localhost identified by '123456';

sudo a2enmod php7.4
sudo systemctl restart apache2
php --version


sudo ufw status
sudo ufw default allow outgoing
sudo ufw default deny incoming
;sudo ufw allow ssh
sudo ufw enable