virtual keyboard working on RPi


17 posts
by vinloren » Mon Aug 06, 2012 5:27 pm
Hi everybody,
I think a softkeyboard (virtual keybd) would be very useful on Raspberrypi so you could nicely use a simple RF mouse and a USB WiFi dongle to completely manage the box without the need of any expansion USB hub nor costly Bluetooth Keyboard.

I succeded in this right now thanks to Tom Sato (http://homepage3.nifty.com/tsato/xvkbd/) after downloaded http://homepage3.nifty.com/tsato/xvkbd/xvkbd-3.3.tar.gz and compiled the sources on my Raspberrypi-2012-07-15-wheezy-raspbian. I just had to hack a bit installing the required libs:
sudo apt-get install libxt-dev libxaw7-dev libxtst-dev xutils-dev
Then run xmkmf; make install install.man and the softkeyboard was ready for use.

Hope this can be helpful, cheers
Posts: 36
Joined: Sun Aug 05, 2012 2:08 pm
by vinloren » Fri Aug 10, 2012 6:01 pm
I eventually discovered, thanks to MagPi issue 3 magazine, that a very nice virtual keyboard can be installed by:
sudo apt-get install matchbox
Have a try to it..

Cheers
Posts: 36
Joined: Sun Aug 05, 2012 2:08 pm
by cjl1954 » Fri Aug 10, 2012 8:00 pm
I installed the Matchbox, but I don't see any keyboard?

Any help with running the software such as matchbox-session or what needs to happens to get the keyboard to appear on the screen?
Posts: 1
Joined: Fri Aug 10, 2012 7:59 pm
by vinloren » Sat Aug 11, 2012 3:40 pm
simply you grt to enter thr 'accessories' lxde menu and click on 'keyboard'. The keyboard will stay there until you kill it or lower it down. The keyboard size can also be reduced by using the mouse.

Hope thi can help, bye
Posts: 36
Joined: Sun Aug 05, 2012 2:08 pm
by Siobhan » Sun Oct 28, 2012 4:44 pm
Thanks for this!
It's not as polished as I've seen on *spit* windows, but it does the job, and well enough for my needs.
Posts: 1
Joined: Sun Oct 28, 2012 4:41 pm
by omurcha » Sun Jan 06, 2013 10:10 pm
thanks for the solution " sudo apt-get install matchbox " at the LXTerminal prompt did the trick.
Have my rpi installed on my battery powered wheelchair. Taking 12v supply off one of my two 50amphr car type batteries I created two circuits - 12v and 5v - both regulated and fused. The 5v circ runs the rpi and the 12v runs the monitor - a retasked 10" camera field monitor. Looking great. Still trying to sort the MIFI - will start new topic thread on this.
Posts: 9
Joined: Sat Dec 15, 2012 5:15 pm
by rporter887 » Fri Mar 15, 2013 5:43 pm
Hello omurcha, I would be interested in collaborating with you on wheelchair mods. My wife has a Pride-Mobility with a Pride Quantum Q-logic controller DWR1234L145 (Curtis). I am interested in programming some of the servo action but powering of the Pi off of the batteries sounds like a good first step to bigger and better things. I haven't been registered long enough to post private messages, maybe if you send me one, I will be able to reply?

Thanks.
RP
Posts: 1
Joined: Fri Mar 15, 2013 5:28 pm
Location: WNY
by meltwater » Tue Sep 10, 2013 12:04 pm
Hi,
Was looking for virtual keyboard solutions for use with a touch screen. I will give matchbox a go, just wondering how flexible the layout can be (i.e. can you just put a few keys on there etc).

Alternatively it may be useful to create a single line keyboard which you can scroll side to side, I imagine it wouldn't be a massive task using Tkinter.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 1011
Joined: Tue Oct 18, 2011 11:38 am
by thumper300zx » Tue Feb 25, 2014 9:06 pm
I installed the matchbox keyboard -- have rebooted, tried to reinstall (says I have the most recent version installed) -- I try to start the keyboard and nothing happens. It looks like it's trying, but it never pops up. Any help?
Posts: 1
Joined: Tue Feb 25, 2014 9:05 pm
by sebassir » Fri Dec 12, 2014 7:39 pm
Hello,

I need to set a virtual touch screen keyboard to be used in a kiosk mode over a browser Pi.
I'd like to show the full screen kiosk and to open the keyboard only when it is needed. Like in an ipad, for example.

Is there any solution for this?

Thanks!
Posts: 1
Joined: Fri Dec 12, 2014 7:31 pm
by phgachoud » Sun Aug 16, 2015 8:00 am
thumper300zx wrote:I installed the matchbox keyboard -- have rebooted, tried to reinstall (says I have the most recent version installed) -- I try to start the keyboard and nothing happens. It looks like it's trying, but it never pops up. Any help?

Did you try the command
Code: Select all
matchbox-keyboard
in a terminal?
Posts: 1
Joined: Mon Jul 20, 2015 9:07 am
by Dugger » Sat Oct 17, 2015 9:50 pm
I have a virtual keyboard running on ubuntu called onboard it is pretty good but I have not had success getting it running on the pi. Anyone else get it going. I will post back if I get it going.
Posts: 6
Joined: Wed Mar 25, 2015 3:18 am
by Dugger » Sun Oct 18, 2015 9:21 pm
Now I have one of the new Raspberry Pi touch screen displays I need an on screen keyboard. I liked Onboard but it is designed for Gnome and I could not get it working on the pi.
Matchbox does work to a certain extent but there is a bug that causes it to use 100% of the processor when running. This is not released when Matchbox is closed so you need to restart your pi or kill -KILL 'process no' from the terminal. The kill command does not always work probably because the processor is working so hard.You can find the process number using the top command. Interestingly when using with a Pi 2 it only runs the processor at 25% so only hogging one core.
Florence is another keyboard that at least installs and does not use 100% of your processor but dissapears when you type something and does not redirect the key to the application. So not much use.

Anyone get a virtual keyboard working? Now we have a proper Raspberry Pi Touchscreen it is a shame we can not actually use it.
I am running Raspbian Jessie 2015-09-24. I am happy to provide any more info so that this bug can be sorted.
Posts: 6
Joined: Wed Mar 25, 2015 3:18 am
by ghans » Mon Oct 19, 2015 6:46 am
I have not tested it , but only have heard it being recommended ...

Code: Select all
sudo apt-get update
sudo apt-get install florence


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 6148
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by Dugger » Tue Oct 20, 2015 2:18 am
Got the Florence keyboard working you need to install at-spi2-core

sudo apt-get install at-spi2-core

will now uninstall matchbox.

Thanks to Hove for this.
Posts: 6
Joined: Wed Mar 25, 2015 3:18 am
by 19walter57 » Fri Jan 15, 2016 11:22 am
With reference to your last message, Dugger, could you post the link to Hove that you used. Thanks, Walter
Got the Florence keyboard working you need to install at-spi2-core

sudo apt-get install at-spi2-core

will now uninstall matchbox.

Thanks to Hove for this.
Posts: 41
Joined: Sun Dec 28, 2014 5:24 pm
by DirkS » Fri Jan 15, 2016 12:04 pm
19walter57 wrote:With reference to your last message, Dugger, could you post the link to Hove that you used. Thanks, Walter
https://www.raspberrypi.org/forums/viewtopic.php?f=108&t=123189
Posts: 4187
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK