Giter Site home page Giter Site logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi Jean

In adition of qmake you need this libraries:

Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqtcore4 (>= 4:4.6.1), 
libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), libutouch-geis1 (>= 1.0.8), 
libx11-6

And of curse g++.

I think that a:
$ sudo apt-get install build-essential libqt4-dev libutouch-geis1 libx11-6

Will install all dependencies, please, confirm it ;)
Greetings!

Original comment by [email protected] on 2 Feb 2011 at 11:03

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi Jose

Thanks for the quick response..

I installed the packages that you recommended, and got the following error:

jean@Bingi:~/Programs/touchegg-0.1$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB 
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -Ibuild -o build/Main.o 
src/touchegg/Main.cpp
In file included from ./src/touchegg/gestures/handler/GestureHandler.h:18,
                 from src/touchegg/Main.cpp:14:
./src/touchegg/util/Include.h:36: fatal error: geis/geis.h: No such file or 
directory
compilation terminated.
make: *** [build/Main.o] Error 1

It looks like the same error to me.

Is there anything else that I can try?

Thanks again...
Jean

Original comment by [email protected] on 2 Feb 2011 at 12:07

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Is very strange... Are you using (K)Ubuntu 10.10?? Try to install utouch 
package instead of libutouch-geis1:

$ sudo apt-get install utouch

And check that there is no errors in installation
Greetings!

Original comment by [email protected] on 2 Feb 2011 at 12:21

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Alright.. lot's of action after the 'make' and 'sudo make install' commands, so 
I assume that it went well. The utouch had the files that it was looking for. 
I'm not using Kubuntu btw - straight Ubuntu 10.10 Maverick.

Bash now predicts the 'touchegg' command, which I ran and then tried to use the 
gestures and nothing.I made the .touchegg directory in home, and copied the 
.conf file across. What do I need to edit to get this working?

Hardware is an Acer Aspire 7741F (with multi-gesture pad).

Thanks,
Jean

Original comment by [email protected] on 2 Feb 2011 at 12:55

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Ok, after execute sudo make install and run Touchégg from console, if you move 
your fingers over the trackpad, the gesture names that you are using should be 
listed in console.

If nothing appear probably is because you aren't use the evdev driver, check 
this issues:
http://code.google.com/p/touchegg/issues/detail?id=2&can=1

> Bash now predicts the 'touchegg' command, which I ran and then tried to use 
the gestures and nothing.
> I made the .touchegg directory in home, and copied the .conf file across.
> What do I need to edit to get this working?

Copy the configuration file is not necesary unless you want personalize your 
gestures, check the video to see how:
http://www.youtube.com/watch?v=_jRiEFA7ExY&feature=player_embedded


If you have any problems please ask!
Thanks!

Original comment by [email protected] on 2 Feb 2011 at 1:16

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Alright, i checked and I am using the evdev drivers (xserver-xorg-input-evdev). 
I installed the 'pointing devices (gpointing-device-settings) as well.

When I run touchegg in the terminal, i get the same as before - no gestures 
come up.

Where to now?

Thanks for being so patient.

Original comment by [email protected] on 2 Feb 2011 at 1:48

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hello Jean

I really don't know where can be the problem now xD Have you restarted X after 
change the driver??

Ok, let's review all steps:

1 - Install Touchégg dependences:
    $ sudo apt-get install build-essential libqt4-dev utouch libx11-6

2 - Compile Touchégg:
    $ qmake
    $ make
    $ sudo make install

3 - Go to your /usr/share/X11/xorg.conf.d/ path and check if exits any file 
like "nn-<trackpad name>.conf"
    If exits change the Drver "<driver name>" line to Driver "evdev". For example, this is my 60-magictrackpad.conf file:

    Section "InputClass"
         Identifier "Magic Trackpad"
         MatchUSBID "05ac:030e"
         Driver "evdev"
         #Driver "synaptics"
    EndSection

4 - If not exits you need edit your /etc/X11/xorg.conf file and add this 
content, obiusly change the Identifier. Check this:
    https://code.google.com/p/touchegg/wiki/ConfigurationDevices

