Ubuntu默认已经带了Wacom的驱动,但不是每个人都用得起大厂的产品。如果你与我一样囊中带涩地用着并喜爱着友基这个广州石牌出品的土品牌,请看此文。
GIMP用惯了其实也很不错的Step 1 编译驱动
- –下载 wizardpen-0.7.0-alpha1.tar.gz
- –解码并执行: tar -zxvf wizardpen-0.6.0.2.tar.gz
- –下载必须的包: sudo aptitude install xutils libx11-dev libxext-dev build-essential xautomation xinput xserver-xorg-dev
- –进入解码出来的目录: cd wizardpen-0.7.0-alpha1
- –编译安装驱动: ./configure –with-xorg-module-dir=/usr/lib/xorg/modules && make && sudo make install
- –检查是否安装成功(看看有没有 wizardpen_drv.la 和 wizardpen_drv.so两个文件): ls /usr/lib/xorg/modules/input/wizardpen_drv.*
Step 2 配置数位板
- –插好数位板
- –找出你的数位板的设备名字: grep -i name /proc/bus/input/devices (比如我的设备就是N: Name=”UC-LOGIC Tablet WP8060U”)
- –也可以这样找: lshal | less
- –创建这个文件 /etc/hal/fdi/policy/99-x11-wizardpen.fdi UC-LOGIC Tabliet WP8060-U是我上面找到的的设备名字,请自己替换为自己板子的设备名,下面的配置是8*6 SIZE的配置
<?xml version="1.0" encoding="ISO-8859-1" ?>
<deviceinfo version="0.2">
<device>
<!-- This MUST match with the name of your tablet -->
<match key="info.product" contains="UC-LOGIC Tablet WP8060U">
<merge key="input.x11_driver" type="string">wizardpen</merge>
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.TopX" type="string">126</merge>
<merge key="input.x11_options.TopY" type="string">188</merge>
<merge key="input.x11_options.TopZ" type="string">0</merge>
<merge key="input.x11_options.BottomX" type="string">32666</merge>
<merge key="input.x11_options.BottomY" type="string">32413</merge>
<merge key="input.x11_options.BottomZ" type="string">1023</merge>
<merge key="input.x11_options.MaxX" type="string">32666</merge>
<merge key="input.x11_options.MaxY" type="string">32413</merge>
<merge key="input.x11_options.MaxZ" type="string">1023</merge>
</match>
</device>
</deviceinfo>
- –重启一下,应该可以当mouse使了。
Step 3 开启GIMP下的画笔压感
- –Edit-Preferences-Input Devices-Extend Input Devices-Configure Extended Input Devices
- –在Devices中选数位板的设备名,在Mode中选Screen(其实Window也行),在Axes中把X,Y,Pressure分别设成1,2,3
- –随便打开个支持压感的工具,比如Paintbrush,在Brush Dynamics中的Pressure的那些项选中,再调一下画笔的Scale和Brush(调大一点比较容易看出效果,我开始时用默认Scale,老画不出线)
- –Enjoy it.
另一个选择,在虚拟机上用数位板
如果你与我一样喜欢用VirtualBox和有足够的内存与CPU资源,可以尝试下面的方法:
- –需要一个VirtualBox,必须是非OSE版本,即非开源版本(ubuntu源里的那个肯定是开源的了),如果你还没有,可以到Sun或VirtualBox的网站下载。
- –在VirtualBox下安装Windows。
- –把Setting里的USB选择Enable USB Controller开启。
- –在Devices的USB Devices勾选你的数位板。
- –像在Windows一样安装数位板驱动。
- –这些数位板已经可以动了,但指针可能不会跟随,这时可以在Machine里选择Disable Mouse Intergation,把鼠标整合关了。
- –打开OpenCanvas,默认有压感了,Enjoy it。
- –在虚拟机使用数位板时,主系统就暂时不能用了。
Ubuntu 8.10下配置Windows 7字体感受开源画笔软件魅力:Gimp-painter-相关资讯 Ubuntu教程
- Ubuntu教程 - 使用Ubuntu拷贝CD和 (12/18/2013 14:38:16)
- 让Ubuntu 12.10支持RAR和7Z文件解 (11/15/2012 18:51:50)
- Windows 7硬盘安装Ubuntu 12.10图 (11/03/2012 19:22:47)
| - 完美安装Ubuntu 12.10最新AMD显卡 (11/27/2012 08:17:47)
- Win 7硬盘安装Ubuntu 12.10 (11/05/2012 13:30:34)
- 虚拟机上Ubuntu 11.10升级到12.04 (10/12/2012 20:00:38)
|
本文评论 查看全部评论 (0)