Over a million developers have joined DZone.

Setting up an Onscreen Keyboard for the 7″ Touchscreen on the Raspberry Pi

DZone's Guide to

Setting up an Onscreen Keyboard for the 7″ Touchscreen on the Raspberry Pi

Follow Kevin Hooke's adventures in getting a keyboard set up for his Raspberry Pi touchscreen.

· IoT Zone
Free Resource

Download Red Hat’s blueprint for building an open IoT platform—open source from cloud to gateways to devices.

I just received one if these very cool 7″ touchscreens for the Raspberry Pi: https://www.raspberrypi.org/products/raspberry-pi-touch-display/

I have the default logon prompt when my Pi starts up; so the first challenge is how do you log on without a real keyboard attached without having to disable the logon? There are a number of onscreen keyboards available. Based on this thread I installed Florence:

sudo apt-get install florence

Then I edited /etc/lightdm/lightdm-gtk-greeter.conf adding ~a11y; for the Accessibility icon on the logon screen, and keyboard=florence so it appears in the menu.

The keyboard now appears, but as soon as I press a key it disappears. From this thread, installing at-spi2-core appears to fix the issue:

sudo apt-get install at-spi2-core

This seems to fix the keyboard not disappearing, but not having any luck getting characters to appear in the username/password fields. Still some investigation to do on this one.

Build an open IoT platform with Red Hat—keep it flexible with open source software.

raspberry pi ,touchscreen ,keyboard

Published at DZone with permission of Kevin Hooke, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}