As much as I like the Linux command line, there are times when it’s easier to use a point-and-click interface. One such example is when I need to compare two files in different directories. Typing out the full paths on the console can be tedious whereas it would be much simpler to just drag’n’drop two files from a Nautilus window onto a comparison tool. Unfortunately I didn’t know of any such tool – so I wrote one myself.
Command line magic: Open with VLC
I like to use Linux, currently in the form of Ubuntu 11.10 “Oneiric”. One thing that has been bothering me is the way how default applications are handled. Setting VLC as my video player of choice with the GUI is tedious, but thankfully this is Linux which means a (somewhat long) one-liner on the command line will do the job.