Recent Changes · Search:

Dispense


Navigation Tips - Dritte


PmWiki

pmwiki.org

edit SideBar

XWacom

Index


Free notes (check and correct)

Now three configurations are working:

  • xorg.conf.wacom.laptoponly

Plain outofthebox with addition of Wacom devices (this is for stylus, an equivalent one for eraser)

Section "InputDevice"

  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"           # Tablet PC ONLY

EndSection

Pen si automatically calibrated to the only screen. To see calibration run
xsetwacom get stylus topx # or topy, bottomx, bottomy, respectively 0 0 28808 18080

Within a program like inkscape and gimp the device (see file/input device in inkscape, Edit/Preferences Input devices Configure Extended Input Devices in gimp) works correctly when set to screen (whereas it is offset from the pen tip when set to window)

  • xorg.conf.wacom.twin

sets virtual to 3200x1200, containing 1280x800, 1920x1200 uses twinview, then each Wacom device section has more options

	Option        "Twinview"      "horizontal"
	Option        "ScreenNo"      "0"
	Option "TVResolution" "1280x800,1920x1200"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "36000"
        Option "BottomY" "27000"

The numbers are ok for 1280x800 + 1920x1200, but if I switch off the external monitor then the pen calibration is scrambled

  • xorg.cong.wacom.beamer

has no twinview, forces the resolution for the projector, sets its magic calibration numbers

 	Option        "ScreenNo"      "0"
	Option "TVResolution" "1028x768"
        Option "TopX" "0"
        Option "TopY" "0"
        Option "BottomX" "28900"
        Option "BottomY" "18220"

To switch: change xorg.conf (requires sudo) and restart X (requires login and looses open sessions on the desktop)

Problems: sometimes one has to play a bit with gnome-display-properties aka System/Preferences/Screen Resolution.

Two improvements required: a mean of selecting at startup (could be like in old pc34, selecting xorg via grub) and a mean of changing on the fly. Xrandr can change desktops on the fly if a large virtual is always set. However this poses problems of pen calibration:

Tried e.g. start with xorg.conf.wacon.twin, switch off the external monitor (pen is uncalibrated) and recalibrate it with xsetwacom set stylus bottomx. It does not work.One can calibrate this way the cursor on the pen tip, but inside inkscape the actual writing is offset (to the left). Switching the device from screen to window produces a different (opposite, to the right) miscalibration. The value used as bottomx moves the cursor but does not move the writing of inkscape. Must try closing and restarting inkscape after each calibration.


Index

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on March 21, 2009, at 05:36 PM