News for hackers. Stuff that matters.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by amjith on Sunday October 30, 2016 @04:38PM (#12832110)
Is it possible to map gestures that are not controlled by keyboard shortcuts?

Such as dragging a window using a three finger swipe?

Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by bananasbandanas on Sunday October 30, 2016 @05:24PM (#12832429)
There is libinput-gestures, which allows arbitrary commands to be executed for each gesture. You might be able to get the desired behaviour this way.

https://github.com/bulletmark/libinput-gestures

Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by zaruvi on Monday October 31, 2016 @06:03AM (#12835476)
You could go the alt+space m (window menu -> move) combined with whatever movements you want route if you can't find another way.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by nithinm on Sunday October 30, 2016 @05:54PM (#12832590)
Will this work with Ubuntu 14.04? I have been desperately waiting for multi gesture.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by creshal on Sunday October 30, 2016 @08:13PM (#12833380)
If your xorg log reports libinput being used, yes. Otherwise, no. IIRC 14.04 is too old, 16.04 should work, 16.10 does.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by shmerl on Sunday October 30, 2016 @05:35PM (#12832481)
Why is it mentioning X11 specifically? Libinput should work with Wayland too.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by pritambaral on Sunday October 30, 2016 @06:49PM (#12832961)
Because it also has to simulate keypresses as the result of gestures. I don't think the Wayland world has an official way for non-compositor programs to send keypresses to any surface the program itself owns, in the name of security.

Which is a shame, I do dearly like xdotool etc. There should be a way to satisfy both security and function, a way to whitelist or permit special apps.

Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by eikenberry on Sunday October 30, 2016 @08:34PM (#12833466)
I bet they will fix that somehow with Wayland. Tools like xdotool are pretty popular and if they don't support it officially, someone will come up with a hack around it.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by Elv13 on Sunday October 30, 2016 @11:38PM (#12834151)
> a hack around it.

Nice choice of words here. The whole reason why it isn't supported is to prevent being hacked in the first place. X11 has no security whatsoever. Every window can read/spy/mess with any other.

I guess only window managers / compositors will have enough permission to do this level of automation.

Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by digi_owl on Thursday November 10, 2016 @06:43PM (#12925815)
IIRC, not quite. with X11, every program that shares a root window can see the keypresses etc.

Typically a root windows is the same as a screen, but i don't think there is anything that claim this to be a set in stone rule.

But as is typical of Linux GUI devs, they much rather hack on the new shiny than try to maintain the existing stuff. And the new shiny these days is to put everything on the GPU.

Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by shmerl on Sunday October 30, 2016 @11:55PM (#12834198)
I suppose if this will be routed through the compositor, then it can provide needed security control.
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by compuguy on Sunday October 30, 2016 @05:40PM (#12832500)
How is this compared to touchegg?
Re:Fusuma: Multitouch gestures with libinput dirver on X11, ... by pmontra on Monday October 31, 2016 @04:19AM (#12834979)
fusuma works on Ubuntu 16.04 (I tried) and touchegg apparently doesn't

https://github.com/JoseExposito/touchegg/issues/280

https://github.com/JoseExposito/touchegg/issues/281

fusuma is configured with a text file and touchegg seems to have a GUI.

fusuma autoinstalls, but you must have Ruby (which should be there on every Ubuntu). touchegg must be compiled and the installation sequence failed for me, but as I wrote, it seems it won't work anyway on 16.04.

If you're a Ruby developer using rvm or the like, you must remember which Ruby version you installed fusuma into, or tweak its startup script to load the right one.