5 - If /etc/X11/xorg.conf file don't exits create it:
    Press CTRL+ALT+F1 (Important! press CTRL+ALT+F7 to return to the X mode) and login. Run:
    "sudo service gdm stop" for Gnome or "sudo service kdm stop" for KDE.
    Run "sudo Xorg -configure", "sudo mv xorg.conf.new /etc/X11/xorg.conf" and reestart X with "sudo service gdm start"
    or "sudo service kdm start" and edit the /etc/X11/xorg.conf like in step 4.

6 - Run Touchégg:
    $ touchegg

7 - Make a gesture, for example drag two fingers over your trackpad. If all 
works fine, the name of the gesture will appear.

8 - To use your own configuration:
    $ mkdir $HOME/.touchegg
    $ cp /usr/share/touchegg/touchegg.conf $HOME/.touchegg/touchegg.conf

    And edit it... GUI in progress ;)

Original comment by [email protected] on 2 Feb 2011 at 3:56

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Oh! another think, if don't work run "geistest" do "two fingers drad", press 
CTRL+C and copy here the output ;)

Original comment by [email protected] on 2 Feb 2011 at 4:02

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
[deleted comment]

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi Jose

Thanks for all the detailed feedback. 

I went into /usr/share/X11/xorg.conf.d/ and it had a few files that matched the 
description - magicpad, synaptics, evdev. I edited synaptics and changed the 
driver to evdev, logged out and in and ran touchegg in a terminal. The mouse 
movement was VERY jerky and fast, but I started seeing output lines in the 
touchegg terminal for the first time, although it would only recognise 2 
fingger commands (no 3 or 4 fingers showed).

I have since changed it back to the default synaptics driver.

Would it be best for me to just wait for the GUI?

Thanks again,
Jean

Original comment by [email protected] on 3 Feb 2011 at 6:24

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi

Some trackpads not support more than three or four fingers:
http://code.google.com/p/touchegg/issues/detail?id=3#c10

Can you use three fingers with synaptics driver? If run geistest, can you use 
more than two fingers?

Check this to change the mouse speed:
http://code.google.com/p/touchegg/issues/detail?id=2#c7

Greetings, and thank to you for use Touchégg ;)

Original comment by [email protected] on 3 Feb 2011 at 11:36

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hey Jose

When I run geistest, this is the output:

Gesture type 1 added
    attr gesture name="Pinch"
    attr touches=1
Gesture type 2 added
    attr gesture name="Rotate"
    attr touches=1
Gesture type 15 added
    attr gesture name="Tap"
    attr touches=1
Gesture type 3 added
    attr gesture name="Drag"
    attr touches=2
Gesture type 4 added
    attr gesture name="Pinch"
    attr touches=2
Gesture type 5 added
    attr gesture name="Rotate"
    attr touches=2
Gesture type 6 added
    attr gesture name="Drag"
    attr touches=3
Gesture type 7 added
    attr gesture name="Pinch"
    attr touches=3
Gesture type 8 added
    attr gesture name="Rotate"
    attr touches=3
Gesture type 9 added
    attr gesture name="Drag"
    attr touches=4
Gesture type 10 added
    attr gesture name="Pinch"
    attr touches=4
Gesture type 11 added
    attr gesture name="Rotate"
    attr touches=4
Gesture type 12 added
    attr gesture name="Drag"
    attr touches=5
Gesture type 13 added
    attr gesture name="Pinch"
    attr touches=5
Gesture type 14 added
    attr gesture name="Rotate"
    attr touches=5
Gesture type 15 added
    attr gesture name="Tap"
    attr touches=1
Gesture type 16 added
    attr gesture name="Tap"
    attr touches=2
Gesture type 17 added
    attr gesture name="Tap"
    attr touches=3
Gesture type 18 added
    attr gesture name="Tap"
    attr touches=4
Gesture type 19 added
    attr gesture name="Tap"
    attr touches=5
Gesture type 20 added
    attr gesture name="Drag"
    attr touches=3
Gesture type 21 added
    attr gesture name="Pinch"
    attr touches=3
Gesture type 22 added
    attr gesture name="Rotate"
    attr touches=3
