Customized for my own using on ubuntu 12.04