Latest LQ Deal: Latest LQ Deals
Go Back > Blogs > linux-related notes
User Name


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.
Rate this Entry

Mapping the tablet to monitor with the aid of an inkscape, plus fine-grained mouse accuracy

Posted 03-29-2016 at 06:05 PM by the dsc
Updated 03-29-2016 at 06:10 PM by the dsc
Tags mouse, tablet, wacom

I'm speaking of the wacom/genius/aiptek "drawing/writing" kind of tablets, not the "big smartphone", mini-PC-embedded-with-touchscreen type, even though cintiqs and the like blur the distinction a bit.

Without a GUI to actually map the correspondence between the tablet and monitor, one method is to first create an image that is just two rectangles: one representing the full area of your tablet, and another rectangle to the proportion you want to use of the tablet area.

The larger rectangle "resolution" (not really pixels, whatever is the minimal unit of inkscape's measurements) should be the the same as your tablet's resolution. Then you select it and edit the document properties so that it has the same size as the rectangle, in order to more easily map the coordinates.

Then you draw another rectangle over it, with the area you want to use. It may or may not be proportional, it's up to you. For drawing or dealing with graphics, it's preferable to use the largest proportional area. But using as a mouse, it's perhaps preferably minimalistic and doesn't need to be proportional, just move the stylus around and think where it would feel ok to have it reaching the edges of the screen. I feel that even though the monitor is a rectangle wider than taller, the tablet area for mouse-like usage can be taller than wide, or far more square-ish, depending on how it feels better/faster to move the stylus.

Then you zoom in with the mouse at the bottom-left and top-right edges of the smaller rectangle, and take note of the coordinates, at the bottom right of inkscape's windows. Those will be the coordinates you'll give to commands such as:

xsetwacom set "Wacom Bamboo Pen stylus" Area 0 0 11531 9225

Fine-grained accuracy with the cursor pointer, mice included

For a highly distorted, smaller area, you'd also like to use features such as adaptive deceleration of the cursor and things like that.

That's a tip worthy by itself, even for just normal mice. Someone should do a video tutorial that starts like an "infomercial", "are you tired of not being able to select precisely individual characters with your mouse? Do you hate when you're trying to click the corner of a window to resize it and you click outside of it and make it loose the focus*? Your problems are over!"

* it's quite an aggravation if you have an auto-focus-raise-on-hover thing set up.

It's possible that there's some udev/hal (if that still exists) config-file way to have such settings permanently, but it works just as fine to have them in an autostart script, or in a toggle-script, if you want to switch between modes.

(No idea on dual monitors and such things. These are primarily notes for myself that may worth sharing, but I'm not expert on any of this.)
Posted in Uncategorized
Views 1008 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 12:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration