Archive for November, 2012

First GPIO circuit – Flashing an LED

The first circuit I have created for my Pi is to simply flash an LED then, with this working, make a morse code machine.

Continue reading ‘First GPIO circuit – Flashing an LED’


Keyboard Shortcuts on the Raspberry Pi

When I first got my Pi I wanted to set it up so I could use LXDE without a mouse. To that end I set up a number of keyboard shortcuts for frequent tasks and menus. In Raspian this is done by editing:


 From command line type:

 nano ~/.config/openbox/lxde-rc.xml

 or from a terminal window inside LXDE:

leafpad ~/.config/openbox/lxde-rc.xml

 Under the keyboard tag add:

<keybind key= “Name of key”>
<action name= “Execute”>
<execute>Command name</execute>

 So for example to make the Window’s button open the LXDE menu (similar to its function in Windows) add the following under keyboard (Super_L is the code the the Windows key on the keyboard and “lxpanelctl menu” the command for opening the menu:

 <keybind key="Super_L">
<action name="Execute">
<command>lxpanelctl menu</command>

 or to make F4 open a terminal:

<keybind key="F4">
<action name="Execute">

More information on setting up shortcut keys in OpenBox can be found here:

 though it should be noted that on the Pi the file to modify is lxde-rc.xml not rc.xml.


This a blog for all my adventures in computing.

As part of my day job I do lots of work in .NET technologies and SQL Server.

At other times I like tinkering. I’m currently playing with the Raspberry Pi especially the GPIO ports in the hopes of eventually making a robot. I’ve also been learning Python to write a jukebox for my living room and games.

This blog will be about everything I discover that somebody else might find useful (and stuff I might find useful in a year’s time when I’ve forgotten it!)