Update: onscreen keyboard for Raspberry Pi 7″ touchscreen

Quick followup from last week’s post on setting up an onscreen keyboard. I couldn’t find a way of getting an onscreen keyboard, either matchbox-keyboard or florence, to respond on Raspbian’s logon screen. Rather than spend more time on investigating this, I just enabled the logon to desktop in raspi-config, and now logged on, either of the keyboards work as expected, perfectly well.

Florence seems to be the better of the two I tried. Once opened from the menu you can drag it around, or minimize it to a keyboard icon, so you can pop-it open as needed.

If I could get it to work from the logon screen too that would be awesome, but avoiding that issue and once you get to the desktop, it works great.

In progress: Setting up an onscreen keyboard for the 7″ touchscreen on the Raspberry Pi

I just received one of 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 first challenge is, how do you logon 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

and then 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 keybaord not disappearing, but not having any luck getting characters to appear in the username/password fields. Still some investigation to do on this one.

Taking screenshots on Raspbian / Raspberry Pi

Install scrot (if not already installed): sudo apt-get install scrot

To pick a window, run ‘scrot -s’ and then click on the window that you want to capture. Screenshot is saved in your home dir by default.