Ubuntu 16.04 multitouch gestures
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
24
down vote
favorite
Is it possible to make multitouch gestures on Ubuntu Xenial Xerus? For example with TouchEgg? I tried already but without success.
16.04 multi-touch touchscreen
add a comment |Â
up vote
24
down vote
favorite
Is it possible to make multitouch gestures on Ubuntu Xenial Xerus? For example with TouchEgg? I tried already but without success.
16.04 multi-touch touchscreen
3
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27
add a comment |Â
up vote
24
down vote
favorite
up vote
24
down vote
favorite
Is it possible to make multitouch gestures on Ubuntu Xenial Xerus? For example with TouchEgg? I tried already but without success.
16.04 multi-touch touchscreen
Is it possible to make multitouch gestures on Ubuntu Xenial Xerus? For example with TouchEgg? I tried already but without success.
16.04 multi-touch touchscreen
edited Jun 21 '16 at 22:30
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
ubashu
2,23221736
2,23221736
asked Jun 21 '16 at 21:03
OBrian23
121113
121113
3
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27
add a comment |Â
3
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27
3
3
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27
add a comment |Â
4 Answers
4
active
oldest
votes
up vote
24
down vote
I never succeeded in making it work with touchegg
. But there is an easy way to achieve it with another tool. Here are the steps:
At first download, compile libinput-gestures
and install from git repository:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
Make sure libinput-tools
and xdotool
are installed:
sudo apt install libinput-tools xdotool
Make sure current user is in the input group to have permission to read the touchpad device:
sudo gpasswd -a $USER input # Log out and back in to assign this group
Start libinput-gestures
on every start up:
libinput-gestures-setup autostart
Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.
cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf
Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures
Don't forget to logout then login to see the changes taking effect.
Thank you so much! I tried everything I could find, and neither didxserver-xorg-input-mtrack
, nortouchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.
â Isti115
May 24 '17 at 9:26
2
ps.: I recommend checking the output oflibinput-gestures-setup start
in case of problems for others! It gives helpful error messages.
â Isti115
May 24 '17 at 9:33
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and runlibinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.
â Michael
Jun 20 at 23:11
 |Â
show 1 more comment
up vote
3
down vote
I wanted to add this because after 10 hours I've finally figured it out. First, I think it's important to distinguish whether you want touch on a touchpad or a touchscreen. This is important. For my case, I needed pinch on a wacom touchscreen. See the following link:
http://linuxwacom.sourceforge.net/wiki/index.php/Multitouch
I was able to get touch working by disabling the xinput 2FGT gestures and letting gestures bubble to the xserver.
xsetwacom list
xsetwacom set (id here) Gesture off
Miraculously, I can now do pinch-zoom!
add a comment |Â
up vote
3
down vote
libinput-gestures works for my xps15 on ubuntu 16.04.
And I would like to share my configure commands.
gesture swipe up 3 xdotool key ctrl+alt+Up
gesture swipe down 3 xdotool key ctrl+alt+Down
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
gesture swipe up 4 xdotool key super+w
gesture swipe down 4 xdotool key ctrl+super+d
add a comment |Â
up vote
1
down vote
Yes.
Firstly you'd wanna check if your touchpad supports multitouch.
As written here How can I test to see if my touchpad is supports more than 2 finger gestures?
sudo apt-get update
sudo apt-get install geis-tools
geisview
In the new window, go under DeviceAdded: (Probably the last option) and check device touches: . finger_number will tell you the number of multi-touch fingers your touchpad supports.
Next, install touchegg:
sudo apt install touchegg
Next, go to your home directory.
create a file: .xprofile
with the following content :
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
Now restart your computer.
When you login, you should have multitouch support from touchegg.
You can configure the file and modify the gestures in
~/.config/touchegg/touchegg.conf
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)sudo apt install touchegg
.
â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
add a comment |Â
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
24
down vote
I never succeeded in making it work with touchegg
. But there is an easy way to achieve it with another tool. Here are the steps:
At first download, compile libinput-gestures
and install from git repository:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
Make sure libinput-tools
and xdotool
are installed:
sudo apt install libinput-tools xdotool
Make sure current user is in the input group to have permission to read the touchpad device:
sudo gpasswd -a $USER input # Log out and back in to assign this group
Start libinput-gestures
on every start up:
libinput-gestures-setup autostart
Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.
cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf
Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures
Don't forget to logout then login to see the changes taking effect.
Thank you so much! I tried everything I could find, and neither didxserver-xorg-input-mtrack
, nortouchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.
â Isti115
May 24 '17 at 9:26
2
ps.: I recommend checking the output oflibinput-gestures-setup start
in case of problems for others! It gives helpful error messages.
â Isti115
May 24 '17 at 9:33
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and runlibinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.
â Michael
Jun 20 at 23:11
 |Â
