Over a million developers have joined DZone.

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

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

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.

The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.

Topics:
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.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}