Gesture type 23 added
    attr gesture name="Drag"
    attr touches=4
Gesture type 24 added
    attr gesture name="Pinch"
    attr touches=4
Gesture type 25 added
    attr gesture name="Rotate"
    attr touches=4
Gesture type 0 added
    attr gesture name="Drag"
    attr touches=1

There was some repetition as well, but they are all either pinch, rotate, drag 
or tap. no 3 or 4 fingers. Does this rule me out for a fully functioning 
touchegg?

Thanks,
Jean

Original comment by [email protected] on 3 Feb 2011 at 11:44

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Ok, after this output begin to make gestures and check the output. For example 
this is my output with 4 fingers drag:

[...]

Gesture type 0 added
        attr gesture name="Drag"
        attr touches=1
Gesture type 1 added
        attr gesture name="Pinch"
        attr touches=1
Gesture type 2 added
        attr gesture name="Rotate"
        attr touches=1
Gesture type 15 added
        attr gesture name="Tap"
        attr touches=1
Gesture type 3 added
        attr gesture name="Drag"
        attr touches=2
Gesture type 4 added
        attr gesture name="Pinch"
        attr touches=2
Gesture type 5 added
        attr gesture name="Rotate"
        attr touches=2
Gesture type 6 added
        attr gesture name="Drag"
        attr touches=3
Gesture type 7 added
        attr gesture name="Pinch"
        attr touches=3
Gesture type 8 added
        attr gesture name="Rotate"
        attr touches=3
Gesture type 9 added
        attr gesture name="Drag"
        attr touches=4
Gesture type 10 added
        attr gesture name="Pinch"
        attr touches=4
Gesture type 11 added
        attr gesture name="Rotate"
        attr touches=4
Gesture type 12 added
        attr gesture name="Drag"
        attr touches=5
Gesture type 13 added
        attr gesture name="Pinch"
        attr touches=5
Gesture type 14 added
        attr gesture name="Rotate"
        attr touches=5
Gesture type 15 added
        attr gesture name="Tap"
        attr touches=1
Gesture type 16 added
        attr gesture name="Tap"
        attr touches=2
Gesture type 17 added
        attr gesture name="Tap"
        attr touches=3
Gesture type 18 added
        attr gesture name="Tap"
        attr touches=4
Gesture type 19 added
        attr gesture name="Tap"
        attr touches=5
Gesture type 20 added
        attr gesture name="Drag"
        attr touches=3
Gesture type 21 added
        attr gesture name="Pinch"
        attr touches=3
Gesture type 22 added
        attr gesture name="Rotate"
        attr touches=3
Gesture type 23 added
        attr gesture name="Drag"
        attr touches=4
Gesture type 24 added
        attr gesture name="Pinch"
        attr touches=4
Gesture type 25 added
        attr gesture name="Rotate"
        attr touches=4
[...]


Gesture type 0 started
        attr device id=11
        attr timestamp=1646815
        attr root window id=346
        attr event window id=71303196
        attr child window id=71303196
        attr focus x=545.000000
        attr focus y=724.000000
        attr gesture name="Drag"
        attr touches=4
        attr delta x=0.000000
        attr delta y=48.079662
        attr velocity x=-0.928841
        attr velocity y=2.827398
        attr position x=664.700439
        attr position y=306.425018
        attr boundingbox x1=333.061218
        attr boundingbox y1=234.534943
        attr boundingbox x2=931.138916
        attr boundingbox y2=455.405701
        attr touch 0 id=1.000000
        attr touch 0 x=333.061218
        attr touch 0 y=258.600281
        attr touch 1 id=2.000000
        attr touch 1 x=931.138916
        attr touch 1 y=455.405701
        attr touch 2 id=5.000000
        attr touch 2 x=808.321228
        attr touch 2 y=277.159119
        attr touch 3 id=8.000000
        attr touch 3 x=586.280457
        attr touch 3 y=234.534943
