美文网首页
Ubuntu Change the ThinkPad Point

Ubuntu Change the ThinkPad Point

作者: 煮酒客_Mikoy | 来源:发表于2019-02-22 15:28 被阅读0次

    For Change the ThinkPad Point Speed on Ubuntu16.04:

    1. Obtain the info of your ThinkPad Point.
    # Get the ID of Point.
    xinput list | grep TrackPoint
    # Get more detail about this ID or Point. <ID> is up to upside.
    xinput list-props <ID> # This ID is listing from your greping TrackPoint.
    # Check the result and find out the following lines.
    ...
    Device Accel Constant Deceleration (264): 1.000000 
    Device Accel Adaptive Deceleration (265): 1.000000
    ...
    # The first line Constant Deceleration range is [0, 1].
    # The second line Adaptive Deceleration range is [1, +&].
    
    # Please record the (ID) from this two line(eg: 264, 265). We call it parameter_ID.
    
    1. Change the speed what you need.
    # This first <ID> from xinput list. The second <parameter_ID> from xinput list-props.
    xinput set-prop <ID> <parameter_ID> 0.25
    
    # If you wanna it effective rebooting. Change the bashrc file.
    vim ~/.bashrc
    # Append the command line at end and source it.
    
    1. Example:
    # Get ID
    $xinput list | grep TrackPoint
      TPPS/2 IBM TrackPoint    id=14    [slave  pointer  (2)]
    
    # Get more detail.
    $ xinput list-props 14
    Device 'TPPS/2 IBM TrackPoint':
        Device Enabled (137):   1
        Coordinate Transformation Matrix (139): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (263): 0
        Device Accel Constant Deceleration (264):   1.000000
        Device Accel Adaptive Deceleration (265):   1.000000
        ...
    
    # Change the speed.
    $xinput set-prop 14 264 0.25
    
    # Append command line of end of bashrc file.
    vim ~/.bashrc
    
    +    xinput set-prop 14 264 0.25
    +    xinput set-prop 14 265 1.2
    
    source ~/.bashrc
    

    相关文章

      网友评论

          本文标题:Ubuntu Change the ThinkPad Point

          本文链接:https://www.haomeiwen.com/subject/qcyeyqtx.html