show 1 more comment
up vote
24
down vote
I never succeeded in making it work with touchegg
. But there is an easy way to achieve it with another tool. Here are the steps:
At first download, compile libinput-gestures
and install from git repository:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
Make sure libinput-tools
and xdotool
are installed:
sudo apt install libinput-tools xdotool
Make sure current user is in the input group to have permission to read the touchpad device:
sudo gpasswd -a $USER input # Log out and back in to assign this group
Start libinput-gestures
on every start up:
libinput-gestures-setup autostart
Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.
cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf
Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures
Don't forget to logout then login to see the changes taking effect.
Thank you so much! I tried everything I could find, and neither didxserver-xorg-input-mtrack
, nortouchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.
â Isti115
May 24 '17 at 9:26
2
ps.: I recommend checking the output oflibinput-gestures-setup start
in case of problems for others! It gives helpful error messages.
â Isti115
May 24 '17 at 9:33
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and runlibinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.
â Michael
Jun 20 at 23:11
 |Â
show 1 more comment
up vote
24
down vote
up vote
24
down vote
I never succeeded in making it work with touchegg
. But there is an easy way to achieve it with another tool. Here are the steps:
At first download, compile libinput-gestures
and install from git repository:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
Make sure libinput-tools
and xdotool
are installed:
sudo apt install libinput-tools xdotool
Make sure current user is in the input group to have permission to read the touchpad device:
sudo gpasswd -a $USER input # Log out and back in to assign this group
Start libinput-gestures
on every start up:
libinput-gestures-setup autostart
Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.
cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf
Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures
Don't forget to logout then login to see the changes taking effect.
I never succeeded in making it work with touchegg
. But there is an easy way to achieve it with another tool. Here are the steps:
At first download, compile libinput-gestures
and install from git repository:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
Make sure libinput-tools
and xdotool
are installed:
sudo apt install libinput-tools xdotool
Make sure current user is in the input group to have permission to read the touchpad device:
sudo gpasswd -a $USER input # Log out and back in to assign this group
Start libinput-gestures
on every start up:
libinput-gestures-setup autostart
Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.
cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf
Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures
Don't forget to logout then login to see the changes taking effect.
edited Jun 17 '17 at 4:05
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
47.8k13116226
47.8k13116226
answered Oct 14 '16 at 22:31
user5950
2,21063059
2,21063059
Thank you so much! I tried everything I could find, and neither didxserver-xorg-input-mtrack
, nortouchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.
â Isti115
May 24 '17 at 9:26
2
ps.: I recommend checking the output oflibinput-gestures-setup start
in case of problems for others! It gives helpful error messages.
â Isti115
May 24 '17 at 9:33
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and runlibinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.
â Michael
Jun 20 at 23:11
 |Â
