Latest Tips & Tricks, Softwares

Move or remove close buttons on tabs in Firefox

Firefox is really superb browser, great support of addons, themes for your taste, faster browsing, etc. Apart from that, firefox also have tweaking support for software hackers or tweakers using about:config

Many times while switching in between tabs, we accidentally click the close button in tabs. So here is the trick to avoid these accidental clicks on cross close buttons. We can change or move the position of that cross close button in firefox or even we can remove it from tabs.

So, follow these steps to hack your firefox.
Open new blank tab and type about:config in address bar and press enter.

This will ask you about warranty violation, Ignore that and click “I will be careful, I promise..!” and yes be careful while editing anything in this.

Now search for browser.tabs.closeButtons in column “Preference name”.

Now set the value as per following table and needs.

# 0:Display a close button on the active tab only [I am using this]

# 1:(This is Default) Display close buttons on all tabs.

# 2:Remove close buttons from all tabs [You can close tabs using middle mouse click]

# 3:Display a single close button at the end of the tab bar (Firefox 1.x behavior)

To change the value just double click on the row.

Local DNS Cache for Faster Internet Browsing on your Ubuntu Machine

A DNS server resolves domain names into IP addresses. So, when you request "www.google.com" for example, the DNS server finds out the address for the domain, and sends your request the right way.

You can run a DNS cache on your computer. This will speed up the process of looking up domain names when browsing. The difference is about 30-60 ms for me. Multiply that difference by the number of websites you visit a day for an approximate estimate of the speed improvement. Of course, all this would be worth it if it weren't for the fact that setting this up is way too easy.

The following instructions are for someone with a cable (broadband) internet connection, where the computer gets it's local IP address using DHCP from the router in your house/office:

The package we will be using for caching nameserver lookups is called dnsmasq. So first, install it using:

sudo apt-get install dnsmasq

(If you can't find then, then you probably haven't added the Universe repository to your list of repositories.)

No uncomment the following line (that is edit the line to NOT have a "#" in the beginning) in the file /etc/dnsmasq.conf:

Run in terminal:

sudo gedit /etc/dnsmasq.conf

Find listen-address= and change to listen-address=127.0.0.1

Now edit /etc/dhcp3/dhclient.conf and make sure the section below exactly like this, especially the line that says "prepend domain-name-servers 127.0.0.1;"

sudo gedit /etc/dhcp3/dhclient.conf

#supersede domain-name "fugue.com home.vix.com";
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;

Explanation for the above change: In the normal case, when you get a new dhcp lease, the dhcp3 client (tool) on your computer gets a new lease, and updates the /etc/resolv.conf file on your computer with the right values for the DNS servers to use (usually some machine in the network of your hosting provider). Adding the "prepend" option as we did above ensures that "127.0.0.1" will appear on the top of the list of DNS servers. That magic number refers to your own computer. So in the future, whenever your computer needs to resolve a domain name, it will forward that request to dnsmasq (which is running at 127.0.0.1 - your computer). If the details for the domain name are already in you cache, well and good, dnsmasq will serve it up and make the process real fast. If it is not in the cache, then dnsmasq will look at the /etc/resolv.conf file and use the nameservers listed below the "127.0.0.1". I hope that explains things.

Now open the file in your text editor. It probably looks like:

# Generated by NetworkManager
nameserver 218.248.241.5
nameserver 8.8.8.8

The 127.0.0.1 is missing right now since you haven't renewed your lease after you edited the /etc/dhcp3/dhclient.conf file. So, let us add that in manually this one time. After you do, your /etc/resolv.conf file will look like the following:

# Generated by NetworkManager
nameserver 127.0.0.1
nameserver 218.248.241.5
nameserver 8.8.8.8

"Don't worry if the numbers are different"

Okay. We are almost done here. All we have to do now is to restart dnsmasq so that the changes we made to the configuration file take effect. You can do that using the command:

sudo /etc/init.d/dnsmasq restart

Now you are running a local DNS cache. If you want to measure your speed improvement, type the command:

dig google.com

