Coder Social home page Coder Social logo

touchstream's Introduction

touchstream - mouse/keyboard network sharing utility (C) Michel Pollet [email protected]

Introduction

touchstream is a program that allows you to share a keyboard & mouse over a number of machines, on a LAN, typicaly.

Imagine having a mac and a linux machine, with their own screens; you can use the Mac mouse and keyboard on the linux box too by moving the mouse pointer to a max screen edge, and it starts moving on the linux screen.

Also, the clipboard is exchanged as you switch back & forth.

Rationale

The goal of touchstream was to replace synergy -- at least on my desk. Synergy has various issues, notably on the bloat department; "powertop" flags it as one of the most used/busy process on the machine, even tho it technicaly hasn't a lot to do, furthermore the codebase is bloated too, and the implementation uses countless locks, mutexes and other distasteful things that adds a lot of overhead, and that one doesn't strictly need if designing the execution path properly.

The other reason is that synergy stopped working on my configuration recently for me, and I realised about it's code bloat when I went to try to fix it.

Obviously, quite a bit of the platform specific bits of touchstream are copied straight out of synergy's source code, and not only deserve the credit, but also share their GPL licence. In many cases, the code has been entirely reworked tho, and I haven't taken care of copying the attribution and copyrights for individual snipets.

The actualy "core" of touchstream is entirely original, and thats why the files uses my generic GPL header bits.

Status

Anyway, touchstream is C99, doesn't use a single mutex, and works for now on OSX as a server (read, the screen that has the keyboard and mouse) and as a client of a recent xorg.

It also can work without a "client" process by talking directly to remote xorg servers, as long as 1) the server allows tcp connections, and 2) you have disabled access control (xhost +).

Clearly it lacks some of the features synergy has (windows support, non-latin keyboard support etc) but it also a LOT simpler, and uses a fraction of the resources.

touchstream's People

Contributors

buserror avatar

Watchers

James Cloos avatar @elazar avatar

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.