pyRemoteControl is a remote control server for interacting with your X11 session. It was developed to support the Remote Control for Linux android app, but it can be used by any application that can communicate via TCP sockets.
Download the zip file, extract it and run the pyRemoteControl.py
python script. It should be waiting for a connection.
If you would like to automate this process, copy and paste the following lines on a terminal:
$ wget https://github.com/raaapha/pyRemoteControl/archive/master.zip && \
unzip master.zip && \
cd pyRemoteControl-master && \
chmod +x pyRemoteControl.py
You can now run the python script with:
$ ./pyRemoteControl.py
If everything went fine, you should see something like this:
$ ./pyRemoteControl.py
Xlib.protocol.request.QueryExtension
pyRemoteControl version v1.0
Waiting for connection...
Make sure you have python2 installed and available under python2
.
Please feel free to send in suggestions and pull requests!
GPLv2. The python Xlib is also distributed under GPLv2.