lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

can't tap to click and keyboard shortcut issue #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi

1)
i would like to zoom on firefox on pinch, but it doesn't work, not sure about 
the "control" key:

TWO_FINGERS_PINCH.firefox.settings=HOLD_DOWN=+:PRESS=Control

2)since i use touchegg, i can't use tap to click

other feature are actually working

config: ubuntu 11 / macbookair /touchegg for narwal

thanx for any help

my complete config file

TWO_FINGERS_PINCH.firefox.settings=HOLD_DOWN=+:PRESS=Control
general_settings.tap_and_hold_time=128
THREE_FINGERS_DRAG_RIGHT.ALL.action=MAXIMIZE_RESTORE_WINDOW
action=RUN_COMMAND
TWO_FINGERS_DRAG_LEFT.ALL.action=CHANGE_VIEWPORT
TWO_FINGERS_DRAG_DOWN.ALL.settings=SPEED=7
TWO_FINGERS_DRAG_RIGHT.ALL.settings=DIRECTION=NEXT
TWO_FINGERS_TAP.ALL.action=MOUSE_CLICK
TWO_FINGERS_DRAG_UP.ALL.settings=SPEED=8
TWO_FINGERS_DRAG_DOWN.ALL.action=VERTICAL_SCROLL
TWO_FINGERS_DRAG_RIGHT.ALL.action=CHANGE_VIEWPORT
settings="COMMAND="
TWO_FINGERS_TAP.ALL.settings=BUTTON=1
TWO_FINGERS_DRAG_UP.ALL.action=VERTICAL_SCROLL
TWO_FINGERS_DRAG_LEFT.ALL.settings=DIRECTION=NEXT
TWO_FINGERS_PINCH.firefox.action=SEND_KEYS

Original issue reported on code.google.com by pitsel...@gmail.com on 29 Jul 2011 at 1:01

GoogleCodeExporter commented 8 years ago
Hi!

(1)
Try with this configuration:

general_settings.tap_and_hold_time=0

TWO_FINGERS_PINCH.firefox.action=SEND_KEYS
TWO_FINGERS_PINCH.firefox.settings=HOLD_DOWN=Control_L+:PRESS=KP_Add

TWO_FINGERS_DRAG_UP.ALL.action=VERTICAL_SCROLL
TWO_FINGERS_DRAG_UP.ALL.settings=SPEED=8

TWO_FINGERS_DRAG_DOWN.ALL.action=VERTICAL_SCROLL
TWO_FINGERS_DRAG_DOWN.ALL.settings=SPEED=7

TWO_FINGERS_DRAG_LEFT.ALL.action=CHANGE_VIEWPORT
TWO_FINGERS_DRAG_LEFT.ALL.settings=DIRECTION=NEXT

TWO_FINGERS_DRAG_RIGHT.ALL.settings=DIRECTION=NEXT
TWO_FINGERS_DRAG_RIGHT.ALL.action=CHANGE_VIEWPORT

TWO_FINGERS_TAP.ALL.action=MOUSE_CLICK
TWO_FINGERS_TAP.ALL.settings=BUTTON=3

THREE_FINGERS_DRAG_RIGHT.ALL.action=MAXIMIZE_RESTORE_WINDOW

I have been made some changes in your configuration:
- I have changed your "tap&hold time" to 0, because you don't use any tap&hold 
gesture
- I have changed your two fingers tap button to 3 (right click), I think that 
this solve the problem (2)
- I have been deleted some incorrect lines. The GUI of the version 0.3 presents 
some problems. I'm working on it :S

Anyway I recommend you to download the SVN code:
    $ svn checkout http://touchegg.googlecode.com/svn/touchegg/ touchegg-read-only
And follow this instructions to compile it:
    http://code.google.com/p/touchegg/wiki/CompileSourceCode

