Touchpad gestures to change workspaceHow to tie a 3 finger swipe to switch workspaces?Are there other gestures for the Synaptics Touchpad besides two-finger scrolling?Three fingers swipe and page back and forth in browser on Ubuntu 13.04How to configure my touchpad to switch between workspaces with a swipeThree finger swipe to change workspacesSwipe to workspaces Mac osx likeTouchpad gestures to change workspace on KDE PlasmaCustom Touchpad gestureLaptop touchpad triggering 3-finger gestures randomlyMultitouch Trackpad Gestures Dell XPS 15How to disable three finger gestures on touchpad?Touchpad cursor inertiaenable all touchpad functionshow to disble or make convenient workspaces in 12.04?Logitech t650 wireless touchpad gesturesmove window a workspace downtouchegg trackpad gestures stopped working after upgrading to 17.04Touchpad sensitivity problem

How to generate globally unique ids for different tables of the same database?

Be in awe of my brilliance!

Good allowance savings plan?

How do I hide Chekhov's Gun?

Can elves maintain concentration in a trance?

How could a female member of a species produce eggs unto death?

What is this large pipe coming out of my roof?

Is a lawful good "antagonist" effective?

Happy pi day, everyone!

My adviser wants to be the first author

What are some nice/clever ways to introduce the tonic's dominant seventh chord?

Theorems like the Lovász Local Lemma?

Have researchers managed to "reverse time"? If so, what does that mean for physics?

Humanity loses the vast majority of its technology, information, and population in the year 2122. How long does it take to rebuild itself?

Can anyone tell me why this program fails?

Why are there 40 737 Max planes in flight when they have been grounded as not airworthy?

Employee lack of ownership

What does it mean to make a bootable LiveUSB?

Making a sword in the stone, in a medieval world without magic

Is it possible that AIC = BIC?

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

What has been your most complicated TikZ drawing?

How to simplify this time periods definition interface?

Ban on all campaign finance?



Touchpad gestures to change workspace


How to tie a 3 finger swipe to switch workspaces?Are there other gestures for the Synaptics Touchpad besides two-finger scrolling?Three fingers swipe and page back and forth in browser on Ubuntu 13.04How to configure my touchpad to switch between workspaces with a swipeThree finger swipe to change workspacesSwipe to workspaces Mac osx likeTouchpad gestures to change workspace on KDE PlasmaCustom Touchpad gestureLaptop touchpad triggering 3-finger gestures randomlyMultitouch Trackpad Gestures Dell XPS 15How to disable three finger gestures on touchpad?Touchpad cursor inertiaenable all touchpad functionshow to disble or make convenient workspaces in 12.04?Logitech t650 wireless touchpad gesturesmove window a workspace downtouchegg trackpad gestures stopped working after upgrading to 17.04Touchpad sensitivity problem













53















I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?










share|improve this question



















  • 1





    I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

    – JamesG
    Mar 29 '12 at 10:29











  • github.com/arunhedcet/mac-gestures

    – tkay
    Jan 18 '16 at 14:05















53















I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?










share|improve this question



















  • 1





    I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

    – JamesG
    Mar 29 '12 at 10:29











  • github.com/arunhedcet/mac-gestures

    – tkay
    Jan 18 '16 at 14:05













53












53








53


9






I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?










share|improve this question
















I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?







touchpad workspaces gestures






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 18 mins ago









Kevin Bowen

14.6k155970




14.6k155970










asked Jan 2 '12 at 11:17









superbriggssuperbriggs

6422614




6422614







  • 1





    I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

    – JamesG
    Mar 29 '12 at 10:29











  • github.com/arunhedcet/mac-gestures

    – tkay
    Jan 18 '16 at 14:05












  • 1





    I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

    – JamesG
    Mar 29 '12 at 10:29











  • github.com/arunhedcet/mac-gestures

    – tkay
    Jan 18 '16 at 14:05







1




1





I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

– JamesG
Mar 29 '12 at 10:29





I can't personally vouch for whether this method works, but there is a program called EasyStroke that may do what you're looking for. See here for setup instructions.

– JamesG
Mar 29 '12 at 10:29













github.com/arunhedcet/mac-gestures

– tkay
Jan 18 '16 at 14:05





github.com/arunhedcet/mac-gestures

– tkay
Jan 18 '16 at 14:05










