Sunday, May 2, 2010

Move Control box back to right side in Lucid Lynx

When you install Lucid Lynx, a significant different we can see is the control box (min,max,close buttons) has moved to the left side of the title bar.

For me this is very annoying. I guess most of you feel the same.


If you want to relocate that into right hand side, you can select an old theme.

There is an another way you can do it by without changing the theme.

This is how we can do that.


  1. Press ALT+F2 to get run application dialog box

  2. Type gconf-editor and press Run to get Configuration Editor

  3. In configuration editor goto apps -> metacity -> general

  4. Find button_layout.

  5. You will see the current value of the button layout is “close,minimize,maximize:”

  6. Change that to “:minimize,maximize,close”

  7. You will experience the change instantly






Monday, December 21, 2009

Mobile Partner Redialer

It seems like every mobile broadband (HSPA) connection in Sri Lanka has a very poor Quality of Service.
Initially I used a Dialog HSPA connection.
Due to their poor service recently I switched to Mobitel which was considered as a far better connection compared to Dialog.
But now things have gone wrong again. Mobitel has become a very unreliable connection. Mobitel users cannot say in idle.
It seems like they are disconnecting the idle users in order to accept new users.
If we want to get connected again, we have to keep pressing redial button for 10-15 times. This has become a pain.

I really hate this redialing thing. So I decided to write a small script to automate this.
I’m using a Huawei E220 HSPA modem with the Mobile Partner Software.

I share this small script with you hoping someone will find it useful.

This small program will run in background and keep redial for you (initially you have to press the connect button manually).

You can just wait and watch until it get connected.

This will consume some considerable amount of CPU (due to an endless loop), so make sure that you pause the script when you are not using it.

Demo Video




Download from here


Note – If someone can create a similar thing for Ubuntu it will be greatly appreciated.

Wednesday, December 16, 2009

qProxy - quick Proxy

This is a very simple extension for Mozilla Firefox which has the functionality of enable/disable proxy in a single click.
Actually I developed this extension for my personal usage. I use two connections to connect to the internet. One is the Mobitel HSPA connection (no proxy) and the other one is University Wireless network (proxy enabled).

Every time when I want to switch between networks I have to change the proxy settings.

Tools -> Options -> Select Advanced Section -> Select Network Tab -> Connection Settings -> Select No proxy or Manual Proxy

For me going through this series of steps each and every time to change the network is annoying.
So I decided to create a small extension to enable/disable proxy in a single click.

I didn’t put much effort to build this one. It cost me about 30min to come up with this solution.

For the first time you have to set the proxy settings at the Connection Settings window.

After installing qProxy an icon which indicates current proxy status will appear on the status bar. You can simply click on that icon to enable/disable proxy.


Download from here