Giter Club home page Giter Club logo

Comments (3)

TAAPArthur avatar TAAPArthur commented on June 19, 2024

but I'm trying to build just a static config to run on another machine with the understanding that if I need a config change, I'll have to do it on the builder and reinstall on the target.

Then you don't have to care about sgestures.sh

The default writer will be sufficent if you use libinput. All it does is translates events into sgestures format.

The way I used to use it:

sgestures-libinput-writer | sgestures

Now you can modify the source slightly and make this a single program (see the tests). I'm open to add an option to the makefile to make it easier to do so.

There are 2 reasons I separated them by default.

  1. The first is to make it easy to change the config on the fly without dropping events. Ie I could have a gesture that tells sgestures (the reader not the writer) to restart it self and therefore load the new configuration. If I restarted both, then I may lose the current write.
  2. The second is to run the writer as a system service and the reader as my local user. I start the reader from my on login generally from my xinit, but don't want to start multiple writers if I happened to login in twice. Also don't want to run the reader as root as then it won't automatically know my X display (and for security issues).

I'm under the impression that neither of these is relevant to you so there isn't a reason to have 2 separate programs. But in case you are interested, see mqbus for how I get the 2 programs to talk to each other

from libsgestures.

sodface avatar sodface commented on June 19, 2024

I'm under the impression that neither of these is relevant to you

I've been using Touchegg which is similar in that it has a system service and user client so that's ok with me, and it was working fine, but after using navboard and then going through your repos, I noticed libsgestures and had to try it because it seems like a lighter solution than Touchegg.

But in case you are interested, see mqbus for how I get the 2 programs to talk to each other

Ah! I think this is the piece I was missing. I will investigate.

Thanks again for the reply and the awesome software.

from libsgestures.

sodface avatar sodface commented on June 19, 2024

I think I understand enough now to close this. Thanks.

from libsgestures.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.