GLeap is a small tool for Linux to switch your desktops using Leap Motion. It only simulates keystrokes on your keyboard after swipe gestures (if you need, you can change keyboard shortcut).
If you want to use this script, but have some troubles - be free to write me at e-mail in profile.
- Clone this repository:
git clone https://github.com/Enet/gleap.git /path/to/your/folder
- Open shortcut file gleap.desktop in text editor and change the line:
fromExec=python gleap.py
toExec=python /path/to/your/folder/gleap.py
- Move file gleap.desktop to your autostart directory:
mv /path/to/your/folder/gleap.desktop ~/.config/autostart
- Relogin and try to swipe ;)
- You can set up a minimal time between two swipes in gleap.py (line 26).
- You can change keyboard shortcut, which should be pressed after swipe (line 46).
- To run this script any time, just type in your terminal:
python /path/to/your/folder/gleap.py