顯示具有 trackpoint 標籤的文章。 顯示所有文章
顯示具有 trackpoint 標籤的文章。 顯示所有文章

2024年7月18日 星期四

Adjust Trackpoint speed on Ubuntu 22.04

 ref: https://askubuntu.com/questions/1432996/adjust-trackpoint-speed-on-lenovo-p70-ubuntu-22-04


Here's what worked for me; your mileage may vary. First, find your device:

$ xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=12   [slave  pointer  (2)]
⎜   ↳ Synaptics TM3053-004                      id=11   [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=9    [slave  pointer  (2)]
...

On my system, I see it as TPPS/2 IBM TrackPoint. Next, find the acceleration property:

$ xinput list-props 'TPPS/2 IBM TrackPoint' | grep Accel
    libinput Accel Speed (342): 0.000000
    libinput Accel Speed Default (343): 0.000000
    libinput Accel Profiles Available (344):    1, 1
    libinput Accel Profile Enabled (345):   1, 0
    libinput Accel Profile Enabled Default (346):   1, 0

Here, I see it as Accel Speed (342), and the 342 is what I need. After some experimentation, I was able to determine that the value, by default 0.000000 is expected to be in the range [-1, 1]. For me, -0.2 ended up being a good speed:

$ xinput set-prop 'TPPS/2 IBM TrackPoint' 342 -0.2
 
 

2023年11月1日 星期三

ubuntu 22.04 disable trackpoint middle button paste

 ref: https://gist.github.com/bumbummen99/fcab50dad5638399375693a70a8c17f4

先執行 

xinput --list

確認 TrackPoint 的 id 是多少,假設是 15,就執行以下指令:

xinput set-button-map 15 1 0 3 4 5 6 7

就可以關掉中鍵貼上的動作了。

2022年2月25日 星期五

Lenovo Trackpoint II Keyboard 在 Ubuntu 的設定

 參考 https://github.com/telecastr/tp2ctl 的做法,很容易可以設定 外接 Lenovo Trackpoint II Keyboard 的 Trackpoint 。


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

2019年6月27日 星期四

ubuntu 18.04/Linux Mint 19.1 setting thinkpad Trackpoint


from: http://nrvale0.github.io/posts/adjusting-thinkpad-trackpoint-sensitivity-on-ubuntu-1604-and-others/

說明如下:
  1. 編輯 /etc/tmpfiles.d/trackpoint.conf 檔案
  2. 貼上以下內容
    w /sys/devices/platform/i8042/serio1/serio2/speed - - - - 255
    w /sys/devices/platform/i8042/serio1/serio2/sensitivity - - - - 175
  3. 執行以下指令
    sudo systemd-tmpfiles --prefix=/sys --create 
  4. 接著,要到 系統設定/滑鼠,將 自定義靈敏度 功能關閉
  5. 重新啟動系統,trackpoint 就很好用了~ 

2012年1月26日 星期四

ubuntu 14.04 and ubuntu 16.04 set trackpoint sensitivty and speed


ref: http://wiki.ubuntuusers.de/Trackpoint

step 1:

sudo gedit /etc/init/trackpoint.conf


step 2,  paste content :

description "Trackpoint-Einstellungen"
env TPDIR=/sys/devices/platform/i8042/serio1
start on virtual-filesystems
script
  while [ ! -f $TPDIR/sensitivity ]; do
 sleep 2
  done
  echo -n 240 > $TPDIR/sensitivity
  echo -n 220 > $TPDIR/speed
#  echo -n 1 > $TPDIR/press_to_select
end script
==============================================

以上動作,在 ubuntu 16.04 環境下無法解決,另外參考以下內容處理。
ref: https://nrvale0.github.io/posts/2016/07/ubuntu-trackpoint-sensitivity/

  1. 先確認環境設定的檔案在那裡,例如
    ls -la /sys/devices/platform/i8042/serio1/sensitivity 
  2. 先切換到管理員,不能單單使用 sudo, 一定要用以下方式成為 root 身份。
    sudo su -
  3. 執行以下指令看看 trackpoint 是否已經調整完成。以下二個數值是我自己習慣的速度。
    echo '220' > /sys/devices/platform/i8042/serio1/sensitivity
    echo '240' > /sys/devices/platform/i8042/serio1/speed
  4. 如果沒有問題,就可以做以下動作
    gedit  /etc/tmpfiles.d/trackpoint.conf 
  5. 在檔案裡寫入以下內容
    w /sys/devices/platform/i8042/serio1/speed - - - - 240
    w /sys/devices/platform/i8042/serio1/sensitivity - - - - 220
  6. 最後,執行以下指令,使系統每次開機都能自動修改為這二個數值。
    sudo systemd-tmpfiles --prefix=/sys --create
  7. 完成,重新開機試試看。 

2011年11月11日 星期五

Fedora 15 設定


Fedora 16 在 2011.11.08 釋出,第一時間安裝測試,但覺得有些狀況,不知道是改變幅度太大還是有 bug (我覺得這個可能性比較高)。所以決定安裝 Fedora 15。

以下動作都是使用 root 身份進行。

啟用 trackpoint 的中鍵和靈敏度功能



參考來源:  http://way3sec.blogspot.com/2011/05/fedora-15_26.html


使用管理員權限,編輯
gedit /etc/rc.local

接著貼上
echo -n 120 >  /sys/devices/platform/i8042/serio1/speed

echo -n 200 >  /sys/devices/platform/i8042/serio1/sensitivity

再編輯
gedit /usr/share/X11/xorg.conf.d/20-thinkpad.conf

複製貼上下面這段文字

Section "InputClass"
Identifier "Trackpoint rpm -ivh http://rpm.livna.org/livna-release.rpmWheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection

安裝 livna 套件


直接執行 
rpm -ivh http://rpm.livna.org/livna-release.rpm
 

安裝flash player

連到 adobe 網站下載 flash 的 yum 套件,安裝後,就可以用 yum 安裝 flash player 。
yum -y install flash-plugin

安裝 mp3 mp4 的解碼



參考來源: http://dfcowell.net/2011/06/multimedia-on-fedora-15-mp3-mp4-support/

主要的動作是連到 rpmfusion 網站,下載  rpmfusion 的套件,然後就可以更新相關的plugin 。詳細動作如下:
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-nonfree gstreamer-ffmpeg

安裝 xmind



參考來源: http://johnpoelstra.com/2010/06/10/mind-mapping-with-xmind/

下載 xmind 的 portable 版本,解開後,執行以下動作建立捷徑,之後就可以直接執行 xmind 就叫出程式。
ln -s /home/wangjenmin/apps/xmind/XMind_Linux_64bit/xmind /usr/local/bin/xmind

2011年9月24日 星期六

Lenovo T420s 的 Trackpoint


在 T420s 上安裝 ubuntu 11.04 的版本,安裝的幾次經驗裡,依之前的 trackpoint 設定動作調整 speed 和 sensitivity ,有幾次可以正常使用,有幾次就怪怪的,這次又遇到了,重新再找了一下 google 上的資料,發現以下這篇解決問題了。
http://b.crhan.com/2011/05/thinkpad_trackpoint_settings/

先執行
udevadm test /sys/devices/platform/i8042/serio1/serio2 
檢查系統的硬體狀態。 發現和文章裡的環境是相同的。


接著使用 gedit 直接新增以下的檔案
/etc/udev/rules.d/10-trackpoint.rules

內容填入
SUBSYSTEM=="serio", DRIVERS=="psmouse", ENV{SERIO_TYPE}=="05", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity", ATTR{sensitivity}="200", ATTR{speed}="120"

其中的 sensitivity 和 speed 是我自己習慣的數值。

重開機之後,小紅點的移動就很順手了。

2010年5月1日 星期六

Ubuntu10.04下Lenovo TrackPoint的中鍵scrolling設定

編輯 /etc/rc.local 檔案, 加入以下二行,就可以調整 TrackPoint 的敏感度,第三欄的數值範圍是 0~255,這裡列的數值是我自己很習慣的速度。

echo -n 120 > /sys/devices/platform/i8042/serio1/speed
echo -n 200 > /sys/devices/platform/i8042/serio1/sensitivity

至於中鍵可以捲動的動作,可以參閱以下動作。


以下內容引用自 http://snowpig226.blogspot.com/2010/03/ubuntu1004lenovo-trackpointscrolling.html



首先打開終端機鍵入以下指令

$sudo -i //切到root身份

$gedit /etc/gdm/PreSession/Default //編輯設定文件

之後會出現由gedit所開啟的Default文件,我們需要在這份 文件中加入以下的指令

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Axes" 6 7 4 5

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Middle Button Emulation" 1

xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Middle Button Timeout" 50

接著按儲存離開,重開機即可使用中鍵 scrolling的功能了!!