Fingerprint reader
- install thinkfinger (
sudo apt-get install thinkfinger-tools libpam-thinkfinger) - acquire fingerprint (
sudo tf-tool --acquire) - verify fingerprint (
sudo tf-tool --verify) - update pam config (
sudo gedit /etc/pam.d/common-authso it contains only these 2 lines:auth sufficient pam_thinkfinger.so auth required pam_unix.so try_first_pass nullok_secure
update for ubuntu 8.10: change the according lines in this file so it looks like this:... # here are the per-package modules (the "Primary" block) auth sufficient pam_thinkfinger.so auth [success=1 default=ignore] pam_unix.so try_first_pass nullok_secure # here's the fallback if no module succeeds ...here is fix for situation when auth won't proceed until you press enter
Back/Forward keys
update for ubuntu 8.10: you can skip this step as the keys work out of the box
runsudo gedit /etc/X11/Xmodmap,add:
keycode 234 = XF86Back
keycode 233 = XF86Forwardfor immediate effect run
xmodmap /etc/X11/Xmodmap (Note: this works in hardy, you may need to use Xmodmap instead in older versions of Ubuntu)
Trackpoint scrolling
sudo gedit /etc/X11/xorg.conf, locate section InputDevice with identifier Configured Mouse, add Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
update for ubuntu 8.10: how to enable trackpoint in ubuntu 8.10
Stylus
- install wacom driver (
sudo apt-get install xserver-xorg-input-wacom wacom-tools) sudo gedit /etc/X11/xorg.conf, addSection "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Identifier "cursor" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4" EndSection, locate sectionServerLayout, appendInputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"update for ubuntu 8.10:
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/ttyS0" # Change to /dev/input/event for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY # Option "KeepShape" "on" # Option "TPCButton" "off" EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/ttyS0" # Change to /dev/input/eventfor USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY # Option "KeepShape" "on" EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/ttyS0" # Change to /dev/input/event for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY # Option "KeepShape" "on" EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSectionsudo gedit /etc/acpi/resume.d/20-setserial.sh, append#!/bin/bash /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfigandsudo chmod +x /etc/acpi/resume.d/20-setserial.sh
1 comment:
Great Ideas!!
Thx Very Much!!
Post a Comment