preload preload preload preload preload preload
archive of dennis g. / XORN.ORG 10

Debian Squeeze on X61s configuration informations for kernel and hal

Kernel config 2.6.32.2

download .config here

Configuring HAL for the acpi buttons

Hal main configuration policies can be found in /usr/share/hal/fdi/information/10freedesktop/30-keymap-lenovo.fdi and 30-keymap-module-thinkpad-acpi.fdi in the same folder. If you want to change them, copy them to /etc/hal/fdi/information/ and change them there (nothing else!)

Then just use this .Xmodmap file, and add it to your xsession file "echo xmodmap ~/.Xmodmap >> ~/.xsessionrc"

! File: ~/.xmodmaprc or ~/.Xmodmap
! to make X know about these keys, map keycodes to keys
! you can later use these for example for global kde shortcuts

! just needed if you don't like this button to be XF86WLAN
!keycode 246 = XF86Bluetooth

keycode 202 = XF86Eject

! this should add the Fn-Key as an additional modifier
keycode 151 = Super_L

HAL Configuration for "hold-middle-click move-cursor mouse-wheel" with a config-less xserver (no xorg.conf exists)

This can do vertical and horizontal scrolling, by keeping the middle mouse button pressed and moving the trackpoint horizontally or vertically. Credit goes to someone unknown (sorry I can't remember where I got this from):

click here to download file for /etc/hal/fdi/policy/mouse-wheel.fdi

Keywords for crawlers: Firefox GNU Linux Photography Software Hardware Thinkpad Z61e X61s Dennis Debian Camera Gear Microcontroller Buttons
(c) Dennis G. 2004-2011 created with the gimp and text editor last change of this file: January 05, 2010 - 13:02