Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on libinput #281

Closed
himanshub16 opened this issue Sep 26, 2016 · 15 comments
Closed

Does not work on libinput #281

himanshub16 opened this issue Sep 26, 2016 · 15 comments

Comments

@himanshub16
Copy link

libinput is the one I found controlling the touchpad on GNOME 3.20 and Elementary OS Loki, where I was not able to use touchegg.
Any workaround?

@JoseExposito
Copy link
Owner

I'm afraid there is not any possible workaround for this.

libinput is an absolute different backend in terms of multitouch input and the library Touchégg is using at the moment (uTouch) does not support this backend.
The only possible fix is to re-write Touchégg to support libinput, what it is actually something I'm considering.

@himanshub16
Copy link
Author

I gave a try on "libinput-debug-events" (available from package libinput-tools) on a Macbook Air 15 with Elementary OS Loki. It seems like libinput properly recognizes touchpad events like "pinch" and "flick" with three and four fingers. The desktop environment is not made to listen and act to such events.

@capstan1
Copy link

After trying to get touchegg to work on elementary OS Loki today I came to the same conclusion.
Was very happy with touchegg on Unity and don't want to miss it.

Is there any possbile solution for now? Can we use synaptic in eOS?

Thank you for this great software!

@himanshub16
Copy link
Author

Yes. I don't remember precisely, but you can can give it a try. It's one of the "safest experiments" to carry out on any Linux machine. You should give it a try, and share your results. I've switched to Unity.

sudo apt remove xserver-xorg-input-libinput
sudo apt install xserver-xorg-input-synaptics 

@capstan1
Copy link

capstan1 commented Oct 26, 2016

I can confirm that the solution given by himanshub16 works! Now I can make use of touchegg!
Thank you very much!

There is just one issue I have (maybe someone has an idea here)
I put workspace changing on 3 fingers swipe to left right via he corresponding shortcuts of elementary OS (Super+right/left).
This is only working if there is an window on the current workspace. If it's empty nothing happens. The keyboard shortcut itself does work on empty workspaces nevertheless.

the correspnding parts of my touchegg.conf

 <gesture type="DRAG" fingers="3" direction="RIGHT">
            <action type="SEND_KEYS">Super+Right</action>
        </gesture>
        <gesture type="DRAG" fingers="3" direction="LEFT">
        <action type="SEND_KEYS">Super+Left</action>
        </gesture>

Any idea how to change this behavior?

@himanshub16
Copy link
Author

Try doing the same with keyboard shortcuts when there are no windows on current workspace. Perhaps, Elementary does not create workspaces on the right if there are no windows on the current workspace. However, you can do by opening the multi-tasking view from the dock, and clicking on +. This is unlike Ubuntu, which has a certain number of workspaces in advance.
Check it out once.

@capstan1
Copy link

capstan1 commented Oct 27, 2016

it wasn't a problem with the workspace handling itself (shortcuts were always working) but with elementary OS not drwaing the Desktop (no icons)

I had to put "nautilus -n" in startup applications, so now touchegg works just perfect! :)

@himanshub16
Copy link
Author

Glad to hear.

@meijieru
Copy link

meijieru commented Dec 5, 2016

I have tested touchegg on my yoga 900, it seems to work for my touchscreen (apart pinch), but when I do the same on my touchpad, the touchegg does not responce at all. I am working with xf86-input-libinput on manjaro with plasma5

@rickmed
Copy link

rickmed commented Dec 28, 2016

I'm having the same problem as @meijieru (did you fix it?). Xubuntu 16.04 -xserver-xorg-input-synaptics .

@meijieru
Copy link

Not yet @rickmed

@himanshub16
Copy link
Author

@JoseExposito Hey, I stepped onto this today.

@uvisgrinfelds
Copy link

@himanshub16 Thanks, man. Everything works perfectly as expected - the installation and configuration were easy as one-two-three. I was already given up on multitouch for a while, cannot believe it`s back! :)

@shacharoz
Copy link

shacharoz commented Aug 17, 2019

hey guys, is it reasonable that when i had lubuntu i managed to run touchegg with touchscreen by waveshare, but now in ubuntu 18,04 i cant?
i now have libinput driver installed, but when i try to switch for synaptic, like suggested, after i sign in my user details, all input devices stop responding (no way to control the pc and i have to do hard reset). so i reinstalled evdev to talk to you now.
any ideas how to install synaptic in a good way?

@JoseExposito
Copy link
Owner

Hi all!

I'm working on support for libinput at the moment: #334

I'll be updating that issue (and my Twitter account) with the progress of the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants