Xdotoolweb
xdotool web based interface to remoting your manchine/raspberry from your phone
Install / Use
/learn @ndunks/XdotoolwebREADME
xdotool Web Based Interface
Web Based Keyboard and Mouse Remote Controller

How it Works
This web based xdotool work by piping xdotool - stdin with WebSocket on port 8081.
HTTP server running on port 8080 to provide web based interface (keyboard button and mouse)
How to Install
Install this script on target manchine (eg: Raspberry Pi) not on remote manchine.
Clone this Source:
$ git clone https://github.com/ndunks/xdotoolweb
Run it
$ cd xdotoolweb
$ ./xdotoolweb &
Open browser on remote devices, navigate to http://{IP}:8080
Stop it
$ ctrl+c on terminal or kill it
Run it and leave terminal or SSH
$ nohup ./xdotoolweb &
$ disown
Debug output
$ ./xdotoolweb --debug &
Tested On :
Ubuntu 17.06 on Laptop
xdotool version 3.2016xxxx
Result:
Working like expected
Ubuntu Mate 16.04 on Raspberry Pi 3 Model B
Problem:
Default version of xdotool (3.2015xxx) that available on default repo is little buggy (buffered input) when using interactive command:
xdotool -
Solution:
Compile latest xdotool from source (read section)
Compile xdotool for Raspberry PI (Ubuntu Mate 16.04)
If you have old xdotool 3.2015xxx so you need to get newest one or compile it with this step:
Install required header:
$ sudo apt-get install libx11-dev libxtst-dev libxinerama-dev libxkbcommon-dev
thanks to flc for share their gist
Clone xdotool Source:
$ git clone https://github.com/jordansissel/xdotool
Compile & Install xdotool
$ cd xdotool
$ make
$ sudo make install
Third Party Code
Jordan Sissel: xdotool
Pithikos: Python WebSocket Server
