search

Loading

Tuesday, July 30, 2013

How to fix the "built in speaker not working" issue in laptops with Ubuntu 13.04 (UEFI)

Recently I have bought a new Sony Vaio touchscreen laptop with Windows 8 UEFI boot (laptop is really good and I highly recommend it) . It was fairly easy to install Ubuntu 13.04 along side windows 8. I was successfully able to dual boot Windows 8 and Ubuntu in this laptop.

In Windows 8 as expected everything worked perfectly out of the box but it was a different story in Ubuntu. I have spent almost 3 weekends for a solution and finally found the solution from some of the old bug reports dated back to Ubuntu 8.04.

Friday, July 12, 2013

How to save using vim editor with sudo privilege

Some times we will start editing the configuration files or the files which need root privilege in vi/vim and once we are about to save it, we will understand that we haven't edited it with sudo privilege.

It may be almost impossible to think quitting the editor without saving (:q!) and start it all over agin.

Thursday, June 27, 2013

Install flite (festival lite) text to speech system in linux

Flite is text to speech engine for linux. It is based on festival speech synthesis system. Most of the linux sytems comes with flite in its package manager. It's just a apt-get on debian based or yum install in rpm based systems.

For example, you can install it on centos with below command:

Sunday, June 23, 2013

How to download files recursively using wget as ftp client

I like to use rsync for scp for transferring files from another server whenever possible. But sometimes, we will be limited to use ftp for the same task due to different ssh port than the standard 22 as scp and rsync uses ssh.

Downloading each file separately one after another is tedious task than recursively download them. We can use wget with ftp protocol for recursively downloading files from another server. We will find out how to do this below.

How to autostart dropbox linux client daemon at server reboot

We have seen the script to start dropbox linux client daemon to start automatically if it is getting killed before. But how to autostart the client at server reboot?

As usual we can add the script to cronjob to take care of this. We will find this how below.