Page 140 of 169 FirstFirst ... 4090130138139140141142150 ... LastLast
Results 1,391 to 1,400 of 1689

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

  1. #1391
    Join Date
    Apr 2009
    Beans
    29

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

    @Ayuthia

    I have deleted the "pinch" gestures, because I haven't got it working good/exactly enough. (Firefox zooming is/was horrible!) (using N-Trig 2.239)

    For the right-click to work, I've added a keyboard-shortcut: (menu-system-preference-shortcuts)
    Shortcut: Super_L + t // Mod4 + t
    Command: xdotool click 3 //xdotool is in the standard repos


    The lines I've modified are:
    Code:
        <wish gesture="Tap" fingers="2">
          <action name="action1" when="finish">
            <trigger prop="tap time" min="20" max="350"/>
            <key modifier1="Super_L">t</key>
          </action>
        </wish>
        <wish gesture="Tap" fingers="3">
          <action name="action2" when="finish">
            <trigger prop="tap time" min="20" max="400"/>
            <key modifier1="Super_L">W</key>
          </action>
        </wish>
        <wish gesture="Tap" fingers="4">
          <action name="action3" when="finish">
            <trigger prop="tap time" min="20" max="400"/>
            <key modifier1="Super_L">E</key>
          </action>
        </wish>
        <wish gesture="Drag" fingers="3">
          <action name="action4" when="update">
            <trigger prop="delta x" min="40" max="60"/>
            <key modifier1="Control_L" modifier2="Alt_L">Right</key>
          </action>
        </wish>
        <wish gesture="Drag" fingers="3">
          <action name="action5" when="update">
            <trigger prop="delta x" min="-60" max="-40"/>
            <key modifier1="Control_L" modifier2="Alt_L">Left</key>
          </action>
        </wish>
    I also attached the whole wishes.xml (wishes.xml.txt, had to add .txt for uploading)

    The 2 scripts (.wishesN.sh + .wishesR.sh):

    Get executed by magick-rotation when going in / leaving tablet mode.
    ("onboard|/home/floyd/.wishesR.sh" and "pkill onboard|/home/floyd/.wishesN.sh")
    The wishesR.xml:
    Is the wishes.xml for tablet mode. (180° turned gestures) Place it in "/usr/share/ginn".
    ginn.sh:
    Is my starting GINN script, to avoid 2 running instances (when loging out and back in) Called by an entry in menu-system-preference-session.

    For single-finger scrolling in Firefox => "grab and drag" plugin

    Hope there is something useful within.

    Best regards!

    EDIT: updated scripts and description
    The 3 scripts have to be made executable!
    Attached Files Attached Files
    Last edited by floyd0815; January 29th, 2011 at 11:01 AM. Reason: updated post

  2. #1392
    Join Date
    Apr 2009
    Beans
    29

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

    Hi again!

    I've attached a file to deactivate tooltips (= app-description when staying/clicking them) on the panel and increase the scrollbar width.

    Place it in your home directory and in the home dir of root.
    (delete the .txt from the filename!)
    Attached Files Attached Files
    Last edited by floyd0815; January 29th, 2011 at 11:05 AM. Reason: corrected my bad English

  3. #1393
    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 floyd0815,

    Loving your video of gestures with Magick Rotation! http://www.youtube.com/watch?v=CH6kxNRYz20

    As soon as we get a little feedback I'll link to your ginn scripts in the HOW TO.

    Really nice work.

  4. #1394
    Join Date
    Apr 2009
    Beans
    29

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

    Irrelevant after updated post above.
    Last edited by floyd0815; January 29th, 2011 at 10:44 AM.

  5. #1395
    Join Date
    Apr 2010
    Beans
    26

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

    I am a newbie and would like to get 10.10 with multitouch up and running on my TX2. There has been so much backing and forthing on this thread. Is it possible someone could post simple, straightforward directions on how to do this?

    Also is it better to do a fresh install of 10.10 or upgrade?

    Thanks.

  6. #1396
    Join Date
    Apr 2009
    Beans
    29

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

    Read the #1 post about maverick. (There isn't much to do)
    I would make a fresh install, install ginn and magick-rotation.
    For the mic to work after suspend, I added:
    Code:
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    options snd-hda-intel index=0 model=toshiba position_fix=1
    to my /etc/modprobe.d/alsa-base.conf.
    But I cann't say if you have the same soundcard.
    (input is mic2, decrease the volume)

    I use my TX2 not for gaming, so I haven't installed the fglrx ATI driver.
    (using radeon driver, which is chosen by the system and compiz works)

    Maybe you have a look at my last posts for some ginn wishes etc.

    And there are some server problems, so only post once and let it be good. (takes some time)
    Last edited by floyd0815; January 20th, 2011 at 03:33 PM. Reason: added something

  7. #1397
    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 floyd0815,

    But the scripts wishesN.sh and wishesR.sh could be made more effcient/smaller.
    So are you planning to clean up your scripts and/or make any additions to them? Add more explanation on use? Just wanted to know before I link to them.

  8. #1398
    Join Date
    Apr 2009
    Beans
    29

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

    @Favux

    I updated the post and scripts above, but I don't know what to add to them, because (as you have seen) I'm not good in scripting at all.
    Necessity is the mother of invention.

  9. #1399
    Join Date
    Dec 2007
    Beans
    5

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

    Quote Originally Posted by Ayuthia View Post
    Warning: Using this application can cause your system to lock up. It is still experimental.

    For those of you that want to try out some multitouch gestures in Maverick, you can try ginn ("Gesture Injector: No-GEIS, No-Toolkits"). The following is how I was able to get it installed:
    Install the build dependencies (not for sure if this step is needed or not)
    Code:
    sudo apt-get install utouch
    sudo apt-get build-dep utouch-gesturetest
    sudo apt-get install libx11-dev
    sudo apt-get install libxml2-dev
    sudo apt-get install libxi-dev
    sudo apt-get install libxtst-dev
    Download the following ginn source (I had to make a couple of modifications so that I could get the drag to work):
    Code:
    cd
    wget http://linuxfans.keryxproject.org/packages/ntrig/ginn/ginn.tar.bz2
    Extract the package:
    Code:
    tar -xvjf ginn.tar.bz2
    Compile and install:
    Code:
    cd ginn
    ./autogen.sh --prefix=/usr
    ./configure --prefix=/usr
    make
    sudo make install
    sudo cp etc/wishes.xml /etc/
    Now you should be able to run the application:
    Code:
    ginn
    ginn reads the /etc/wishes.xml file to figure out the gesture rules for each application. In this set Inkscape has the pinching ability and Firefox should have the two-finger up/down drag for scrolling and two-finger left/right drag for page forward and page back. I am currently trying out the Firefox 4.0 version so if you are using Minefield, it should work there too. However, if Firefox does not work, please let me know because I was unable to test it out but I think I have the application name correct.

    I have been testing it out, and I have run into some occasional lockups. I have not figured out what is happening there as of yet.

    I am dual booting Windows 7 professional and Ubuntu 10.10 on a tx2z 1000 hp tablet. However, when I tried to carry out the Ginn installation (to enable multitouch) as shown above, Ginn failed to work, with the following error:

    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~$ ginn
    ginn: command not found
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~$ cd ginn
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ ./autogen.sh --prefix=/usr
    ./autogen.sh: 9: autoreconf: not found
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ ./configure --prefix=/usr
    bash: ./configure: No such file or directory
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ make
    make: *** No targets specified and no makefile found. Stop.
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ sudo make install
    make: *** No rule to make target `install'. Stop.
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ sudo cp etc/wishes.xml /etc/
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ ginn
    ginn: command not found


    I really need your help. Thanks.

  10. #1400
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

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

    Quote Originally Posted by dwaynefuller View Post
    dwaynefuller@dwaynefuller-HP-TouchSmart-tx2-Notebook-PC:~/ginn$ ./autogen.sh --prefix=/usr
    ./autogen.sh: 9: autoreconf: not found
    It looks like autoreconf is missing so if I remember correctly, you can get it by installing autoconf:
    Code:
    sudo apt-get install autoconf

Page 140 of 169 FirstFirst ... 4090130138139140141142150 ... 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
  •