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.
Join the DZone community and get the full member experience.
Join For FreeI 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.
Published at DZone with permission of Kevin Hooke, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments