Florence one [autre] virtual keyboard for the Raspberry Pi

a few days ago, I presented MatchBox , a virtual keyboard for your Raspberry Pi.
Unfortunately it seriously affected the operation of the file manager pcmanfm by consuming all the CPU resource…
Here is Florence, another virtual keyboard, which works perfectly with Raspbian and that you can use with a touchscreen.

click to get information on these levels.


it should be noted that the author of this program is french. Francis started with one had TO computer. Analyst programmer and technician network then he then joined IBM Global Services as a systems analyst. After several experiences still developing, it is today developer engineer in Business Intelligence at EDF. He created the project Florence accessibility tool

State of affairs

If you open the main menu of Raspbian, we see the usual presentation. We will come back after the installation of Florence.

installation of florence

as usual, first update your Raspbian.

 sudo apt - get update sudo apt - get upgrade 

once this update is done, you can proceed to the installation of Florence:

[$19459033]pi@raspberrypi:~ sudo apt – get install florence reading lists of packages…] Done building the tree of dependencies reading state information… Fact the following extra packages will be installed: libflorence – 1.0 – 1 NEW following packages will be installed: florence libflorence – 1.0 – 1 put 0 updated, 2 newly installed, 0 to remove and 0 not up-to-date.

It is necessary to take 0 o/652 KB in the archives.

After this operation, 1 533 KB of additional disk space will be used.

Do you want to continue? [O/n]

answer O and the installation ends (do not make you a cup of coffee, it’s not very long 🙂)

installation of the virtual keyboard Florence showed a new section in the Menu : universal access . This is where you find the Launcher of Florence.

are going to start the keyboard. Click C Lee virtual Florence .

the keyboard appeared on the screen, but… it is in the QWERTY format. Not very practical when you’re used to the QWERTY.

to AZERTY open a terminal and type:

 setxkbmap en 

as soon as you have submitted your keyboard will switch QWERTY 🙂

for the next time, it is better to automate this operation by adding setxkbmap en end of the file .bashrc . ( If you do not know how, watch the video )

to test the keyboard open a terminal window. When you click a button, it is in the window that has the focus ( whose title bar is colored in blue ). Click on a button and the keyboard disappears 🙁

it was nice to reopen the keyboard as much as we want, it disappears as soon as you click on a button.

find the error

there is no Bowl with our keyboards! With MatchBox is the CPU, leaving the brushes thoroughly, here it is the keyboard that is the trunk…

in general’s here than the beginner in Linux it hear grunts, and even a few swear haddockiens as long as it is tintinophile on the edges…
To be honest, it doesn’t help. You make more noise, less you chance it works. Some are tempted to subject the material of what they think well deserved. This is the “technical slap” to the kick style kickboxing, through the defenestration of the poor Raspberry Pi that is there for nothing!

no, if you want a day to make computing professional, stay calm and serene (e). We’ll tell you: “ but how does he stay so calm? “.» This is the secret… You can’t be effective if you take you. adrenaline is secreted in response to a State of stress or for physical activity , resulting in an acceleration of the heart rate, an increase in the speed of the contractions of the heart, increased blood pressure, dilation of the bronchi and pupils. It meets a need for energy, for example to deal with the danger. But… where is the danger? Stress: If you feel, it’s you who will show.

the solution is to ask and think. Florence works. Lots of people use it. Then of two things one. Either you haven’t properly read and followed the installation instructions…

[ well I’m also want a pause.] In general we’re so eager to finish, so full of envy that “it works” Let’s smoke a few steps. We do “more quickly”, without reading the doc (the famous RTFM), without checking the error messages, warnings… And then when it doesn’t work, few people are willing to question. This is necessarily the fault of the software of a m… the guy who wrote this rotten tutorial, and more of the Linux, it never works! And yet by experience (Yes bin) I can tell you that it is useful to include in the possible causes of non-functioning 🙂

when a technician is not a failure, it must be able to see what he has done to try to understand what he missed. I often say that one must be able to troubleshoot, standing behind you to look at what we’re doing. [It’sabitlimitedbutthat’showIseeit😉]

is missing a dependency and the software will not work. In general we’ll take a look in the newspapers ( the Linux log, Libe not ) or looking at what appears in the terminal when we run the program.

installation of at-spi2-core

here, if you open a terminal and type florence key entry , the virtual keyboard appears on the desktop, but you see also a warning displayed in the terminal. Take the content of the message and so do a search on that basis… ( watch the video If you prefer… explained ). Tell yourself that if it happens to you, it had to happen to others and that there is probably a trace somewhere on the Internet.

after reading some forum topics ( in English ) we get to find in one of them that:

Initially as soon as any key on the keyboard was pressed the keyboard would disappear. This issue was resolved via a different thread that suggested installing at-spi2-core using apt – get install.

After installing at-spi2-core the keyboard remains on screen and any key presses result in the key colour changing to blue while pressed however the character of the pressed key is not appearing in the username field even though it has focus.

actually it’s the same concern: when you press a key on the keyboard it disappears. And the proposed solution is to install at-spi2-core . D-Bus is a system of inter-process communication and at-spi2-core defines the Protocol and start the D – Bus accessibility. We’re trying?

 sudo apt - get install at-spi2-core 

new test of the keyboard

come on, again! Open the keyboard from the menu. Click on a button… This time the keyboard should disappear. Click to the left of the keyboard button in the shape of flat key. You have access to the keyboard settings. All do not seem to work under Raspbian. You can at least choose to always leave the keyboard in the foreground. It avoids that it is covered by another window. Also choose the shape of the keys on the keyboard…

keyboard by default

keyboard Bright

Hard keyboard

Flat keyboard

you can also change the zoom when the cursor hovers over a button, the colors of the keys…

with florence you have a ( beautiful ) keyboard that should be useful with touch screens ( I think the ‘official’ on-screen ) when the Raspberry Pi works without keyboard or mouse.

for those who would like to go further, try to create a launcher for the keyboard on the desktop, or to start the virtual keyboard when the Raspbian starts…

and then a bug Baptiste had reported to me on Facebook , the keyboard is supposed to appear when it is necessary, but under Raspbian that does not.

has you play!

No comments:

Powered by Blogger.