Gesture type 0 updated
        attr device id=11
        attr timestamp=1646826
        attr root window id=346
        attr event window id=71303196
        attr child window id=71303196
        attr focus x=545.000000
        attr focus y=724.000000
        attr gesture name="Drag"
        attr touches=4
        attr delta x=0.000000
        attr delta y=32.070103
        attr velocity x=-0.617631
        attr velocity y=2.915464
        attr position x=657.906494
        attr position y=338.495117
        attr boundingbox x1=329.690582
        attr boundingbox y1=274.915741
        attr boundingbox x2=922.712280
        attr boundingbox y2=473.556641
        attr touch 0 id=1.000000
        attr touch 0 x=329.690582
        attr touch 0 y=295.310089
        attr touch 1 id=2.000000
        attr touch 1 x=922.712280
        attr touch 1 y=473.556641
        attr touch 2 id=5.000000
        attr touch 2 x=798.419983
        attr touch 2 y=310.197968
        attr touch 3 id=8.000000
        attr touch 3 x=580.803162
        attr touch 3 y=274.915741
Gesture type 0 updated
        attr device id=11
        attr timestamp=1646837
        attr root window id=346
        attr event window id=71303196
        attr child window id=71303196
        attr focus x=545.000000
        attr focus y=724.000000
        attr gesture name="Drag"
        attr touches=4
        attr delta x=0.000000
        attr delta y=9.432384
        attr velocity x=-0.016757
        attr velocity y=0.857489
        attr position x=657.722168
        attr position y=347.927490
        attr boundingbox x1=326.741272
        attr boundingbox y1=274.915741
        attr boundingbox x2=922.712280
        attr boundingbox y2=473.556641
        attr touch 0 id=1.000000
        attr touch 0 x=326.741272
        attr touch 0 y=333.039612
        attr touch 1 id=2.000000
        attr touch 1 x=922.712280
        attr touch 1 y=473.556641
        attr touch 2 id=5.000000
        attr touch 2 x=798.419983
        attr touch 2 y=310.197968
        attr touch 3 id=8.000000
        attr touch 3 x=580.803162
        attr touch 3 y=274.915741
Gesture type 0 finished
        attr device id=11
        attr timestamp=1646860
        attr root window id=346
        attr event window id=71303196
        attr child window id=71303196
        attr focus x=545.000000
        attr focus y=724.000000
        attr gesture name="Drag"
        attr touches=4
        attr delta x=0.000000
        attr delta y=9.432384
        attr velocity x=-0.016757
        attr velocity y=0.857489
        attr position x=657.722168
        attr position y=347.927490
        attr boundingbox x1=326.741272
        attr boundingbox y1=274.915741
        attr boundingbox x2=922.712280
        attr boundingbox y2=473.556641
        attr touch 0 id=1.000000
        attr touch 0 x=326.741272
        attr touch 0 y=333.039612
        attr touch 1 id=2.000000
        attr touch 1 x=922.712280
        attr touch 1 y=473.556641
        attr touch 2 id=5.000000
        attr touch 2 x=798.419983
        attr touch 2 y=310.197968
        attr touch 3 id=8.000000
        attr touch 3 x=580.803162
        attr touch 3 y=274.915741


Greetings!

Original comment by [email protected] on 3 Feb 2011 at 11:50

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
If some output appear is because the gesture are supported, else is not 
supported...

Original comment by [email protected] on 3 Feb 2011 at 11:51

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
[deleted comment]

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
I have been having very similar troubles.  However, in the ubuntu package 
manager, the installed version of libc6 is 2.12 while the instructions above 
say that I need libc6 >=2.4.  Here is my error


$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -Ibuild -o build/Main.o 
src/touchegg/Main.cpp
In file included from ./src/touchegg/gestures/handler/GestureHandler.h:18,
                 from src/touchegg/Main.cpp:14:
./src/touchegg/util/Include.h:18: fatal error: QApplication: No such file or 
directory
compilation terminated.
make: *** [build/Main.o] Error 1

Original comment by [email protected] on 24 Feb 2011 at 1:51

from touchegg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Please, check this:
http://code.google.com/p/touchegg/wiki/CompileSourceCode

And if the problem persist open a new issue ;)

Original comment by [email protected] on 24 Feb 2011 at 4:00

  • Added labels: Type-Configuration
  • Removed labels: Type-Other, Priority-Medium

from touchegg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.