7 Answers
7






active

oldest

votes


















10














Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).



One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.



control panel



If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.



There is a debugging page here:



https://wiki.ubuntu.com/DebuggingTouchpadDetection



Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.



An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad



Consider easystroke



You can also take a look at "easystroke"



http://sourceforge.net/apps/trac/easystroke/wiki



Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA






share|improve this answer




















  • 2





    I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

    – grant
    Jun 9 '14 at 12:57






  • 1





    is there a solution for Ubuntu 16.04??

    – Ivan Aracki
    Aug 31 '16 at 12:19


















25














How to change workspaces using touchpad gestures in ubuntu



Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.



In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.




  1. Download Touchegg:



    sudo apt install touchegg



  2. run it, but kill just after that, it will create a file



    ~/.config/touchegg/touchegg.conf



  3. open it in an editor you desire and add those three lines below into the name="All" section



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



  4. Run touchegg to try it out



    touchegg &


  5. Edit the config file as you wish and then add touchegg to the list of startup applications


The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!






share|improve this answer

























  • Gestures are not recognized on my computer :(

    – Jonah
    Jan 16 '14 at 3:34






  • 2





    This is not working on Ubuntu 15.04

    – Lucio
    Oct 1 '15 at 0:17






  • 4





    Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

    – Scaine
    Feb 24 '16 at 18:56











  • It's working fine :D with elementary OS

    – Akbar Sha Ebrahim
    Apr 28 '16 at 10:58






  • 3





    is there a solution for Ubuntu 16.04??

    – Ivan Aracki
    Aug 31 '16 at 12:19


















15














Comfortable Swipe



Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.



This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.






share|improve this answer




















  • 1





    works with Ubuntu 18.04 LTS

    – Nitsan Baleli
    May 6 '18 at 19:26











  • Works smoothly with Kubuntu 18.04 LTS

    – subtleseeker
    Oct 16 '18 at 7:47






  • 2





    For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

    – Alex Leidwein
    Oct 21 '18 at 22:27











  • It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

    – wranvaud
    Feb 16 at 10:14











  • Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

    – maxime1992
    Mar 9 at 23:10


















9














The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):



sudo gpasswd -a $USER input
sudo apt-get install xdotool wmctrl libinput-tools
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo ./libinput-gestures-setup install


Restart your computer after the above steps. My ~/.config/libinput-gestures.conf is:



gesture swipe down xdotool key ctrl+alt+Up
gesture swipe up xdotool key ctrl+alt+Down
gesture swipe right xdotool key ctrl+alt+Left
gesture swipe left xdotool key ctrl+alt+Right





share|improve this answer























  • Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

    – lswim
    Dec 10 '17 at 23:14











  • This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

    – Andrew Crouthamel
    Feb 6 '18 at 19:53











  • not working on an Acer with Ubuntu 16.04

    – Gerard Cuadras
    Aug 9 '18 at 13:05


















1














This was my solution: 4 fingers and natural direction.



 <gesture type="DRAG" fingers="4" direction="RIGHT">
<action type="SEND_KEYS">Control+Alt+Right</action>
</gesture>
<gesture type="DRAG" fingers="4" direction="LEFT">
<action type="SEND_KEYS">Control+Alt+Left</action>
</gesture>





share|improve this answer


















  • 2





    What program does one need for this?

    – g3mini
    Jun 2 '16 at 15:21











  • @g3mini touchegg, as tsusanka suggested

    – Andrii Abramov
    Oct 21 '16 at 20:47











  • Thanks =) When I asked his/her answer wasn't there yet =D

    – g3mini
    Oct 22 '16 at 19:47


















0














I used the synaptics driver with xdotool to do that...



For speed of my macbook touchpad:



sudo nano /usr/share/X11/xorg.conf.d/70-synaptics.conf
# Touchpad Speedup
Option "AccelFactor" "0.025"
Option "MinSpeed" "0.80"
Option "MaxSpeed" "0.95"
Option "FingerHigh" "55"
Option "FingerLow" "45"


For 3 fingers gesture change workspace:



sudo nano ~/.config/libinput-gestures.conf
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





