How to run logout script or sound on Linux XFCE
Most of you would know how to run script on boot / session login on Linux, but not on logout / shut-down. Here is one way you can do it: Change the /usr/bin/xfce4-session executable with a shell script which runs the original xfce4-session and your logout script if xfce4-session finished….
Boot into Raspberry Pi with USB Serial Console Cable
Ethernet port does not exist on Raspberry Pi Model A. And when you got no monitor screen to connect to, configuring your headless Pi may not be possible. Your only option would be to connect to your Pi from a laptop via a console cable. For this exercise you are…
Robot Project Day 7 – Testing Your Robot
Previous: Day 6 – Arduino Sketch for Robot Control To recap our connections will roughly look like this: Your client PC -> Your Raspbery Pi (which contains Arduino Sketch) -> Motor Controller via USB cable -> 4 Servo Motors First, you need to know if you get a response from…
How to backup Raspbian SD card into your harddisk
To backup, you cannot directly copy Raspbian files into your hard disk. What you need to do is create a disk image. Disk image will preserve all the files and filesystem structure of the SD Card regardless of what desktop OS you use. On Ubuntu or other Linux system type…
Change device host name of your Raspberry Pi
The default hostname is “raspberrypi”, we can change that to “raspberrygertrover” or any name that you like. Step one is to edit the hosts file to ensure that the device knows when it should refer to itself. we can do this by using Nano any other text editor. Enter the following : sudo…