Wednesday, May 14, 2008

Ubuntu Studio 8.04 x Wacom Intuos3 A4 安裝流

昨晚安裝好 Ubuntu Studio 8.04, 設定了 Wacom Intuos3 A4, 用了 GIMP。 應 aguai 的邀請用中文寫個 HOW-TO,那好吧!

不想重複別人的貢獻,我引用了 Ubuntu Forum 上有關設定的發文 (英文版); 補充一下就可以了, 相對其他硬件來說步驟不算太煩複。

這是 USB Wacom 板的步驟:

以下一些為參考資料:
Ubuntu Tablet Wiki Page
Wacom Help Page
一旦設定到某個程度,過程會變得比較順利;裏面有更多有用的相關資訊幫助您更有效的使用 GIMP。

1. 把 Wacom 板連上電腦的 USB 插頭。

2. 安裝 "wacom-tools" 軟體包, 用於在您的 xorg.conf 添加設定內容.

在終端環境輸入:
Code:
sudo apt-get install wacom-tools
或經由 Synaptic 安裝 "wacom-tools"。

3. 開啟 /etc/X11/xorg.conf (請預先備份), 在 Section "InputDevice" "Configured Mouse" 的下面加入以下內容。請確定 "Device" 是指到您的 Wacom 板 的裝置名稱。例如我的是 /dev/input/wacom, 有的板會是 /dev/input/event0 或其他名稱;如果沒有反應的話請試試更改它直至成功。

還有,如果 Wacom 板是 SERIAL 連接,就要刪除有 #USB ONLY 註解的行;反之 USB 連接要刪除有 #SERIAL ONLY 的行。
Code:
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS0" #SERIAL ONLY
Option "Device" "/dev/input/wacom" #USB ONLY
Option "Type" "stylus"
Option "USB" "on" #USB ONLY
Option "ForceDevice" "ISDV4" #Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS0" #SERIAL ONLY
Option "Device" "/dev/input/wacom" #USB ONLY
Option "Type" "eraser"
Option "USB" "on" #USB ONLY
Option "ForceDevice" "ISDV4" #Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0" #SERIAL ONLY
Option "Device" "/dev/input/wacom" #USB ONLY
Option "Type" "cursor"
Option "Mode" "relative"
Option "USB" "on" #USB ONLY
Option "ForceDevice" "ISDV4" #Tablet PC ONLY
EndSection
若有 Intuos3 或 Cintiq 21UX 的也要加入以下部分 (未經測試)。

Code:
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/ttyS0" #SERIAL ONLY
Option "Device" "/dev/input/wacom" #USB ONLY
Option "Type" "pad"
Option "USB" "on" #USB ONLY
EndSection
4. 然後在 Section "ServerLayout" 裏加入粗體的四行:
Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents" #For non-LCD tablets only
InputDevice "pad" #For Intuos3/Cintiq 21UX/Graphire4 tablets. It should NOT send core event

EndSection
*注意*
您能調整 stylus serction 下部的 "PressCurve" 以調整壓力筆的感壓曲線。

例如:
Code:
Option "PressCurve" "50,0,100,50"
這個改變會令線畫得輕一點。您仍能使力得到很黑的線,這種設定讓您畫一些需要很淡的描畫 -謝謝 graigsmith 提供的建議


5. 重新啟動電腦或用 ctrl-alt-backspace 重開 X, 接着啟動 The GIMP。

6. 在程式上開啟板的功能

The GIMP
- File-> Preferences-> Input Devices-> "Configure Extended Input Devices".
- 在 "Device" 您會有 3 個設定: Cursor, Eraser and Stylus. 都把它們由 "Disabled" 改成 "Screen".

現在您能在 GIMP 上得到感壓功能。

再者,一些 GIMP 使用上的備註:
每一個裝置 (stylus,cursor,eraser) 在 GIMP 都有一套完全不同的自定義值。理論上,您甚至可以在每一枝筆上分配一個獨一無二的序號作更有效的管理。當您第一次用上橡皮擦將能體驗到。本來是選擇橡皮擦工具的,您卻得到方形選取工具。信不信由您,設計上 GIMP 能分辨出您不是拿着剛才拿着的那一枝筆而改變自定義值。如果您現在把橡皮擦鍵設定成橡皮擦,它能一直保存這個設定;這點的好處是你能把橡皮擦鍵設定成任何工具,包括噴槍工具或複制工具等。
-轉自 The Wacom Help Page.

Inkscape
- File-> "Input Devices...".
(方法大致如 GIMP)
- 在 "Device" 您會有 3 個設定: Cursor, Eraser and Stylus. 都把它們由 "Disabled" 改成 "Screen".

Krita
- Settings-> "Configure Krita..." 然後按 "Tablet" 圖標.
- 在三個裝置的 "Enable" boxes 都剔選.

No comments:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Australia License.
Copyright © 2008 みかんいろのそら (蜜柑色の空) . Some rights reserved.

Tags