Using SSH To Customize the PiBoy's OSD

Using SSH To Customize the PiBoy's OSD




Figure 1: The osd.cfg file.
In a previous article we looked at using WinSCP on a Windows machine to configure the PiBoy's On Screen Display. This article is for Mac and Linux users and details how to use the ssh functionality built in to the OS to configure the PiBoy's OSD. SSH allows you to remotely log in to a shell instance on the PiBoy from another machine.
1. First, the PiBoy must be put on the same network as the computer you'll be using to ssh from. You can use an ethernet cable to wire the PiBoy in to your network or use the wireless functionality of the PiBoy. See this article to learn how to configure the PiBoy's wireless functionality.
2. Next, open a terminal session. On a Mac open the Terminal application, on a Linux machine open a terminal session.
3. Run the SSH command found below. You'll be prompted for the password, which by default is: raspberry
4. Navigate to the OSD directory by running the command below.
cd /home/pi/osd
5. Open the osd.cfg file in the Nano editor by running the command below. Once again, the default password is: raspberry
sudo nano -w osd.cfg
6. Using the arrow key navigate to the section of text that controls the OSD display settings. To disable an option put a # character in front of it and to enable a feature remove the # character in front of it.
7. Save your changes to the file by pressing CTRL and O at the same time. Exit the Nano editor by pressing CTRL and X at the same time.
8. Disconnect from the ssh session by typing ~ followed by . in the terminal. The characters will not appear in the terminal but after the sequence has been typed the session will close.
9. Restart the PiBoy and the changes will be reflected in the On Screen Display.