.recently-used.xbel - The XML Horror

xbel stands for XML Bookmark Exchange Language and .recently-used.xbel file contains list of recently opened files. This file is opened and parsed every time you open a file inside GTK application like eog (Eye of Gnome Image Viewer). This file could grow larger (some times megabytes) and affect the responsiveness of the GTK application. I don't know why GTK team chose XML format rather than something like SQLite which offers faster retrieval and lookup of entries. Assumptions aside lets disable this fracking thing and make your GTK applications much more responsive.

Disable .recently-used.xbel

You should have either .gtkrc or .gtkrc-2.0 in your home directory if not create a new file and add following line to it.

gtk-recent-files-max-age=0

Now restart your gnome environment for faster desktop environment.

mtop - MySQL Monitor

mtop allows you to monitor your MySQL instance in real-time. It shows you uptime of the instance, number of queries executed per second, slow queries, number active threads, etc.

Installation

sudo apt-get -y install mtop

Use following command to watch your MySQL server stats with 1 second refresh interval.

mtop -se 1

Get Awesome

Add following line to your /etc/apt/sources.list

deb http://ppa.launchpad.net/saispo/ubuntu/ intrepid main

Do an update and apt-get awesome to install or to upgrade.

sudo apt-get update
sudo apt-get -y install awesome

You will get latest version of awesome window manager that is far more newer than the one in official repo.

KDE 4.2 Released

kde 4.2 screenshot

Installaing KDE 4.2

Add following line to your /etc/apt/sources.list file.

deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main

Execute following command to install gpg key.

gpg --keyserver keyserver.ubuntu.com --recv-keys 493B3065 && gpg --export -a 493B3065 | sudo apt-key add -

Now do an apt update

sudo apt-get update

Now you can upgrade your existing kde installation using following command.

sudo apt-get -y dist-upgrade

I started using KDE 4.2 and it's pretty usable. It has polished interface and many GUI glitches are fixed.

World Of Goo

world of goo for ubuntu linux

World Of Goo by 2D Boy has been released for Linux. World Of Goo is a physics based puzzle game and offers countless hours of fun. Previously we are able to run World Of Goo on wine with out any problem but It's good to see native port of this popular game.

Get World Of Goo for Ubuntu Linux

Install RPM Packages on Ubuntu

There are many Linux distributions and many package formats. Some times your favorite program is only available in one package format when you need it in another format. That's where alien makes your life easy by allowing you to install foreign packages on your favorite distribution.

Install alien

Use following command to install alien package on your system.

sudo apt-get -y install alien

Using alien

Assuming you have an rpm package named hello.rpm, you can install this package using following command.

sudo alien -iv hello.rpm

That's it you favorite program is installed on your system.

Play any Media file without any Restriction

Medibuntu is the place where you can get proprietary codecs for playing those unplayable media files in Ubuntu.

Setup repositories

Assuming you are using jaunty execute following command.

sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list

If you are into intrepid use following command.

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Now install key and update your cache.

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Make every DVD playable.

Following command will allows your Ubuntu system to access discs protected using region codes.

sudo apt-get install libdvdcss2

Make every exotic media file playable

If you are using 32bit os then use following command. This will install w32codecs.

sudo apt-get install w32codecs

If you are on 64 bit system then use following command. This will install w64codecs package

sudo apt-get install w64codecs

BluePad - Remote Control Your PC From Your Cell Phone

BluePad allows you to remote control movie and music players on your PC from your Cell Phone.

These are the some of the features offered by remote pad.

  • Simulate game pad.
  • Remote control presentations
  • Customizable key mapping.
  • Available in half a dozen languages.

Get Blue Pad for Ubuntu

Enable "Print to PDF"

Use following two commands to enable "Print to PDF" functionality in Ubuntu if it's not already enabled.

mdkir ~/PDF/
sudo apt-get -y install cups-pdf