Page 152 of 169 FirstFirst ... 52102142150151152153154162 ... LastLast
Results 1,511 to 1,520 of 1689

Thread: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

  1. #1511
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    I'd think at least ginn. Ayuthia mentioned that someone had apparently imported that into Gentoo.

  2. #1512
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Angry Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hello everyone,

    I've a little problem with installing ginn on a fresh Natty system. Following appears when trying to execute
    Code:
    $make
    /bin/bash ../libtool --tag=CC   --mode=link gcc -DGINN_CONFIG_DIR=\"/usr/share/ginn\"    -I/usr/include/libxml2   -g -O2 -lutouch-geis   -lXtst   -L/usr/lib/x86_64-linux-gnu -lX11   -lxml2    -o ginn ginn-ginn.o ginn-config.o ginn-xt.o  
    libtool: Version mismatch error.  This is libtool 2.2.6b, revision 1.3018,
    libtool: but the definition of this LT_INIT comes from revision 1.3017.
    libtool: You should recreate aclocal.m4 with macros from revision 1.3018
    libtool: of libtool 2.2.6b and run autoconf again.
    Anyone an idea, why?

  3. #1513
    Join Date
    Apr 2009
    Beans
    29

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    I thought that GINN is already in the repos/installed in 11.04?!

  4. #1514
    Join Date
    Jul 2008
    Beans
    50

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Quote Originally Posted by floyd0815 View Post
    I thought that GINN is already in the repos/installed in 11.04?!
    You are absolutely right, it is.

    I'd suggest Favux updated the guide for natty to include the fact that GINN is now included in the apt repository, and a simple apt-get will install it.

    Also, in my magick-rotation "run after switch to tablet"-file I have:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" -1, 0, 1, 0, -1, 1, 0, 0, 1
    This is in inverted mode. But it would probably also be a help to write it down in the guide.

    And by the way Favux, a great big THANK YOU (in big letters, yes!!) for all the work you have done writing down this faboulus guide! And also, thank you for all your help here on these forums. You have put in a tremendous amount of work, and I, and I'm sure many more, appriciate it so much! :)

  5. #1515
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hi tannalv,

    I'd suggest Favux updated the guide for natty to include the fact that GINN is now included in the apt repository, and a simple apt-get will install it.
    I thought I had, but you are right it wasn't clear. So I updated it.
    Also, in my magick-rotation "run after switch to tablet"-file I have:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" -1, 0, 1, 0, -1, 1, 0, 0, 1
    This is in inverted mode. But it would probably also be a help to write it down in the guide.
    Not sure what you are telling me here. Are you referring to the note in Natty & Maverick right before b) that links to the CTM rotation method? I linked it rather than put it in the HOW TO because I'm still not totally sure that they won't fix axis inversion for evdev. And the multi-monitor HOW TO which already had links seemed a logical place to put it.

    Thank you for the kind words. What I'm dreading is in a week or so I have to update several HOW TO's, dropping out the Hardy and Karmic stuff. That will be a chore. But when I finally finish they should be "simplified", a little anyway.

  6. #1516
    Join Date
    Jul 2008
    Beans
    50

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Mh, yeah. I was thinking of the link that links to a not totally clear and simple to understand post.
    I think it would be nice to add a "if rotation doesn't work/hasn't been added to the kernel yet---"-note with the proper xinput set-props. It would help people who are new and beginners @Linux/GNU.

  7. #1517
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Quote Originally Posted by Favux View Post
    Hi tannalv,


    I thought I had, but you are right it wasn't clear. So I updated it.
    Thanks a lot for your answers. Where can I find the guide?

    And then I've another problem. When I try to call
    Code:
     $ginn /usr/share/wishes.xml
    (in /usr/share/ginn/wishes.xml are my collected and self-made wishes located)
    then nothing happens. How can I use such a self-made wishes.xml with Natty? It worked nicely with Maverick.

    A last problem:
    My rotation script contains the changed axis scaling like this:
    Code:
        xrandr -o left 
        xsetwacom set 'N-Trig Pen stylus' rotate CCW 
        xsetwacom --set 'N-Trig Pen stylus' bottomx 7200
        xsetwacom --set 'N-Trig Pen stylus' bottomy 9600
        xinput set-prop 11 "Evdev Axes Swap" 1
        xinput set-prop 11 "Evdev Axis Inversion" 1 0
        xinput set-prop 11 "Evdev Axis Calibration" 0 7200 0 9600
    This is, after the upgrade to Natty not working anymore.

    Thanks for your help, that isreally appreciated!

    BTW: With Natty the stylus pen is now working quite good even together with the switched-on multitouch screen. Very nice!!!
    Last edited by wildschweini; May 5th, 2011 at 08:33 PM.

  8. #1518
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hi wildschweini,

    I don't know if they changed the wishes location in Natty or what. The wiki shows that gestures are embedded in Natty:
    https://wiki.ubuntu.com/Multitouch#Multitouch%20Pages
    https://wiki.ubuntu.com/Multitouch/Ginn

    Evdev rotation for those of you using evdev for touch seems to be broken currently on Natty. You can use the CTM to do it instead.

    The CTM for none/normal or no rotation is the identity matrix:
    Code:
     [ 1  0  0 ]
     [ 0  1  0 ]
     [ 0  0  1 ]
    and the command to implement it:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 1, 0, 0, 0, 1, 0, 0, 0, 1

    The CTM for ccw/left rotation is:
    Code:
     [ 0  1  0 ]
     [-1  0  1 ]
     [ 0  0  1 ]
    and the command to implement it:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 0, 1, 0, -1, 0, 1, 0, 0, 1

    The CTM for half/inverted rotation is:
    Code:
     [-1  0  1 ]
     [ 0 -1  1 ]
     [ 0  0  1 ]
    and the command to implement it:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" -1, 0, 1, 0, -1, 1, 0, 0, 1

    The CTM for cw/right rotation is:
    Code:
     [ 0 -1  1 ]
     [ 1  0  0 ]
     [ 0  0  1 ]
    and the command to implement it:
    xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 0, -1, 1, 1, 0, 0, 0, 0, 1

    Use your touch "device name" from xinput list of course.

    Someone told me I have cw and ccw reversed. I don't think so but I haven't checked it yet. Also there may be another evdev bug having to do with the new macros mask that makes the pointer jittery in Portrait modes. So let me know.

  9. #1519
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hi all,

    regarding the wishes.xml in ginn, I found the simple solution of my problem here:
    https://wiki.ubuntu.com/Multitouch/Ginn

    My old wishes.xml files looked like this:
    Code:
        <wish gesture="Tap" fingers="4">
          <action name="action1">
            <trigger prop="tap time" min="20" max="400"/>
            <key modifier1="Super_L">E</key>
          </action>
        </wish>
    Nowadays, one needs to use it like this:
    Code:
        <wish gesture="Tap" fingers="4">
          <action name="action1" when="update">
            <trigger prop="tap time" min="20" max="400"/>
            <key modifier1="Super_L">E</key>
          </action>
        </wish>
    A very little, but important difference in Natty. After this, one is then able to call ginn, for example, in this way:

    Code:
    $ ginn /usr/share/ginn/wishes.xml
    or wherever the *.xml file is located.


    As a second point, I tried out the
    Code:
    xinput set-prop
    commands (thanks a lot for this, Favux!).
    EDIT: have to try it further.
    Last edited by wildschweini; May 6th, 2011 at 09:03 PM.

  10. #1520
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal
    ..
    Last edited by wildschweini; May 6th, 2011 at 09:04 PM.

Page 152 of 169 FirstFirst ... 52102142150151152153154162 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •