Though I already have a remote for my laptop, but this anyremote thing is just awesome. We can use any bluetooth compatible mobiles ( ok, most of the them ) as a remote. I am using ganyremote (gui for anyremote) and blueman (gui for connecting bluetooth devices). So the process is as follows:
# apt-get install ganyremote blueman
Make sure that you can connect your mobile using blueman.
Download the appropriate java client's jar / jad file from
http://anyremote.sourceforge.net/dload.html and install it on your mobile. Now start the ganyremote and start its server (can use execute button on the ganyremote applet). And then start anyremote-client on your phone. Then search in anyremote-client for other devices and press connect to connect the computer. Voila ! I was able to control gmusicbrowser from the mobile.
Next aim is to write a config in ganyremot to be able to switch of computer remotely.