-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 package: x2gothinclient version: 1.1.0.2 priority: wishlist Control: tag -1 patch Hi, when using a touch-enabled device (like a tablet computer) as a thinclient, the cursor isn't properly aligned when you try to run a second display (non-touch-enabled) alongside with it. What happens is that both displays get attached to form one large virtual screen, however, your touch-enabled surface obviously still only covers the primary display. The X server doesn't understand this, and tries to map your movements on the primary display to the entire virtual screen surface, so the further to the side and to the bottom you get, the more off your mouse pointer will be from the actual position where you touch your primary display. PRI SEC VIRT +-----+ +-----+ +----------+ |X | | | |O | | | | | | | | | | | | | | | | | | | +-----+ +-----+ +----------+ +-----+ +-----+ +----------+ | | | | | | | | | | | | | \ | | / | | O | | | | | | | +-----+ +-----+ +----------+ \ = where you touch / = where X draws the cursor in reality X = overlapping \ and / O = where X believes the cursor is, on the virtual screen There's no sensible way to use a touch-enabled device with a second screen and no additional, external pointing device, so I've added this patch/workaround that switches to clone mode instead. Of course, if you give up on using the touchscreen and plug in a USB mouse or other external pointing device, you could use two screens. This patch doesn't cover that situation. Maybe someone else has an idea on what a sensible solution could look like that covers this as well? Like, scan for USB HID pointing devices ("find /dev/input -name "mouse*" | wc -l") and, if present in addition to a touchscreen, don't clone, but do side-by-side s if no touch device was detected at all? Tht might have some additional caveats, though, like the detection mis-firing if the touch component of a tablet device "cloaks" as mouse or offers some sort of mouse emulation support. Also, in that case, it would probably be smart to disable the touch interface completely so as to not confuse users why their touches don't align with the cursor. Does anybody know of a generic way to do this? Again, input/suggestions welcome. - -Stefan - -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUq+xgAAoJEG7d9BjNvlEZrjkIAKDP60/c6aMxGsYiA3uZZ0Iw q2W6g3rsjE5t3r1wLjhCgq6VzH9hOvThT2g+ox6upAXoAtj3c9ePhIViboVmX5dH 8RBPucV14gjP7rXxeMlmQgBKo/y5wvtABxcDHO1jlzQoTL752bfANae7zzTrDQJS vdF+fIScHg/W2Ft/KkyYjlOqawCJ9euZOzvOMUmTLFkSrIu6CKAtVF3YZOptnN25 +VcCoiltYUxmGzhYNmGMa9g+zMCZcaPSKloE/pK4YaxQjbCV5NJKuiiILC/E24qa R3dssyt5m33muyQi+E8Ygger2faTe9efUrsDGMHnacCs94wqySUtTebQQzT12KE= =hoaC -----END PGP SIGNATURE-----