This code is practically the code that will be available at the version 1.0 of 
Touchégg and introduces many new features like a more intuitive and powerfull 
configuration file, for example this is my own configuration (Check the wiki 
for more info: http://code.google.com/p/touchegg/wiki/AllActions 
http://code.google.com/p/touchegg/wiki/AllGestures)

<touchégg>

    <settings>
        <property name="composed_gestures_time">0</property>
    </settings>

    <application name="All">

        <gesture type="TAP" fingers="2" direction="">
            <action type="MOUSE_CLICK">BUTTON=3</action>
        </gesture>

        <gesture type="TAP" fingers="3" direction="">
            <action type="MOUSE_CLICK">BUTTON=2</action>
        </gesture>

        <gesture type="TAP" fingers="5" direction="">
            <action type="CLOSE_WINDOW"></action>
        </gesture>

        <gesture type="DRAG" fingers="2" direction="ALL">
            <action type="SCROLL">SPEED=7:INVERTED=false</action>
        </gesture>

        <gesture type="DRAG" fingers="3" direction="UP">
            <action type="MAXIMIZE_RESTORE_WINDOW"></action>
        </gesture>

        <gesture type="DRAG" fingers="3" direction="DOWN">
            <action type="MINIMIZE_WINDOW"></action>
        </gesture>

        <gesture type="DRAG" fingers="3" direction="LEFT">
            <action type="MOVE_WINDOW"></action>
        </gesture>

        <gesture type="DRAG" fingers="3" direction="RIGHT">
            <action type="MOVE_WINDOW"></action>
        </gesture>

        <gesture type="DRAG" fingers="4" direction="UP">
            <action type="SEND_KEYS">Super+W</action>
        </gesture>

        <gesture type="DRAG" fingers="4" direction="DOWN">
            <action type="SHOW_DESKTOP"></action>
        </gesture>

        <gesture type="PINCH" fingers="3" direction="ALL">
            <action type="RESIZE_WINDOW"></action>
        </gesture>

        <gesture type="PINCH" fingers="5" direction="ALL">
            <action type="SEND_KEYS">Alt+F1</action>
        </gesture>

    </application>

    <application name="Chromium-browser, Firefox, Okular, Gwenview">

        <gesture type="PINCH" fingers="2" direction="IN">
            <action type="SEND_KEYS">Control+KP_Add</action>
        </gesture>

        <gesture type="PINCH" fingers="2" direction="OUT">
            <action type="SEND_KEYS">Control+KP_Subtract</action>
        </gesture>

        <gesture type="ROTATE" fingers="2" direction="LEFT">
            <action type="SEND_KEYS">Control+L</action>
        </gesture>

        <gesture type="ROTATE" fingers="2" direction="RIGHT">
            <action type="SEND_KEYS">Control+R</action>
        </gesture>

    </application>

    <application name="Chromium-browser, Firefox, Dolphin, Plasma-desktop">

        <gesture type="DRAG" fingers="2" direction="LEFT">
            <action type="SEND_KEYS">Alt+Left</action>
        </gesture>

        <gesture type="DRAG" fingers="2" direction="RIGHT">
            <action type="SEND_KEYS">Alt+Right</action>
        </gesture>

    </application>

</touchégg>

Original comment by jose.exposito89@gmail.com on 29 Jul 2011 at 1:58

GoogleCodeExporter commented 8 years ago
thanx for your quick answer

here is what i did:

i uninstall the previous packages ( main + gui )  from synaptic

i download and compile:
touchegg
touchegg-gui

from your SVN:
qmake / make /make install

load the gui, close it  and then overwrite the default config from yours
but, in the gui, there is no action , and no icons.

am i doing something wrong ?
i know you don't ask me to install the new gui but the old one didn't seem
to handle the XML so i tried to compile your svn one

thanx for your help, your soft roxx

Original comment by pitsel...@gmail.com on 29 Jul 2011 at 4:58

GoogleCodeExporter commented 8 years ago
I'm sorry but the GUI for the moment is not ready, you will need to edit the 
configuration by hand for the moment, I'm working now in the GUI

Anyway, edit the configuration file is very easy, all the documentation is in 
the wiki, and feel free to ask if you have any problem 

Original comment by jose.exposito89@gmail.com on 29 Jul 2011 at 5:24

GoogleCodeExporter commented 8 years ago
i still can't click to tap but the rest is ok !

when i ll finish my tests i ll share the config file ( it s for macbook
air/pro ) and it use the lion gesture.

could you explain me why this didn't work :

also, is there any chance to see the support of the driver xf86-input-mtrack
http://ubuntuforums.org/showthread.php?t=1730361 ? ( evdev didn't work
correctly on mba i think that s why i can tap to click )
i can be you tester if you want