share|improve this answer






























    0














    Like already mentioned:



    sudo gpasswd -a $USER input
    sudo apt-get install xdotool wmctrl libinput-tools
    git clone http://github.com/bulletmark/libinput-gestures
    cd libinput-gestures
    sudo ./libinput-gestures-setup install


    But you have to go to:



    cd ~/libinput-gestures


    and edit the created libinput-gestures.conf:



    gedit libinput-gestures.conf


    And then make safe the following is set correctly:



    gesture swipe down xdotool key ctrl+alt+Up
    gesture swipe up xdotool key ctrl+alt+Down
    gesture swipe right xdotool key ctrl+alt+Left
    gesture swipe left xdotool key ctrl+alt+Right



    Remember: You have to set the key combinations in the Ubuntu settings to the ones shown above - these should be the default.







    share|improve this answer
























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f92169%2ftouchpad-gestures-to-change-workspace%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      7 Answers
      7






      active

      oldest

      votes








      7 Answers
      7






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      10














      Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).



      One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.



      control panel



      If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.



      There is a debugging page here:



      https://wiki.ubuntu.com/DebuggingTouchpadDetection



      Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.



      An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad



      Consider easystroke



      You can also take a look at "easystroke"



      http://sourceforge.net/apps/trac/easystroke/wiki



      Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA






      share|improve this answer




















      • 2





        I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

        – grant
        Jun 9 '14 at 12:57






      • 1





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19















      10














      Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).



      One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.



      control panel



      If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.



      There is a debugging page here:



      https://wiki.ubuntu.com/DebuggingTouchpadDetection



      Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.



      An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad



      Consider easystroke



      You can also take a look at "easystroke"



      http://sourceforge.net/apps/trac/easystroke/wiki



      Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA






      share|improve this answer




















      • 2





        I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

        – grant
        Jun 9 '14 at 12:57






      • 1





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19













      10












      10








      10







      Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).



      One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.



      control panel



      If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.



      There is a debugging page here:



      https://wiki.ubuntu.com/DebuggingTouchpadDetection



      Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.



      An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad



      Consider easystroke



      You can also take a look at "easystroke"



      http://sourceforge.net/apps/trac/easystroke/wiki



      Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA






      share|improve this answer















      Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).



      One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.



      control panel



      If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.



      There is a debugging page here:



      https://wiki.ubuntu.com/DebuggingTouchpadDetection



      Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.



      An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad



      Consider easystroke



      You can also take a look at "easystroke"



      http://sourceforge.net/apps/trac/easystroke/wiki



      Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 31 '12 at 12:54

























      answered Mar 31 '12 at 12:30









      PantherPanther

      79.6k14158259




      79.6k14158259







      • 2





        I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

        – grant
        Jun 9 '14 at 12:57






      • 1





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19












      • 2





        I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

        – grant
        Jun 9 '14 at 12:57






      • 1





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19







      2




      2





      I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

      – grant
      Jun 9 '14 at 12:57





      I don't see the horizontal scrolling option on Ubuntu 14.04. Does this have to do with my hardware config?

      – grant
      Jun 9 '14 at 12:57




      1




      1





      is there a solution for Ubuntu 16.04??

      – Ivan Aracki
      Aug 31 '16 at 12:19





      is there a solution for Ubuntu 16.04??

      – Ivan Aracki
      Aug 31 '16 at 12:19













      25














      How to change workspaces using touchpad gestures in ubuntu



      Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.



      In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.




      1. Download Touchegg:



        sudo apt install touchegg



      2. run it, but kill just after that, it will create a file



        ~/.config/touchegg/touchegg.conf



      3. open it in an editor you desire and add those three lines below into the name="All" section



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



      4. Run touchegg to try it out



        touchegg &


      5. Edit the config file as you wish and then add touchegg to the list of startup applications


      The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!






      share|improve this answer

























      • Gestures are not recognized on my computer :(

        – Jonah
        Jan 16 '14 at 3:34






      • 2





        This is not working on Ubuntu 15.04

        – Lucio
        Oct 1 '15 at 0:17






      • 4





        Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

        – Scaine
        Feb 24 '16 at 18:56











      • It's working fine :D with elementary OS

        – Akbar Sha Ebrahim
        Apr 28 '16 at 10:58






      • 3





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19















      25














      How to change workspaces using touchpad gestures in ubuntu



      Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.



      In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.




      1. Download Touchegg:



        sudo apt install touchegg



      2. run it, but kill just after that, it will create a file



        ~/.config/touchegg/touchegg.conf



      3. open it in an editor you desire and add those three lines below into the name="All" section



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



      4. Run touchegg to try it out



        touchegg &


      5. Edit the config file as you wish and then add touchegg to the list of startup applications


      The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!






      share|improve this answer

























      • Gestures are not recognized on my computer :(

        – Jonah
        Jan 16 '14 at 3:34






      • 2





        This is not working on Ubuntu 15.04

        – Lucio
        Oct 1 '15 at 0:17






      • 4





        Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

        – Scaine
        Feb 24 '16 at 18:56











      • It's working fine :D with elementary OS

        – Akbar Sha Ebrahim
        Apr 28 '16 at 10:58






      • 3





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19













      25












      25








      25







      How to change workspaces using touchpad gestures in ubuntu



      Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.



      In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.




      1. Download Touchegg:



        sudo apt install touchegg



      2. run it, but kill just after that, it will create a file



        ~/.config/touchegg/touchegg.conf



      3. open it in an editor you desire and add those three lines below into the name="All" section



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



      4. Run touchegg to try it out



        touchegg &


      5. Edit the config file as you wish and then add touchegg to the list of startup applications


      The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!






      share|improve this answer















      How to change workspaces using touchpad gestures in ubuntu



      Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.



      In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.




      1. Download Touchegg:



        sudo apt install touchegg



      2. run it, but kill just after that, it will create a file



        ~/.config/touchegg/touchegg.conf



      3. open it in an editor you desire and add those three lines below into the name="All" section



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



      4. Run touchegg to try it out



        touchegg &


      5. Edit the config file as you wish and then add touchegg to the list of startup applications


      The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Dec 15 '18 at 22:04









      Pablo Bianchi

      2,94521535




      2,94521535










      answered Jun 29 '13 at 21:37









      tsusankatsusanka

      4482610




      4482610












      • Gestures are not recognized on my computer :(

        – Jonah
        Jan 16 '14 at 3:34






      • 2





        This is not working on Ubuntu 15.04

        – Lucio
        Oct 1 '15 at 0:17






      • 4





        Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

        – Scaine
        Feb 24 '16 at 18:56











      • It's working fine :D with elementary OS

        – Akbar Sha Ebrahim
        Apr 28 '16 at 10:58






      • 3





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19

















      • Gestures are not recognized on my computer :(

        – Jonah
        Jan 16 '14 at 3:34






      • 2





        This is not working on Ubuntu 15.04

        – Lucio
        Oct 1 '15 at 0:17






      • 4





        Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

        – Scaine
        Feb 24 '16 at 18:56











      • It's working fine :D with elementary OS

        – Akbar Sha Ebrahim
        Apr 28 '16 at 10:58






      • 3





        is there a solution for Ubuntu 16.04??

        – Ivan Aracki
        Aug 31 '16 at 12:19
















      Gestures are not recognized on my computer :(

      – Jonah
      Jan 16 '14 at 3:34





      Gestures are not recognized on my computer :(

      – Jonah
      Jan 16 '14 at 3:34




      2




      2





      This is not working on Ubuntu 15.04

      – Lucio
      Oct 1 '15 at 0:17





      This is not working on Ubuntu 15.04

      – Lucio
      Oct 1 '15 at 0:17




      4




      4





      Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

      – Scaine
      Feb 24 '16 at 18:56





      Yeah, not working on my XPS13 either, running 15.04, or (today) 16.04 nightly. I wonder if there's a useful way to trouble shoot it, since the O/S does recognise 3-finger taps (mostly), but touchegg isn't interested.

      – Scaine
      Feb 24 '16 at 18:56













      It's working fine :D with elementary OS

      – Akbar Sha Ebrahim
      Apr 28 '16 at 10:58





      It's working fine :D with elementary OS

      – Akbar Sha Ebrahim
      Apr 28 '16 at 10:58




      3




      3





      is there a solution for Ubuntu 16.04??

      – Ivan Aracki
      Aug 31 '16 at 12:19





      is there a solution for Ubuntu 16.04??

      – Ivan Aracki
      Aug 31 '16 at 12:19











      15














      Comfortable Swipe



      Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.



      This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.






      share|improve this answer




















      • 1





        works with Ubuntu 18.04 LTS

        – Nitsan Baleli
        May 6 '18 at 19:26











      • Works smoothly with Kubuntu 18.04 LTS

        – subtleseeker
        Oct 16 '18 at 7:47






      • 2





        For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

        – Alex Leidwein
        Oct 21 '18 at 22:27











      • It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

        – wranvaud
        Feb 16 at 10:14











      • Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

        – maxime1992
        Mar 9 at 23:10















      15














      Comfortable Swipe



      Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.



      This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.






      share|improve this answer




















      • 1





        works with Ubuntu 18.04 LTS

        – Nitsan Baleli
        May 6 '18 at 19:26











      • Works smoothly with Kubuntu 18.04 LTS

        – subtleseeker
        Oct 16 '18 at 7:47






      • 2





        For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

        – Alex Leidwein
        Oct 21 '18 at 22:27











      • It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

        – wranvaud
        Feb 16 at 10:14











      • Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

        – maxime1992
        Mar 9 at 23:10













      15












      15








      15







      Comfortable Swipe



      Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.



      This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.






      share|improve this answer















      Comfortable Swipe



      Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.



      This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited 1 hour ago

























      answered Sep 29 '17 at 23:53









      RicoRico

      15615




      15615







      • 1





        works with Ubuntu 18.04 LTS

        – Nitsan Baleli
        May 6 '18 at 19:26











      • Works smoothly with Kubuntu 18.04 LTS

        – subtleseeker
        Oct 16 '18 at 7:47






      • 2





        For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

        – Alex Leidwein
        Oct 21 '18 at 22:27











      • It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

        – wranvaud
        Feb 16 at 10:14











      • Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

        – maxime1992
        Mar 9 at 23:10












      • 1





        works with Ubuntu 18.04 LTS

        – Nitsan Baleli
        May 6 '18 at 19:26











      • Works smoothly with Kubuntu 18.04 LTS

        – subtleseeker
        Oct 16 '18 at 7:47






      • 2





        For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

        – Alex Leidwein
        Oct 21 '18 at 22:27











      • It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

        – wranvaud
        Feb 16 at 10:14











      • Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

        – maxime1992
        Mar 9 at 23:10







      1




      1





      works with Ubuntu 18.04 LTS

      – Nitsan Baleli
      May 6 '18 at 19:26





      works with Ubuntu 18.04 LTS

      – Nitsan Baleli
      May 6 '18 at 19:26













      Works smoothly with Kubuntu 18.04 LTS

      – subtleseeker
      Oct 16 '18 at 7:47





      Works smoothly with Kubuntu 18.04 LTS

      – subtleseeker
      Oct 16 '18 at 7:47




      2




      2





      For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

      – Alex Leidwein
      Oct 21 '18 at 22:27





      For Ubuntu 18.10 you have to replace "libinput-debug-events" in src/comfortable-swipe.cpp with "libinput debug-events" three times. Than install with " bash install"

      – Alex Leidwein
      Oct 21 '18 at 22:27













      It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

      – wranvaud
      Feb 16 at 10:14





      It works on my 18.04 but takes several seconds to respond and my fans go crazy fast and noisy making it not worth it. Nothing special appears on htop during this time.

      – wranvaud
      Feb 16 at 10:14













      Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

      – maxime1992
      Mar 9 at 23:10





      Worked in 5 min, nothing else worked after hours. Brilliant, thanks for sharing !

      – maxime1992
      Mar 9 at 23:10











      9














      The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):



      sudo gpasswd -a $USER input
      sudo apt-get install xdotool wmctrl libinput-tools
      git clone http://github.com/bulletmark/libinput-gestures
      cd libinput-gestures
      sudo ./libinput-gestures-setup install


      Restart your computer after the above steps. My ~/.config/libinput-gestures.conf is:



      gesture swipe down xdotool key ctrl+alt+Up
      gesture swipe up xdotool key ctrl+alt+Down
      gesture swipe right xdotool key ctrl+alt+Left
      gesture swipe left xdotool key ctrl+alt+Right





      share|improve this answer























      • Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

        – lswim
        Dec 10 '17 at 23:14











      • This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

        – Andrew Crouthamel
        Feb 6 '18 at 19:53











      • not working on an Acer with Ubuntu 16.04

        – Gerard Cuadras
        Aug 9 '18 at 13:05















      9














      The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):



      sudo gpasswd -a $USER input
      sudo apt-get install xdotool wmctrl libinput-tools
      git clone http://github.com/bulletmark/libinput-gestures
      cd libinput-gestures
      sudo ./libinput-gestures-setup install


      Restart your computer after the above steps. My ~/.config/libinput-gestures.conf is:



      gesture swipe down xdotool key ctrl+alt+Up
      gesture swipe up xdotool key ctrl+alt+Down
      gesture swipe right xdotool key ctrl+alt+Left
      gesture swipe left xdotool key ctrl+alt+Right





      share|improve this answer























      • Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

        – lswim
        Dec 10 '17 at 23:14











      • This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

        – Andrew Crouthamel
        Feb 6 '18 at 19:53











      • not working on an Acer with Ubuntu 16.04

        – Gerard Cuadras
        Aug 9 '18 at 13:05













      9












      9








      9







      The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):



      sudo gpasswd -a $USER input
      sudo apt-get install xdotool wmctrl libinput-tools
      git clone http://github.com/bulletmark/libinput-gestures
      cd libinput-gestures
      sudo ./libinput-gestures-setup install


      Restart your computer after the above steps. My ~/.config/libinput-gestures.conf is:



      gesture swipe down xdotool key ctrl+alt+Up
      gesture swipe up xdotool key ctrl+alt+Down
      gesture swipe right xdotool key ctrl+alt+Left
      gesture swipe left xdotool key ctrl+alt+Right





      share|improve this answer













      The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):



      sudo gpasswd -a $USER input
      sudo apt-get install xdotool wmctrl libinput-tools
      git clone http://github.com/bulletmark/libinput-gestures
      cd libinput-gestures
      sudo ./libinput-gestures-setup install


      Restart your computer after the above steps. My ~/.config/libinput-gestures.conf is:



      gesture swipe down xdotool key ctrl+alt+Up
      gesture swipe up xdotool key ctrl+alt+Down
      gesture swipe right xdotool key ctrl+alt+Left
      gesture swipe left xdotool key ctrl+alt+Right






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jul 3 '17 at 16:21









      Michael HerrmannMichael Herrmann

      9111




      9111












      • Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

        – lswim
        Dec 10 '17 at 23:14











      • This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

        – Andrew Crouthamel
        Feb 6 '18 at 19:53











      • not working on an Acer with Ubuntu 16.04

        – Gerard Cuadras
        Aug 9 '18 at 13:05

















      • Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

        – lswim
        Dec 10 '17 at 23:14











      • This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

        – Andrew Crouthamel
        Feb 6 '18 at 19:53











      • not working on an Acer with Ubuntu 16.04

        – Gerard Cuadras
        Aug 9 '18 at 13:05
















      Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

      – lswim
      Dec 10 '17 at 23:14





      Thanks, Working on 17.10 on HP Envy 13 with Synaptics Touchpad

      – lswim
      Dec 10 '17 at 23:14













      This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

      – Andrew Crouthamel
      Feb 6 '18 at 19:53





      This works perfectly, just make sure you have matching shortcuts configured in KDE as well, since xdotool just fires off key combos.

      – Andrew Crouthamel
      Feb 6 '18 at 19:53













      not working on an Acer with Ubuntu 16.04

      – Gerard Cuadras
      Aug 9 '18 at 13:05





      not working on an Acer with Ubuntu 16.04

      – Gerard Cuadras
      Aug 9 '18 at 13:05











      1














      This was my solution: 4 fingers and natural direction.



       <gesture type="DRAG" fingers="4" direction="RIGHT">
      <action type="SEND_KEYS">Control+Alt+Right</action>
      </gesture>
      <gesture type="DRAG" fingers="4" direction="LEFT">
      <action type="SEND_KEYS">Control+Alt+Left</action>
      </gesture>





      share|improve this answer


















      • 2





        What program does one need for this?

        – g3mini
        Jun 2 '16 at 15:21











      • @g3mini touchegg, as tsusanka suggested

        – Andrii Abramov
        Oct 21 '16 at 20:47











      • Thanks =) When I asked his/her answer wasn't there yet =D

        – g3mini
        Oct 22 '16 at 19:47















      1














      This was my solution: 4 fingers and natural direction.



       <gesture type="DRAG" fingers="4" direction="RIGHT">
      <action type="SEND_KEYS">Control+Alt+Right</action>
      </gesture>
      <gesture type="DRAG" fingers="4" direction="LEFT">
      <action type="SEND_KEYS">Control+Alt+Left</action>
      </gesture>





      share|improve this answer


















      • 2





        What program does one need for this?

        – g3mini
        Jun 2 '16 at 15:21











      • @g3mini touchegg, as tsusanka suggested

        – Andrii Abramov
        Oct 21 '16 at 20:47











      • Thanks =) When I asked his/her answer wasn't there yet =D

        – g3mini
        Oct 22 '16 at 19:47













      1












      1








      1







      This was my solution: 4 fingers and natural direction.



       <gesture type="DRAG" fingers="4" direction="RIGHT">
      <action type="SEND_KEYS">Control+Alt+Right</action>
      </gesture>
      <gesture type="DRAG" fingers="4" direction="LEFT">
      <action type="SEND_KEYS">Control+Alt+Left</action>
      </gesture>





      share|improve this answer













      This was my solution: 4 fingers and natural direction.



       <gesture type="DRAG" fingers="4" direction="RIGHT">
      <action type="SEND_KEYS">Control+Alt+Right</action>
      </gesture>
      <gesture type="DRAG" fingers="4" direction="LEFT">
      <action type="SEND_KEYS">Control+Alt+Left</action>
      </gesture>






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 30 '16 at 13:57









      EnricoEnrico

      112




      112







      • 2





        What program does one need for this?

        – g3mini
        Jun 2 '16 at 15:21











      • @g3mini touchegg, as tsusanka suggested

        – Andrii Abramov
        Oct 21 '16 at 20:47











      • Thanks =) When I asked his/her answer wasn't there yet =D

        – g3mini
        Oct 22 '16 at 19:47












      • 2





        What program does one need for this?

        – g3mini
        Jun 2 '16 at 15:21











      • @g3mini touchegg, as tsusanka suggested

        – Andrii Abramov
        Oct 21 '16 at 20:47











      • Thanks =) When I asked his/her answer wasn't there yet =D

        – g3mini
        Oct 22 '16 at 19:47







      2




      2





      What program does one need for this?

      – g3mini
      Jun 2 '16 at 15:21





      What program does one need for this?

      – g3mini
      Jun 2 '16 at 15:21













      @g3mini touchegg, as tsusanka suggested

      – Andrii Abramov
      Oct 21 '16 at 20:47





      @g3mini touchegg, as tsusanka suggested

      – Andrii Abramov
      Oct 21 '16 at 20:47













      Thanks =) When I asked his/her answer wasn't there yet =D

      – g3mini
      Oct 22 '16 at 19:47





      Thanks =) When I asked his/her answer wasn't there yet =D

      – g3mini
      Oct 22 '16 at 19:47











      0














      I used the synaptics driver with xdotool to do that...



      For speed of my macbook touchpad:



      sudo nano /usr/share/X11/xorg.conf.d/70-synaptics.conf
      # Touchpad Speedup
      Option "AccelFactor" "0.025"
      Option "MinSpeed" "0.80"
      Option "MaxSpeed" "0.95"
      Option "FingerHigh" "55"
      Option "FingerLow" "45"


      For 3 fingers gesture change workspace:



      sudo nano ~/.config/libinput-gestures.conf
      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





      share|improve this answer



























        0














        I used the synaptics driver with xdotool to do that...



        For speed of my macbook touchpad:



        sudo nano /usr/share/X11/xorg.conf.d/70-synaptics.conf
        # Touchpad Speedup
        Option "AccelFactor" "0.025"
        Option "MinSpeed" "0.80"
        Option "MaxSpeed" "0.95"
        Option "FingerHigh" "55"
        Option "FingerLow" "45"


        For 3 fingers gesture change workspace:



        sudo nano ~/.config/libinput-gestures.conf
        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





        share|improve this answer

























          0












          0








          0







          I used the synaptics driver with xdotool to do that...



          For speed of my macbook touchpad:



          sudo nano /usr/share/X11/xorg.conf.d/70-synaptics.conf
          # Touchpad Speedup
          Option "AccelFactor" "0.025"
          Option "MinSpeed" "0.80"
          Option "MaxSpeed" "0.95"
          Option "FingerHigh" "55"
          Option "FingerLow" "45"


          For 3 fingers gesture change workspace:



          sudo nano ~/.config/libinput-gestures.conf
          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





          share|improve this answer













          I used the synaptics driver with xdotool to do that...



          For speed of my macbook touchpad:



          sudo nano /usr/share/X11/xorg.conf.d/70-synaptics.conf
          # Touchpad Speedup
          Option "AccelFactor" "0.025"
          Option "MinSpeed" "0.80"
          Option "MaxSpeed" "0.95"
          Option "FingerHigh" "55"
          Option "FingerLow" "45"


          For 3 fingers gesture change workspace:



          sudo nano ~/.config/libinput-gestures.conf
          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






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 19 '17 at 12:14









          CalvinCalvin

          1




          1





















              0














              Like already mentioned:



              sudo gpasswd -a $USER input
              sudo apt-get install xdotool wmctrl libinput-tools
              git clone http://github.com/bulletmark/libinput-gestures
              cd libinput-gestures
              sudo ./libinput-gestures-setup install


              But you have to go to:



              cd ~/libinput-gestures


              and edit the created libinput-gestures.conf:



              gedit libinput-gestures.conf


              And then make safe the following is set correctly:



              gesture swipe down xdotool key ctrl+alt+Up
              gesture swipe up xdotool key ctrl+alt+Down
              gesture swipe right xdotool key ctrl+alt+Left
              gesture swipe left xdotool key ctrl+alt+Right



              Remember: You have to set the key combinations in the Ubuntu settings to the ones shown above - these should be the default.







              share|improve this answer





























                0














                Like already mentioned:



                sudo gpasswd -a $USER input
                sudo apt-get install xdotool wmctrl libinput-tools
                git clone http://github.com/bulletmark/libinput-gestures
                cd libinput-gestures
                sudo ./libinput-gestures-setup install


                But you have to go to:



                cd ~/libinput-gestures


                and edit the created libinput-gestures.conf:



                gedit libinput-gestures.conf


                And then make safe the following is set correctly:



                gesture swipe down xdotool key ctrl+alt+Up
                gesture swipe up xdotool key ctrl+alt+Down
                gesture swipe right xdotool key ctrl+alt+Left
                gesture swipe left xdotool key ctrl+alt+Right



                Remember: You have to set the key combinations in the Ubuntu settings to the ones shown above - these should be the default.







                share|improve this answer



























                  0












                  0








                  0







                  Like already mentioned:



                  sudo gpasswd -a $USER input
                  sudo apt-get install xdotool wmctrl libinput-tools
                  git clone http://github.com/bulletmark/libinput-gestures
                  cd libinput-gestures
                  sudo ./libinput-gestures-setup install


                  But you have to go to:



                  cd ~/libinput-gestures


                  and edit the created libinput-gestures.conf:



                  gedit libinput-gestures.conf


                  And then make safe the following is set correctly:



                  gesture swipe down xdotool key ctrl+alt+Up
                  gesture swipe up xdotool key ctrl+alt+Down
                  gesture swipe right xdotool key ctrl+alt+Left
                  gesture swipe left xdotool key ctrl+alt+Right



                  Remember: You have to set the key combinations in the Ubuntu settings to the ones shown above - these should be the default.







                  share|improve this answer















                  Like already mentioned:



                  sudo gpasswd -a $USER input
                  sudo apt-get install xdotool wmctrl libinput-tools
                  git clone http://github.com/bulletmark/libinput-gestures
                  cd libinput-gestures
                  sudo ./libinput-gestures-setup install


                  But you have to go to:



                  cd ~/libinput-gestures


                  and edit the created libinput-gestures.conf:



                  gedit libinput-gestures.conf


                  And then make safe the following is set correctly:



                  gesture swipe down xdotool key ctrl+alt+Up
                  gesture swipe up xdotool key ctrl+alt+Down
                  gesture swipe right xdotool key ctrl+alt+Left
                  gesture swipe left xdotool key ctrl+alt+Right



                  Remember: You have to set the key combinations in the Ubuntu settings to the ones shown above - these should be the default.








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Oct 6 '18 at 8:44

























                  answered Oct 5 '18 at 15:45









                  Vitus ForsmannVitus Forsmann

                  11




                  11



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f92169%2ftouchpad-gestures-to-change-workspace%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                      Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                      Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»