Comments (3)
The config file should be placed under ~/.config/gestures.conf. It seems your $HOME variable, which is what the ~ character means, is set to /root not /home/$USERNAME. That is why it is placing stuff under /root.
This is caused either by using root shell, which sets HOME variable among other things, or you have something in .profile or .bashrc setting HOME variable to the /root. Can you verify if your HOME variable is set right? If you just want to change it for the install or uninstall script you can run HOME=/path/to/directory ./install.sh.
if everything is setup right, look under /root/.config/gestures.conf. run ls -la ~/.config in terminal and you should be able to see it. The reason you couldn't see it with ls or your file explorer becuase .config directory, like all directories and files that start with a . , is hidden. The way to configure the application is under the customization section of the readme.
from gestures.
Thank you for the help. I reinstalled it without using sudo and now the config is in the right place. I read the readme and still finding the syntax to be confusing. For example I use keyboard shortcut ctrl+shift+Right/Left key to switch between desktops. Would it look like this:
'4': { 'l' : {'start': ['evemu_do keydown ctrl', 'evemu_do keydown shift'],'update': {'l': ["evemu_do Left"], 'r': ["evemu_do Right]}, 'end': [], 'rep': ''},
Thanks
from gestures.
You will need to do two things. One is release ctrl
and shift
when the gesture ends, i.e, when you remove fingers while executing a gesture. Second, you currently need to keep in all the other properties under the update property as empty arrays ([]). I talk about this in Todos section but I see that I should make this explicit in the customization section.
The following should work.
'4' : {'l' : {'start': ['evemu_do keydown ctrl+shift'],'update': {'l': ["evemu_do Left"], 'r': ["evemu_do Right"], 'u': [], 'd': [], 'lu': [], 'rd': [], 'ld': [], 'ru': []}, 'end': ['evemu_do keyup ctrl+shift'], 'rep': ''},
It is much better to keep the config file as it is and just update properties of the config object. This means adding or removing strings (commands) from [] of the properties.
The config syntax is hard to see clearly if the file is not zoomed out as well.
If you have suggestions in improving the README, feel free to comment or pull request.
from gestures.
Related Issues (9)
- Throws errors unless config file has a lot of empty keys
- Script Stops Working after Pinch Events HOT 3
- Annoying Behaviour when Dragging HOT 4
- Use with Surface Pro Touch Screen HOT 17
- more robust device matching
- Uninstall script HOT 4
- Could you clarify how to launch gestures please ? HOT 6
- Program doesn't work on openSUSE HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gestures.