KivyPie w/o touchscreen and responsive cursor

After seeing several crashes, running Kivypie 1,0 with GL video driver, I would be cautious of running it in production. Since KivyPie is basically Rapbian Jessie, which is now considered an Old release, it does not have the updated packages that the new Stretch does not include KDE with wayland support. Which I documented in another post here. Raspberry Pi with KDE Window Manager, Wayland ver

However, KivyPie 1.0/Jessie does have a Wayland compositor called Weston and the xwayland xserver package.

This also allows you to run GroundControl with kivy SDL2 window. You can install it with the following:

sudo apt-get install weston xwayland libgl1-mesa-dri

you will also need to create a config file for it inside your home directory.
cd .config directory. If the folder does not exist create it. With a tex editor create a file named weston.ini When you are done it should look like this:

[core]
modules=xwayland.so
xwayland=true

[keyboard]
keymap_layout=gb

[output]
name=LVDS1
mode=1680x1050
transform=90

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/weston-terminal

Type weston at the shell prompt to launch the Weston desktop.

In the left hand corner of the launch bar, click on the terminal icon to start up the weston-terminal.
From inside the terminal launch GroundControl in a kivy SDL window.

cd GroundControl
KIVY_WINDOW=sdl2 python main.py

wayland-screenshot

To quit Weston do a Ctrl+Alt+Backspace

For more information on Weston and other keyboard shortcuts see https://wiki.archlinux.org/index.php/Wayland

3 Likes