show 1 more comment
Thank you so much! I tried everything I could find, and neither didxserver-xorg-input-mtrack
, nortouchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.
â Isti115
May 24 '17 at 9:26
2
ps.: I recommend checking the output oflibinput-gestures-setup start
in case of problems for others! It gives helpful error messages.
â Isti115
May 24 '17 at 9:33
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and runlibinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.
â Michael
Jun 20 at 23:11
Thank you so much! I tried everything I could find, and neither did
xserver-xorg-input-mtrack
, nor touchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.â Isti115
May 24 '17 at 9:26
Thank you so much! I tried everything I could find, and neither did
xserver-xorg-input-mtrack
, nor touchegg
work, but finally now it's perfect with your solution! :) I even get to keep the built in smooth scrolling of the Synaptics driver. (The device is a 2011 MacBook Pro with a fried graphics chip.) Just one thing that I'd like to add is that for some reason logging out and back in wasn't enough for me to grant the group read permission, it only started working after a complete reboot.â Isti115
May 24 '17 at 9:26
2
2
ps.: I recommend checking the output of
libinput-gestures-setup start
in case of problems for others! It gives helpful error messages.â Isti115
May 24 '17 at 9:33
ps.: I recommend checking the output of
libinput-gestures-setup start
in case of problems for others! It gives helpful error messages.â Isti115
May 24 '17 at 9:33
3
3
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
Keep in mind that adding the user to the input group weakens security-- it means that user level processes have raw access to input, including all mouse and keyboard input. So a script without root could easily do system-wide keylogging. An abstraction layer would probably be good here-- something that runs as root and reads from /dev/input/*, and exposes some device that users can read that gives off touchpad events.
â Nathan
Nov 21 '17 at 15:40
1
1
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
@Nathan maybe you should file a bug report here: github.com/bulletmark/libinput-gestures
â user5950
Nov 21 '17 at 21:05
Instead of logging out everytime, you can just pop open another terminal and run
libinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.â Michael
Jun 20 at 23:11
Instead of logging out everytime, you can just pop open another terminal and run
libinput-gestures-setup restart
. I recommend in another terminal so you don't have to exit your text editor every time.â Michael
Jun 20 at 23:11
 |Â
show 1 more comment
up vote
3
down vote
I wanted to add this because after 10 hours I've finally figured it out. First, I think it's important to distinguish whether you want touch on a touchpad or a touchscreen. This is important. For my case, I needed pinch on a wacom touchscreen. See the following link:
http://linuxwacom.sourceforge.net/wiki/index.php/Multitouch
I was able to get touch working by disabling the xinput 2FGT gestures and letting gestures bubble to the xserver.
xsetwacom list
xsetwacom set (id here) Gesture off
Miraculously, I can now do pinch-zoom!
add a comment |Â
up vote
3
down vote
I wanted to add this because after 10 hours I've finally figured it out. First, I think it's important to distinguish whether you want touch on a touchpad or a touchscreen. This is important. For my case, I needed pinch on a wacom touchscreen. See the following link:
http://linuxwacom.sourceforge.net/wiki/index.php/Multitouch
I was able to get touch working by disabling the xinput 2FGT gestures and letting gestures bubble to the xserver.
xsetwacom list
xsetwacom set (id here) Gesture off
Miraculously, I can now do pinch-zoom!
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I wanted to add this because after 10 hours I've finally figured it out. First, I think it's important to distinguish whether you want touch on a touchpad or a touchscreen. This is important. For my case, I needed pinch on a wacom touchscreen. See the following link:
http://linuxwacom.sourceforge.net/wiki/index.php/Multitouch
I was able to get touch working by disabling the xinput 2FGT gestures and letting gestures bubble to the xserver.
xsetwacom list
xsetwacom set (id here) Gesture off
Miraculously, I can now do pinch-zoom!
I wanted to add this because after 10 hours I've finally figured it out. First, I think it's important to distinguish whether you want touch on a touchpad or a touchscreen. This is important. For my case, I needed pinch on a wacom touchscreen. See the following link:
http://linuxwacom.sourceforge.net/wiki/index.php/Multitouch
I was able to get touch working by disabling the xinput 2FGT gestures and letting gestures bubble to the xserver.
xsetwacom list
xsetwacom set (id here) Gesture off
Miraculously, I can now do pinch-zoom!
answered Aug 1 '17 at 15:33
wayofthefuture
2,146169
2,146169
add a comment |Â
add a comment |Â
up vote
3
down vote
libinput-gestures works for my xps15 on ubuntu 16.04.
And I would like to share my configure commands.
gesture swipe up 3 xdotool key ctrl+alt+Up
gesture swipe down 3 xdotool key ctrl+alt+Down
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
gesture swipe up 4 xdotool key super+w
gesture swipe down 4 xdotool key ctrl+super+d
add a comment |Â
up vote
3
down vote
libinput-gestures works for my xps15 on ubuntu 16.04.
And I would like to share my configure commands.
gesture swipe up 3 xdotool key ctrl+alt+Up
gesture swipe down 3 xdotool key ctrl+alt+Down
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
gesture swipe up 4 xdotool key super+w
gesture swipe down 4 xdotool key ctrl+super+d
add a comment |Â
up vote
3
down vote
up vote
3
down vote
libinput-gestures works for my xps15 on ubuntu 16.04.
And I would like to share my configure commands.
gesture swipe up 3 xdotool key ctrl+alt+Up
gesture swipe down 3 xdotool key ctrl+alt+Down
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
gesture swipe up 4 xdotool key super+w
gesture swipe down 4 xdotool key ctrl+super+d
libinput-gestures works for my xps15 on ubuntu 16.04.
And I would like to share my configure commands.
gesture swipe up 3 xdotool key ctrl+alt+Up
gesture swipe down 3 xdotool key ctrl+alt+Down
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
gesture swipe up 4 xdotool key super+w
gesture swipe down 4 xdotool key ctrl+super+d
edited Jan 21 at 21:43
user68186
14.1k84360
14.1k84360
answered Jan 21 at 20:56
Jay
313
313
add a comment |Â
add a comment |Â
up vote
1
down vote
Yes.
Firstly you'd wanna check if your touchpad supports multitouch.
As written here How can I test to see if my touchpad is supports more than 2 finger gestures?
sudo apt-get update
sudo apt-get install geis-tools
geisview
In the new window, go under DeviceAdded: (Probably the last option) and check device touches: . finger_number will tell you the number of multi-touch fingers your touchpad supports.
Next, install touchegg:
sudo apt install touchegg
Next, go to your home directory.
create a file: .xprofile
with the following content :
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
Now restart your computer.
When you login, you should have multitouch support from touchegg.
You can configure the file and modify the gestures in
~/.config/touchegg/touchegg.conf
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)sudo apt install touchegg
.
â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
add a comment |Â
up vote
1
down vote
Yes.
Firstly you'd wanna check if your touchpad supports multitouch.
As written here How can I test to see if my touchpad is supports more than 2 finger gestures?
sudo apt-get update
sudo apt-get install geis-tools
geisview
In the new window, go under DeviceAdded: (Probably the last option) and check device touches: . finger_number will tell you the number of multi-touch fingers your touchpad supports.
Next, install touchegg:
sudo apt install touchegg
Next, go to your home directory.
create a file: .xprofile
with the following content :
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
Now restart your computer.
When you login, you should have multitouch support from touchegg.
You can configure the file and modify the gestures in
~/.config/touchegg/touchegg.conf
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)sudo apt install touchegg
.
â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Yes.
Firstly you'd wanna check if your touchpad supports multitouch.
As written here How can I test to see if my touchpad is supports more than 2 finger gestures?
sudo apt-get update
sudo apt-get install geis-tools
geisview
In the new window, go under DeviceAdded: (Probably the last option) and check device touches: . finger_number will tell you the number of multi-touch fingers your touchpad supports.
Next, install touchegg:
sudo apt install touchegg
Next, go to your home directory.
create a file: .xprofile
with the following content :
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
Now restart your computer.
When you login, you should have multitouch support from touchegg.
You can configure the file and modify the gestures in
~/.config/touchegg/touchegg.conf
Yes.
Firstly you'd wanna check if your touchpad supports multitouch.
As written here How can I test to see if my touchpad is supports more than 2 finger gestures?
sudo apt-get update
sudo apt-get install geis-tools
geisview
In the new window, go under DeviceAdded: (Probably the last option) and check device touches: . finger_number will tell you the number of multi-touch fingers your touchpad supports.
Next, install touchegg:
sudo apt install touchegg
Next, go to your home directory.
create a file: .xprofile
with the following content :
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
Now restart your computer.
When you login, you should have multitouch support from touchegg.
You can configure the file and modify the gestures in
~/.config/touchegg/touchegg.conf
edited Apr 13 '17 at 12:24
Communityâ¦
1
1
answered Jul 24 '16 at 1:51
Sam
79118
79118
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)sudo apt install touchegg
.
â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
add a comment |Â
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)sudo apt install touchegg
.
â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
1
1
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)
sudo apt install touchegg
.â verpfeilt
Jul 29 '16 at 16:45
Did not test the whole answer yet, but I see on my system that touchegg is not installed by default, it seems. You may add the information to install it with (I guess)
sudo apt install touchegg
.â verpfeilt
Jul 29 '16 at 16:45
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
Does not work for me. Still figuring out what could be wrong. Maybe I need to disable something in the xinput properties? I have a touch screen and a touch pad on my notebook, is this a problem for using touchegg? Can I specifically give touchegg a device?
â verpfeilt
Jul 31 '16 at 14:48
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
So, I think the touchpad and touchscreen would almost certainly create some trouble. because as far as i know, they tend to draw their config from similar places. I'm not sure though..!
â Sam
Jul 31 '16 at 21:05
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
Tip for everyone: Using touchegg and xdotool I created github.com/Munawwar/ubuntu-touchpad-gestures. I have a sample touchegg.conf there
â Munawwar
Jul 16 '17 at 6:09
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f789915%2fubuntu-16-04-multitouch-gestures%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
In answers below, you see bifurcation between answers intended for users of the synaptics touchpad driver and the libinput touchpad driver. Before you follow them, figure out which driver you are using. They are entirely different setups, different config. On way to tell if you have synaptics, run " synclient -l" in a terminal. You know you are probably using libinput if you see this (which I do): "Couldn't find synaptics properties. No synaptics driver loaded?" But it if spews out settings like the touchegg answer below, you know you are in the synaptics category.
â pauljohn32
Oct 26 '16 at 1:27