Posts Categorized: ubuntu

Ubuntu Desktop Showing Home Folder Contents

I was playing with a shell script to rename a bunch of image files to lowercase then resize them but I had a typo in one of my variables resulting in accidentally renaming all the folders in my home directory with lowercase names. After next log in I now see the home folder contents displayed… Read more »

Printing Color Syntax Highlighted Code on Ubuntu

There are other ways to achieve this but I like this method.Using Komodo Edit – a free/open-source light code editor licensed under various licenses including GPL, LGPL, MPL.The source code can be downloaded from: by running: ./ To print colour syntax-highlighted code choose File > Print > Print to HTML file and choose a… Read more »

Wii WBFS on Ubuntu

I could not find a way to reduce thee size of a WBFS partition (although there is surely someone working on this) so…To delete, resize partitions use Gparted as normal and create some empty space. To create (initialise) new WBFS partitions in unallocated space use WBFS Manager details here. This tool also allows managing games… Read more »

Ubuntu Convert YouTube Video to MP3

Having recently heard an acoustic version of VV Brown’s Shark in the Water I wanted an audio file I could listen to until it is released in 2 weeks. There was an acoustic version in a London Cab on Youtube so: I grabbed the youtube video using youtube-dl (get it with Synaptic) youtube-dl “” I… Read more »

Install LAMP on Ubuntu

For local development to install Apache, MySQL, PHP: apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin Configuration files are in /etc e.g./etc/apache2/etc/php5/etc/mysql/etc/phpmyadmin Deamons are started by default so just visit http://localhost An alternative is to use Tasksel: sudo tasksel install lamp-server

Linux Web Filtering with OpenDNS and a Dynamic IP Address

Motivation Parental Control / Protecting my kids from some of the nastier stuff on the web is my motivation. On M$ Windows there are commercial offerings such as NetNanny. On Linux I had briefly tested and used Squid with DansGuardian – likely more accurate with word filtering but a little resource intensive for my daughters… Read more »

PhotoRec Easy Linux File Recovery

I was copying some photos from my wife’s Fuji camera when the photos disappeared from view – obviously not something I caused!Anyway after the initial panic I found PhotoRec which can be downloaded from the CG security website or can be installed on Ubuntu using Synaptic (package name is testdisk). I was hoping for something… Read more »

Tor and Privoxy in Ubuntu

Tor is a free implementation of anonymity network which protects your privacy over the internet. Tor enable this by providing virtual tunnels to internet application through SOCKS interface. This post will show you how to setup and use Tor to browse the web anonymously. First of all you need to install tor and privoxy package… Read more »

Freecom Media Player with Samba

Instructions here for setting up Samba with the Freecom Network Media Player.

Default Gateway Location

Centos and Red Hat:/etc/sysconfig/network NETWORKING=yesNETWORKING_IPV6=noHOSTNAME=myhostGATEWAY= Ubuntu/Debian:/etc/network/interfaces gateway Command Line: route add default gw