Thursday, July 23, 2009

Google Chrome : Incognito mode (private browsing)

Today i think many people are using the Google Chrome as web browser. It not only gives a new interface but also fast browsing.

It have auto speed dial to remember the pages you visit, so that next time you simply click to move their. It have so many of features one is Incognito mode.

Incognito Mode also knows as private browsing. It allows you to browse without leaving the trace in history, cookies, on your computer after you close this.

To activate press Ctrl + Shift + . The new window will appear with the spy kind of icon on left corner. Rest everything remains same in interface.

Change locale in ubuntu

Sometimes we need to change the locale for some testing purpose or general shift to new. To change the locale in Windows is accomplished by Control Panel -> Regional Settings.

To change the same in the Ubuntu there are set of commands available.

To see current locale open terminal and run command 'locale'

If you know the locale you want to change to you should do following steps

1.add the locale in /var/lib/locales/supported.d/local
Eg : en_US.UTF-8

2. Regenerate the locale
dpkg-reconfigure locales

3. update locale using
update-locale LANG=en_US.UTF-8

Reboot the machine and again check the locale. It will be changed.

If you want to see the lost of supported locale
open /usr/share/i18n/SUPPORTED

We can make all the locales. Open terminal and run following commands

xyz@local: sudo su
root@local: cat /usr/share/i18n/SUPPORTED > /var/lib/locales/supported.d/local
root@local: dpkg-reconfigure locales
root@local: update-locale LANG=en_US.UTF-8

Reboot the machine and we are done.

Note : It will change the language of the PC so be careful Don't use this unless you are sure what you are about to do. In any case you can again set your locale to default and reboot.