27 August 2008

Scrolling



I am using Ubuntu 8.04 on my Lenovo x61 laptop. Most of the features worked immediately "from the box", except wireless connection and TrackPoint scroll button. So this is the way to solve the scroll button problem:
  1. Backup your xorg.conf file:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_bak
    or
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_old
    Just try to be consistent choosing filename ending. The backup operation is necessity in case your actions will lead to undesired results.
  2. sudo gedit /etc/X11/xorg.conf
  3. To enable using the middle mouse button to scroll, replace the "Configured Mouse" section with the following:
    Section "InputDevice"
    Identifier "Trackpoint"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    Option "EmulateWheel" "true"
    Option "EmulateWheelButton" "2"
    EndSection
    It is recommended to mark any block you are editing with a comment above it, like:
    #Added/edited by John at 27/08/2008 during ABCDEFG software installation.

  4. Now save the file and exit the GEditor. Close all your open windows and programs. Restart the X by pressing Ctrl+Alt+Backspace and login again.