12,302
edits
No edit summary  | 
				|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The Raspberry Pi is an inexpensive Linux computer which you can for example use to play back videos (up to   | The Raspberry Pi is an inexpensive Linux computer which you can for example use to play back videos (up to Full-HD). This page shows you how to set it up:  | ||
== Making the RapberryPi run a video at startup ==  | == Making the RapberryPi run a video at startup ==  | ||
| Line 87: | Line 87: | ||
Make it start the script automatically:  | Make it start the script automatically:  | ||
  sudo nano .bashrc  |   sudo nano .bashrc  | ||
and right at the end put:  | |||
<syntaxhighlight lang="bash">  | <syntaxhighlight lang="bash">  | ||
  if [ $(tty) == /dev/tty1 ]; then  |   if [ $(tty) == /dev/tty1 ]; then  | ||
    ./startup_script.sh  |     ./startup_script.sh  | ||
| Line 109: | Line 109: | ||
==Synchronizing multiple RaspberryPi==  | ==Synchronizing multiple RaspberryPi==  | ||
maybe you want to   | maybe you want to give the different Pi different host names, so you don't get confused. Do it in the config utility:  | ||
  sudo raspi-config  |   sudo raspi-config  | ||
| Line 158: | Line 158: | ||
The shutdown command has a timer built in, so when it is called like this  | The shutdown command has a timer built in, so when it is called like this  | ||
  sudo shutdown -h 15:00  |   sudo shutdown -h 15:00  | ||
the system will shut down at three in the   | the system will shut down at three in the afternoon.  | ||
  sudo shutdown -h +30  |   sudo shutdown -h +30  | ||
will shut the system down in 30 minutes from now.  | will shut the system down in 30 minutes from now.  | ||
| Line 170: | Line 170: | ||
[https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59520 source]  | [https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59520 source]  | ||
==SD Card corruption issues==  | ==SD Card corruption issues==  | ||