best,

Original comment by pitsel...@gmail.com on 29 Jul 2011 at 6:25

GoogleCodeExporter commented 8 years ago
forgot to past:

could you explain me why this didn't work :
<gesture type="TAP" fingers="1" direction="">
           <action type="MOUSE_CLICK">BUTTON=1</action>
       </gesture>

Original comment by pitsel...@gmail.com on 29 Jul 2011 at 6:29

GoogleCodeExporter commented 8 years ago
Hi

Please, remember that with Ubuntu Natty is NOT neccessary edit any 
configuration file (http://code.google.com/p/touchegg/wiki/ConfigureDevices). 
The synaptics driver has a good support by default.
I use a Magic Trackpad, and I think that the MacBook Air trackpad will be 
similar.

The problem is that the SVN code is not complete right now (I'm waiting for 
this bug in uTouch to complete it 
https://bugs.launchpad.net/utouch-geis/+bug/810637) and by default it does not 
listen to gestures with 1 finger. 
If you can not switch to the synaptics driver (I highly recomend you make this 
change, specially for the tap&hold with one finger to select text) I can upload 
a code for you to use the left click.

Greetings!

Original comment by jose.exposito89@gmail.com on 29 Jul 2011 at 6:48

GoogleCodeExporter commented 8 years ago
hi

since your mail i retried the synaptic driver and it really don't work as
expected on my computer
i can't drag and drop
if i click then use my second finger to drag a file or text, it s like a 2
fingers click ( right click popup menu, very anoying)

so i search for this issue and tried another driver mtrack, here is my conf
file:

Section "InputClass"
        MatchIsTouchpad "on"
        Identifier "Touchpads"
        #Driver "mtrack"
        #Driver "evdev"
        Driver "synaptics"
EndSection

i ll now rollback and i appreciate the patch for 1 tap click

thanx,

Original comment by pitsel...@gmail.com on 1 Aug 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Hi

The tap&hold with synaptics driver only requires one finger. For example to 
select text, you need to make a tap and shortly a drag (both gestures with one 
finger). And remember that you can configure the mouse speed and similar from 
gpoint-device-settings. 

In my opinion synaptics is the best option, anyway, I attach the source with 
suport for one finger click ;)

Original comment by jose.exposito89@gmail.com on 1 Aug 2011 at 12:06

Attachments:

GoogleCodeExporter commented 8 years ago
thanx again and bon courage, 

great soft 

Original comment by pitsel...@gmail.com on 2 Aug 2011 at 8:30

GoogleCodeExporter commented 8 years ago
You are welcome ;) But finally it works for you with the synaptics driver, or 
with the new code? (curiosity)

Original comment by jose.exposito89@gmail.com on 2 Aug 2011 at 8:35

GoogleCodeExporter commented 8 years ago
i finally use the synaptics driver, i really prefer the mtrack one wich works 
better  for me ( still cannot drag and drop the way i want it to be) but not 
with your soft and as i really like your soft i use the synaptics one

i ll notify the mtrack coder about this issue

thanx again for your patience 

Original comment by pitsel...@gmail.com on 2 Aug 2011 at 8:40