From 2597058bfb95d3c98fed8e3f3f660b8242af75c4 Mon Sep 17 00:00:00 2001 From: Rico Tiongson Date: Mon, 23 Oct 2017 00:16:40 +0800 Subject: [PATCH] Fix issue 'cmath not included' Issue was present in some C++ compilers, as mentioned by @shane-evolve in issues/1. --- README.md | 5 +++-- src/comfortable-swipe.cpp | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b54a778..0c0cbc1 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,13 @@ Comfortable 3-finger (and 4-finger) swipe gestures for Ubuntu 14.04 LTS+ 2. `git clone https://github.com/Hikari9/comfortable-swipe-ubuntu.git` 3. `cd comfortable-swipe-ubuntu` 4. `bash install` +5. You may delete the downloaded `comfortable-swipe-ubuntu` folder. ## How to Run 1. Run `comfortable-swipe start` in Terminal 2. Flick away! -> If you get 'command not found' error or similar, try running with the full path: `/home/$USER/.local/bin/comfortable-swipe start` + > If you're getting *command not found*, try running: `/home/$USER/.local/bin/comfortable-swipe start` ### Permissions Sometimes, you'll need some permissions to read touchpad input data. Perform these steps to solve the permission issue: @@ -25,7 +26,7 @@ Sometimes, you'll need some permissions to read touchpad input data. Perform the 1. `gnome-session-properties` 2. Click `Add` 3. Enter the following: - + Name | Comforable Swipe ------- | ------------------- Command | `comfortable-swipe-start` diff --git a/src/comfortable-swipe.cpp b/src/comfortable-swipe.cpp index d383f9d..d0339ea 100644 --- a/src/comfortable-swipe.cpp +++ b/src/comfortable-swipe.cpp @@ -25,6 +25,7 @@ along with this program. If not, see . #include #include #include +#include #include #include #include