Rebuilding my preferred Raspbian OS desktop from the factory default is very easy when it's scripted. Recently, the Raspberry Pi Foundation did major revisions to the kernel and firmware, so their brand new RasPiCam will work for everyone that can afford the buy one. Unfortunately, I am not one that can afford to buy one. The new kernel and firmware are forced installed under the Debian package, raspberrypi-bootloader. What they didn't count on, is destroying the audio output of my dedicated speech synthesis project, operating on the Raspberry Pi. Rather than complaining left and right, I decided to do a re-install from factory-default Debian "Wheezy" SD Card image, found at Raspberry Pi Downloads. After doing my default configurations with raspi-config (forced run), I rebooted to do the following:

  1. sudo apt-get update
  2. sudo apt-get dist-upgrade

After waiting some time (I wasn't clocking!), I rebooted twice to make sure everything is working. The image at the top of this post is what the Raspbian OS desktop looks like after doing that dist-upgrade.


The upgrades have been done; it's consuming 1.7GB and there's a useless swap. Since everything looks good, I did a sudo shutdown -h now. At this point, I had time to save my SD Card image to my hard drive (my insurance policy before tweaks). Next, I need to install scrot so I can do screenshots:


Next, I need to remove the bloatware:


Next, I need to remove the packages that are no longer required:


And then, this step is optional for most people, but since I'm working directly with speech synthesis, I require it to be installed:


After installing the Festival Speech Synthesis System, I rebooted to make sure any binaries are loaded and working. I tested Festival and it is indeed, working! Next, I did sudo apt-get clean all to clear up some disk space.

Now... The final status report:


My Raspbian OS Desktop is now using only 1.2GB, compared to 1.7GB earlier. Again, I powered down to backup my SD Card.

After My Tweaks



Yes, it looks like my original Raspbian Desktop; that one that no longer talks. For those that are wondering, my newly-built Raspbian OS Desktop is configured for software development in the C programming language.

My Script...

Thanks for Reading!


My Raspberry Pi will always run Linux! Have a nice day, everybody!


Marcos "Kuya Marc" Miranda