Gatzet.com

Gadget, Free Software, Reviews

Configuring T23 TrackPoint on Ubuntu 7.04

May 24th, 2007 · 3 Comments

When working on my Thinkpad T23 I’m prefer using TrackPoint instead of mouse. However, since my Ubuntu Feisty fawn was installed, I was using mouse more frequent than Trackpoint because I didn’t know how to change the trackpoint sensitivity. The trackpoint was too slow and my finger got pain when I push it harder just to make the cursor move faster.

Finally my finger pains is over when I found the way to customize my TrackPoint. Its apparently only need echoing a value between 0 and 255 into the appropriate file. Since the main problem was speed and sensitivity, I type the following into a root terminal: (please make sure the file location on your machine first)


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

You can make experiment with the -n value until you find the most comfortable combination. When you satisfy with your setting, add the two lines into /etc/rc.local to load the custom setting each time you boot your Ubuntu.

When you couldn’t open the root terminal on your Ubuntu, just type gksudo gnome-terminal on your user terminal and voila you got a root terminal. If you use KDE The same root terminal will appear with following syntax: gksudo konsole.

To add Scrolling functionality on your TrackPoint, you should edit your xorg configuration file. In my T23 Ubuntu Instalation, this file is located on /etc/X11/xorg.conf. Find out the section “InputDevice” and add the following lines


   Option  "EmulateWheel"     "on"
   Option  "EmulateWheelButton"    "2"
   Option  "YAxisMapping"    "4 5"
   Option  "XAxisMapping"    "6 7"

The complete section should be as following:


Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver   "mouse"
   Option   "CorePointer"
   Option   "Device"    "/dev/input/mice"
   Option   "Protocol"    "ImPS/2"
   Option   "Emulate3Buttons"    "true"
   Option   "Emulate3TimeOut"    "50"
   Option   "EmulateWheel"    "on"
   Option   "EmulateWheelTimeOut"    "200"
   Option   "EmulateWheelButton"    "2"
   Option   "YAxisMapping"     "4 5"
   Option   "XAxisMapping"     "6 7"
   Option   "ZAxisMapping"     "4 5"
EndSection

Restart your X by pressing CTR + ALT + BackSpace key and now you can use TrackPoint more comfortable

Or you can use a much simple way around using TrackPoint configuration tool which gives you a nice graphic user interface. Just download the latest .deb package from Trackpoint configuration tool download page and install it on your Ubuntu. Select the configuration you need for trackpoint and apply it.

1z1kxu9uhxkjebdh5ch.png


Related posts:

  1. Installing .sh files in Ubuntu
  2. Using WLAN Card on Ubuntu 7.04 Feisty Fawn
  3. The Importance of a Sitemap on Gatzet Info
  4. Megaupload Firefox Add-on Update

3 comments for this entry ↓

  • 1 BD // Jun 9, 2007 at 3:03 pm

    Thanks a lot for this post!

    Would you happen to know how to enable press to click for the track point?

    If yes, then please do share, coz a lot of people are stuck at this thing.

  • 2 Michael // Jun 11, 2007 at 12:44 am

    Thanks for the tips, I put

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

    like you said, in /etc/rc.local, but after reboot nothing happened. I still need to use root terminal to change the two files manually.

    Any idea why? Thanks!

  • 3 admin // Jun 11, 2007 at 7:21 am

    It works on my notebook when I add those lines to rc.local.

    Now my rc.local files look like this

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will “exit 0″ on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.

    echo -n 255 > /sys/devices/platform/i8042/serio1/sensitivity
    echo -n 250 > /sys/devices/platform/i8042/serio1/speed
    echo -n 1 > /sys/devices/platform/i8042/serio0/scroll
    exit 0

Leave a Comment