Friday, March 31, 2017

Running Plover on a Raspberry Pi

Disclaimer! I can't show you how to run Plover on raspbian, or on a pi zero. But I did get it going on a Raspberry Pi 3, model B, using Ubuntu Mate. It was actually quite easy as it turns out. I just followed directions.

I did try with raspbian, but ran into trouble with dependencies which I didn't know how to deal with. Then I saw that Ubuntu Mate was available for the Raspberry Pi 3. I knew that I could install Plover on Ubuntu. I'd already done it on my laptop. The only question was whether or not it would work on the ARM processor of a Raspberry Pi.

I'm not going into how to install Ubuntu Mate. You can find that on the internet. I'll assume you've done that, and that you're working from the Pi. Start Firefox. Now, go to the Open Steno Project website:

        http://www.openstenoproject.org/

Then click on the Download button, which puts you here:

        https://github.com/openstenoproject/plover/releases

You might as well download the .deb file now:

        plover_3.1.1_all.deb

Leave it in the Download folder, and click on the "installation guide" link. Scroll down to the Linux directions and click on the  "ppa:benoit.pierre/plover"  link. There are two lines there to be executed on the command-line in order to make Benoit Pierre's ppa visible to your computer.

        sudo add-apt-repository ppa:benoit.pierre/plover

        sudo apt-get update

Once you've done that you're ready to actually install Plover. Type on the command-line:

        sudo apt-get install plover

Be patient. It might take awhile to respond and finish. When it does you can find an icon for Plover in the Applications/Universal Access menu.

Wait though, there's one last thing you need to do. You don't have permission to use the serial ports yet. This won't matter if you're using an NKRO keyboard, but let's assume you have a stenomod and need TX Bolt over serial. Write this on the command-line:

        sudo usermod -a -G dialout "$USER"

This adds you, the USER, to the dialout group, which allows you to have access to serial ports.

Now you should be be able to run Plover from that   "Applications/Universal Access" menu. Again, be patient! It takes awhile for Plover to start, but once it does, you can configure it for your machine and get to work!

The downside is that this has to be done in a GUI and it starts after you've logged in. It's not the ideal situation for a Plover-in-the-middle, where it acts as a USB keyboard for another computer without installing Plover or any other drivers. Still, running Plover on a Raspberry Pi is pretty fun!

Many thanks to Benoit Pierre for setting up and hosting the ppa!

No comments:

Post a Comment