On 12/13/2014 02:04 AM, Leo Alekseyev wrote:
> I recently got around to installing Ubuntu on the original Microsoft
> Surface Pro.  It's a nice piece of hardware, with the proviso that the
> kernel wifi drivers are flaky and it's easiest to use an external USB
> dongle.  Touch functionality, however, makes Xournal hard to use for 2
> reasons: (1) Xournal responds to touch input by putting dots on canvas.
> Worse, Xournal is trying to connect the touch point from my palm to the
> input from the stylus, resulting in weird spurious lines.

Can you give the output of "xinput list" ?

Assuming you're using xournal 0.4.8 (or the current git, not very 
different) (if not, you should -- 0.4.8 has many important touchscreen 
fixes in it), did you specify the touchscreen device under Options -> 
Pen and Touch -> Designate as Touchscreen, and try turning on options 
like "Touchscreen as hand tool" and "Pen disables touch" ?

There might still be some bugs, but at least the sort of behavior 
shouldn't happen if there are distinct devices for the pen and the 
touchscreen and the touchscreen device is

If there aren't different xinput devices for pen vs. touch, then you're 
essentially out of luck as far as using the pen properly in Linux goes.

> (2) Resting
> palm on the screen triggers Unity 3- or 4-finger multi-touch gestures,
> which either open the Unity HUD menu, or bring up drag handles on the
> window.  That's also pretty annoying and interferes with trying to ink.

I don't know anything about Unity, but short of disabling the 
multi-touch gestures altogether in the Unity settings I don't think you 
can expect anything better.  If all else fails, it's a big hammer but 
you can always run

xinput disable "name of touchscreen device"

before running xournal. Some people wrote scripts that automatically run 
this (or conversely enable) every second depending on whether the wacom 
pen is in proximity or not, but I'm not a big fan (but then I don't have 
that annoying Unity problem since I use gnome).

> Has anyone looked into what it might take to make Xournal ignore touch
> input

If xinput reports a separate input device for the pen, get 0.4.8 and set 
up the options under Pen and Touch as works best for you.
If you don't have a separate input device for the pen, you're out of 
luck, xournal has no way of telling your pen from your hand.

Hope this helps,
Denis

-- 
Denis Auroux
UC Berkeley, Department of Mathematics     aur...@math.berkeley.edu 

Institut Henri Poincare, Paris             aur...@ihp.fr

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to