Difference between revisions of "1080P Pinebook"

Jump to navigation Jump to search
Line 229: Line 229:


  options 8723cs rtw_initmac=00:ba:ch:16:85:46 rtw_power_mgnt=0
  options 8723cs rtw_initmac=00:ba:ch:16:85:46 rtw_power_mgnt=0
'''Touchpad acceleration and scroll direction.'''
To set touchpad parameters from the cli you can use the command xinput.
To use it correctly you first need to determine the device id / name for your touchpad. Use
xinput list
to do so.
You are looking for a line like this:
HAILUCK CO.,LTD USB KEYBOARD Mouse      id=7 [slave  pointer  (2)]
With the device id = 7 found you can list the parameters that can be set with ''xinput''.
xinput list-props 7
The result looks similar to this:
device 'HAILUCK CO.,LTD USB KEYBOARD Mouse':
...
libinput Natural Scrolling Enabled (256): 0
...
libinput Accel Speed (265): 0.000000
...
To change the parameter use ''xinput set-prop''
To set reverse scrolling for the touchpad use this command
xinput set-prop 7 "libinput Natural Scrolling Enabled" 1
To set mouse speed
xinput --set-prop 7 'libinput Accel Speed' 0.95
Check different numbers for 0.95 to meet your needs.
For more details on xinput and mouse speed also see the Archlinux Wiki [https://wiki.archlinux.org/index.php/Mouse_acceleration#Using_xinput]