$ sudo apt-get update $ sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \ pkg-config libgl1-mesa-dev libgles2-mesa-dev \ python-setuptools libgstreamer1.0-dev git-core \ gstreamer1.0-plugins-{bad,base,good,ugly} \ gstreamer1.0-{omx,alsa} python-dev libmtdev-dev \ xclip
$ sudo apt-get install xclip xsel
$ sudo pip3 install -I Cython==0.23 $ sudo pip3 install git+https://github.com/kivy/kivy.git@master
/.kivy/config.ini
mouse = mouse mtdev_%(name)s = probesysfs,provider=mtdev hid_%(name)s = probesysfs,provider=hidinput
display_default_lcd=0
KIVY_BCM_DISPMANX_ID=2 python main.py