You will see something like ";; Query time: 42 msec" there.
Now type the command again, and you should see something like ";; Query time: 0 msec"

See, the first time, since www.google.com's details were not in your cache (you are using it for the first time), the query took 42 ms. The second time, the cache speeds up the lookup. I have been using this for over a month now, and haven't had any problem.

Why I prefer Firefox over Internet Explorer

Microsoft Internet Explorer, one of the most used internet browser, but why ?
Its all due to Microsoft's Windows operating systems. Internet Explorer comes inbuilt with all operating systems provided by Microsoft. This is my its so popular that many people even doesn't know that there are few other browser exists and many of the general public think that internet means opening the Internet Explorer and typing the website name and start surfing..!! (Check out my trick to increase the browsing speed of internet Explorer)

But now a days one browser is challenging the Microsoft. Its Mozilla Inc.’s Firefox.

Firefox is one of the best Browser made ever, it has many features with super security and high flexibility. Firefox was the browser for Linux, but now it is being used in almost all OS.

Now Microsoft is coping the Firefox like styling for example Tabbed Browsing, Warning before closing the browser, etc.

Some of the best features of Firefox are listed below

1.Themes – Firefox do provide huge theme collection to make our browser as per our mood.

2.Security – Firefox warns users when ever there are few risks in connection like no encryption in ssl pages etc.

3.Plug-in support – Plug-In support is one of the best feature of Firefox which makes it better that Internet explorer. You can download and install the plug-ins in your firefox browser to make it work as your needs.

4.Tabbed browsing – In Internet explorer when ever you open a new site in new window, it creates a problem, it clutter up the taskbar. but in Firefox no need to open new window, everything is tabbed, i.t one Window but multiple site browsing.(Microsoft is using this feature in there new IE7).

5.Faster browsing – Firefox’s cache system is very powerfull, it stores many frequently using sites cache so that next time when you open the site , it will load quicker.

There are many such features , but i listed few (If you thing I missed something important please inform me, do comment here).

I highly recommend your to download the Firefox and start using it.

Download now
http://www.mozilla.com/firefox/

How to make INTERNET EXPLORER faster

You have high speed ADSL broadband at PC,but still facing low speed in IE (INTERNET EXPLORER )
so here are few steps that will help your to get better speed in IE

1. Click start > Run

2. Type regedit > Enter

3. Browse folder HKEY_CURRENT_USERSoftwarem*cro$oftWindowsCurrentVersion
InternetSettings

4. Right click @ windows right > New > DWORD

5. Type MaxConnectionsPerServer > you can set value (the more higher the no., the more good
speed you get, eg : 99)

6. Create another DWORD >type MaxConnectionsPer1_0Server

7. Then enter any higher values in that section

8. Then, restart IE … ur finished.

This Trick will increase your browsing speed as well as downloading speed.

Download a Free Image resizer ? a small software by Microsoft.

Now a days the camera resolutions are increasing just like cost of petrol. 2MP – 3.2 MP —– 10MP….12MP .. !! ohh… The size of such images is also very huge ranging from 1 MB to more than 10MB. E-mailing such huge images is really hectic task, upload that huge image and the receiver will download that huge image.

Even for storage you need small images from your collection of high resolution images, if the resolution of images is smaller then you can store maximum images in your CD or Pendrive or computer, etc.

Some times u need to resize images for your other needs like resizing images for small device screens like cell phones wallpapers, etc. Webmaster, bloggers also need software to resize images to post them into there websites or blogs. So for many purpose we need a good image resizer software.

Microsoft, worlds largest and most popular software firm, yes.. the owner of Windows operating system which most of us use. So this software is a power toy for your windows operating system, developed by Microsoft and yes Its free !!

Its very tiny software, just 521 KB in size and works super fine for resizing the image for home use.You can resize images at specific size of according to standards like 1024×768, 640×480 etc etc.

DOWNLOAD
Microsoft Image Resizer
(.exe file) Direct link from Microsoft.com
Size : 512 KB
Purpose : to resize images.

After installing the software, just right click the image and click on “Resize pictures” you will get the options to resize your images as per your needs.