iberianpig / xSwipe

Multitouch gestures with synaptics driver on X11, Linux
451 stars 56 forks source link

Super + W bug on Ubuntu 14.04 #38

Open axtux opened 8 years ago

axtux commented 8 years ago

Hello,

First, I would like to thank the developers of this script. It is so good to be able to do what you want with your fingers. I don't even understand why this is not yet included as part of Ubuntu.

Configuration

SUPER + W as shortcut for 3-fingers swipe UP and DOWN on Ubuntu 14.04 (with Unity)

Step to reproduce

Swipe up and down with 3 fingers

Expected result

Spreads all windows in the current workspace swiping UP, and get back to your current window when swiping DOWN (this is SUPER + W behaviour)

Actual result

The result is correct except that after swiping DOWN, ubuntu search is opening and I don't know why

Details

{
'ubuntu'=>{
    swipe2 =>{
        press   =>  "default",
    },
    swipe3 =>{
        right   =>  "LCT/LSH/TAB",   # ctrl + shift + tab, previous tab
        left    =>  "LCT/TAB",       # ctrl + tab, next tab
        down    =>  "LSK/w",         # super + w, show/hide all windows
        up      =>  "LSK/w",         # super + w, show/hide all windows
        press   =>  "default",
    },
    swipe4=>{
        right   =>  "LCT/LAL/LEF",   # ctrl + alt +  left, previous workspace
        left    =>  "LCT/LAL/RIG",   # ctrl + alt +  right, next workspace
        down    =>  "LSK/s",         # super + s, show/hide workspaces
        up      =>  "LSK/s",         # super + s, show/hide workspaces
        press   =>  "default",       # no choice with Unity
    },
},

Launch

$ perl xSwipe.pl -n
Smartmatch is experimental at xSwipe.pl line 121.

### $ARGV: '-n'

### init_synclient

### @area_setting: [
###                  '    LeftEdge                = 131
',
###                  '    RightEdge               = 3145
',
###                  '    TopEdge                 = 101
',
###                  '    BottomEdge              = 1771
'
###                ]
### $touchpad_size_h: 1670
### $touchpad_size_w: 3014
### $x_min_thredshould: '301.4'
### $y_min_thredshould: 167
### $inner_edge_left: '231.466666666667'
### $inner_edge_right: '3044.53333333333'
### $inner_edge_top: 268
### $inner_edge_bottom: 1604

### $session_name: 'ubuntu'

swipe UP + swipe DOWN

### $touch_pad_off: '0'

### init_synclient

### ne default

### $time - $event_time got: '17.722'

### @event_string: [
###                  'LSK',
###                  'w'
###                ]

### ne default

### $touch_pad_off: '0'

### ne default

### $time - $event_time got: '1.23099999999999'

### @event_string: [
###                  'LSK',
###                  'w'
###                ]

### $touch_pad_off: '0'

If you need additionnal information, feel free to ask.

mattecapu commented 8 years ago

I'm having the same problem :(

gavinfernandes2012 commented 8 years ago

It might something to do with the with the way the super key isn't sent at the same time as the other keys, or something similar. I resolved the issue by using unity tweak tool to change the keyboard shortcut, and then used that in the eventKey.cfg Don't change it to an assigned shortcut for another function