Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Wacom tablet and the "keepshape" option, on openbox
Tags openbox, wacom tablet, xorg
On KDE you can set "keepshape" on "systemsettings", but apparently there's no way to do it in any other DE. The proper way to have "keepshape" working does not seem to work on Debian Wheezy (setting it on xorg.conf.d/50-wacom.conf). The "standard" alternatives are a static xorg.conf, and perhaps figuring hal/udev rules, which I don't know how to do.
Another way to do it is via xsetwacom, explicitly setting the active area along the lines of:
These lines are to be placed in an autostart script appropriate for the DE you're using.
Instead of "Wacom Bamboo whatever" yours might have some other name. In order to get the proper name, you should use the command "xsetwacom --list devices", as a normal user (or at least that worked for me).
I got these numbers, the coordinates ("0 0 11531 9225") from KDE's wacom settings panel. Over there there is a section where you can set the tablet to be proportional to the display, and move the active area as you wish. "0,0" means that in my case it starts exactly at the top right. You get these numbers from the "diagram"/what-you-see-is-what-you-get thing.
Setting it on KDE will work only for KDE as it require a KDE service to be running. If you have some KDE installed you don't need to log on a session to get these values, just starting the service on systemsettings (startup and shutdown → service manager → select "wacom tablet" and click on "start") will suffice. Perhaps one could even manage to have the service working in some other DE via some of those dcop/dbus commands I guess, so the settings panel would be totally functional in any DE you can make the service run at startup.
Perhaps there's a less newbie-ish way of getting these coordinates, but I don't know how to do it, and it just works this way, so that's enough for me. I saw somewhere even a script that would generate it every time I guess, but I didn't looked carefully at it yet:
Here's the link:
http://forum.intilinux.com/mypaint-h...g7663/#msg7663
If the xsetwacom's syntax given above is outdated, I think you just need to use the same variables on a line like "xsetwacom set '$stylus' Area $topx,$topy $bottomx, $bottomy", or perhaps vice-versa.
Another way to do it is via xsetwacom, explicitly setting the active area along the lines of:
Code:
xsetwacom set "Wacom Bamboo stylus" Area 0 0 11531 9225 xsetwacom set "Wacom Bamboo cursor" Area 0 0 11531 9225 xsetwacom set "Wacom Bamboo eraser" Area 0 0 11531 9225
Instead of "Wacom Bamboo whatever" yours might have some other name. In order to get the proper name, you should use the command "xsetwacom --list devices", as a normal user (or at least that worked for me).
I got these numbers, the coordinates ("0 0 11531 9225") from KDE's wacom settings panel. Over there there is a section where you can set the tablet to be proportional to the display, and move the active area as you wish. "0,0" means that in my case it starts exactly at the top right. You get these numbers from the "diagram"/what-you-see-is-what-you-get thing.
Setting it on KDE will work only for KDE as it require a KDE service to be running. If you have some KDE installed you don't need to log on a session to get these values, just starting the service on systemsettings (startup and shutdown → service manager → select "wacom tablet" and click on "start") will suffice. Perhaps one could even manage to have the service working in some other DE via some of those dcop/dbus commands I guess, so the settings panel would be totally functional in any DE you can make the service run at startup.
Perhaps there's a less newbie-ish way of getting these coordinates, but I don't know how to do it, and it just works this way, so that's enough for me. I saw somewhere even a script that would generate it every time I guess, but I didn't looked carefully at it yet:
Quote:
Originally Posted by maxy
As far as I know, at the moment, you have to configure this manually. I have the opposite problem: my screen is wide and the tablet "normal". I also prefer to have a bit a smaller active area. I use the bash script below to map the bottom area of my tablet. Obviously you would have to change it for your needs.
Code:
stylus="Wacom Intuos3 6x8" (( w = 40640 )) # intuos active area (( h = 30480 )) # intuos active area # 1920 1080 <-- wide screen (16:9) (( w2 = w*6/10 )) # use only 60% of the tablet width (free choice) (( h2 = w2*9/16 )) # calculate the height to make the ratio correct (( topx = 0 )) # active area starts at the bottom left of the tablet (( topy = h - h2 )) (( bottomx = topx + w2 )) (( bottomy = topy + h2 )) xsetwacom set "$stylus" topx $topx xsetwacom set "$stylus" topy $topy xsetwacom set "$stylus" bottomx $bottomx xsetwacom set "$stylus" bottomy $bottomy
http://forum.intilinux.com/mypaint-h...g7663/#msg7663
If the xsetwacom's syntax given above is outdated, I think you just need to use the same variables on a line like "xsetwacom set '$stylus' Area $topx,$topy $bottomx, $bottomy", or perhaps vice-versa.
Total Comments 0




