Why not a post for a simple app? We built it internally for our use, which might be useful for others.
Why? ๐
We are working on building a handwritten notetaking app, thanks to Flutter it is cross-platform. We use 6inch Wacom tablets for development testing Linux dev machines, but writing smaller gets really tough when the desktop screen size is 15inch or 20inch. Basically, if I move 1 inch in tablet I move 2X or 3X on the screen. It doesn’t same feeling as when we are using IPad or Samsung tablet where visual distance moves and physical distance stays the same.
I know there are CLIs to do that mapping! ๐
1. Identify Your Wacom Device: ๐
First, determine how your system recognizes your Wacom tablet. Open a terminal and enter the following command:
xsetwacom --list devices
This will display information about your Wacom device, including its ID and type (stylus, touch, pad, eraser).
2. Map the Tablet to the Specific Region: ๐
Use the xsetwacom command to set the tabletโs input area. The syntax is as follows:
xsetwacom --set "[YourWacomDevice]" Area [X] [Y] [Width] [Height]
Replace [YourWacomDevice] with the device name or ID (e.g., 10 for stylus), and fill in the appropriate values for [X], [Y], [Width], and [Height] based on your desired screen region. For example, if you want to map the tablet to a region starting at X=100, Y=200 with a width of 800 and height of 600, the command would be:
xsetwacom --set "WacomStylus" Area 100 200 800 600
Does not seem to be that easy to do right.
Here is a cool way to do it. ๐
Install wacomtweak from here, https://snapcraft.io/wacomtweak. Yep, now we have to launch it, just select region to map that and apply we are done.
Until another time…zZZZZ