Ubuntu 8.10でのタブレットの設定

Ubuntu 8.10ではペンタブレットが標準で使えるんですね。でも使えるのはペンだけで、ペンの反対側の消しゴム(?)やペンタブ付属のマウスは認識してくれませんが。

Sketch〜隆作。: ワコムタブレットをLinuxとGIMPで快適に使う方法。
繋ぐのはUSB接続のFAVOなので、↑のサイトの設定をコピーすればいいはず。
/etc/X11/xorg.confを書き換えるのだけれど、
Section "ServerLayout"

EndSection
が無い。
仕方がないのでServerLayoutの所は適当に書き加えて再起動したら、設定ミスでX.Org(?)がうまく起動しなかった。表示されたダイアログから選んでいき、エラーを確認して、設定を標準に戻して、再起動。(こうやって簡単に設定を標準に戻せるのはすごい有り難いです。)
結局、Section "ServerLayout" 〜 EndSection内にIdentifierが必要だった模様。


で、結局xorg.confはこうなりました。

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Driver "wacom"
	Identifier "stylus"
	Option "Device" "/dev/input/wacom"
	Option "Type" "stylus"
	Option "USB" "on"
	Option "Button2" "3"
	Option "Button3" "2"
	# Option "Speed" "0.4"
	# Option "Mode" "Absolute" #"Relative"
EndSection

Section "InputDevice"
	Driver "wacom"
	Identifier "eraser"
	Option "Device" "/dev/input/wacom"
	Option "Type" "eraser"
	Option "USB" "on"
	# Option "Speed" "0.4"
	# Option "Mode" "Absolute" #"Relative"
EndSection

Section "InputDevice"
	Driver "wacom"
	Identifier "cursor"
	Option "Device" "/dev/input/wacom"
	Option "Type" "cursor"
	Option "USB" "on"
	Option "Speed" "1.4"
	# Option "Mode" "Relative" #"Absolute"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	screen		"Default Screen"
	InputDevice	"stylus"	"SendCoreEvents"
	InputDevice	"cursor"	"SendCoreEvents"
	InputDevice	"eraser"	"SendCoreEvents"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

実際よくわかってないけど、これで無事に動いてます。