[Solved] vlc: missing mandatory argument `–user-agent=”VLC media player”‘

Yesterday after upgrading the packages VLC refused to start giving out following error message: VLC media player 1.1.1 The Luggage (revision exported) vlc: unknown option or missing mandatory argument `–user-agent=”VLC media player”‘ Try `vlc –help’ for more information. To solve the error, just reinstall vlc: sudo apt-get install vlc Cheers!

[HowTo] Use mutt with msmtp

Mutt is a small but very powerful text-based mail client for Unix operating systems. Msmtp is a smtp client which is available for Linux as well as windows. Configuring mutt to work with msmtp is fortunately quite easy. Here’s a tutorial teaching the same. Step 1: Find the executable path of msmtp: which msmtp Step 2: Just open… Continue reading [HowTo] Use mutt with msmtp

[HOWTO] Send emails(using mail function) from localhost in PHP through msmtp (using gmail account) on Linux

There’ve been lots of times when I wanted to use the mail() function on my local server. I am sure lots of you would’ve been wanting it too but most of you would’ve settled for PHPMailer or just used a web host to test the code instead. I myself had been doing the same until recently when I finally decided to… Continue reading [HOWTO] Send emails(using mail function) from localhost in PHP through msmtp (using gmail account) on Linux

[HowTo] Configure msmtp to work with gmail on linux

Msmtp is a small but powerful and highly customizable smtp client. You can access gmail smtp using msmtp, which is exactly what I’ll teach in this tutorial. Step by step instructions: Install msmtp and ca-certificates for use with SSL: sudo apt-get install msmtp ca-certificates We’ll create and edit the configuration file using Gedit: sudo gedit… Continue reading [HowTo] Configure msmtp to work with gmail on linux

[SOLVED] No module named gtkhtml2

I came across this error while trying to run BloGTK. I tried installing it from repositories but it failed: sudo apt-get install python-gtkhtml2 Reading package lists… Done Building dependency tree Reading state information… Done Package python-gtkhtml2 is not available, but is referred to by another package. This may mean that the package is missing, has been… Continue reading [SOLVED] No module named gtkhtml2

Extract almost any archive through terminal using a single command in linux

I came across this simple script on ubuntuforums which I thought was really very useful and worth sharing it on my blog. You can either make a function out of it and put it in .bashrc file or make an executable script and put it in /usr/bin/. Method 1: Open your ~/.bashrc file using any editor. gedit… Continue reading Extract almost any archive through terminal using a single command in linux

Google Sputnik Test – Opera 10.6 vs. Firefox 3.6.6 vs. Google Chrome 5.0.375.86 on Ubuntu

I was free, so just decided to see how browsers compare on Google’s sputnik test. Its a test about javascript conformance. Well, here’s the introduction from site: Sputnik is a JavaScript conformance test suite containing over 5000 tests. It tests how well a JavaScript implementation adheres to the ECMA-262 specification version 5, looking only at those… Continue reading Google Sputnik Test – Opera 10.6 vs. Firefox 3.6.6 vs. Google Chrome 5.0.375.86 on Ubuntu

[HOWTO] Reset MySQL root password on Ubuntu when you’ve forgotten it

To err is human. Humans forget things, MySQL root password is one of those things. However, its not very difficult to reset the root password if you have root access to the machine. The tutorial does seem a bit long because of all the alternate ways to kill and start the mysqld, but trust me… Continue reading [HOWTO] Reset MySQL root password on Ubuntu when you’ve forgotten it