Pseudo but awesome portable chrome.

This is a nifty little script which I use for google chrome portability. There is no proper portable chrome app with proper update functionalities.

The procedure:

  • Download the zip file: (~70kb)
  • Extract it in your pen drive.
  • Copy any existing Chrome installation from C:\Documents and Settings\<username>\Local Settiings\Application Data\Google (Win XP) or C:\Users\sudhansh\AppData\Local\Google to the unzipped chrome folder. Match the folder structure already made in the directory.
  • Thats it!
  • Run chrome.bat whenever you need to use your portable installation/profile.

How does it work:

  • As Google Chrome installs itself in the local app settings directory of Windows, I copied it. The directory also contains a subdir for the user profile with all the settings, extensions etc.
  • The chrome folder contains a chrome.bat file which when run, does either of the following 2:
    • If it finds an already existing chrome installation on a comp it runs it using MY personal profile. Local resources give better performance.
    • If it doesn’t find any installation, it uses my own installation as well as the profile.

TODO: If the existing installation on a comp is updated one, update my installation to that one. Will do that when I boot into windows next time :).

Google Chrome: Sharing Profiles with a Linux OS

Some of you might be wondering how to share a google chrome profile between a windows and a linux operating system. Copying or creating a symbolic link doesn’t seem to work as the extensions go haywire. The reason is the use of “\\” in the profiles created in windows. Use the following command to change the path names in the Preferences file to use a ‘/’ instead of ‘\\’.

sed -i ‘s/\\\\/\//g’ ~/.config/google-chrome/Default/Preferencesas

Happy chroming! Its still the fastest starting browser.


Tata Photon – How to obtain Usage details

There are many ways. But my favorite is to use a bookmark for the official usage site:<your photon phone number>&SOURCE=postpaidMCCI&d-4030679-p=1

This is for postpaid connections, for prepaid, I do not have any clue. If your accounts page shows the usage stats, you can open the frame in a new tab and get that link.

The only drawback is that its not real time. The delay is generally of 3hrs, but sometimes it may go upto 12 hrs, depending on the server updates. For real tme updates, I use:
Windows: Networx.
Linux: vnstat with its php frontend. &


Tata Photon – get rid of the ugly dialer.

Thankfully, and obviously the installation is too simple. Its windows we are talkng about!

But then again, its windows we are talking about. So, there is no option of autoconnect. And I hate the default dialer provided by Photon. It sucks. So a few tweaks, that are kind of a must, at least for me:

My Device: Tata Photon Olive VME101

1. Disable the dialer’s autorun on windows startup through its settings.

2. Use rasdial to connect, via batch files. rasdial is the dialup utility for windows.

Make the following two batch files and use them via a desktop shortcut or anything:

connect.bat —> rasdial “TATA HSIA” internet internet

The parameters are: connection name, username, password. You may also provide phone number via: /phone:#777, but its not needed.

disconnect.bat —>  rasdial /disconnect

3. Still a restart causes the drivers to unload and the device is detected as a storage device instead of a usb modem. Hence, to fix that, I wrote another batch file whose shortcut lies in the user startup folder so that it gets executed on every windows login.
start /d C:\Windows\system32 devcon disable *DEV_001C*
start /d “C:\Program Files\TATA Photon+\Olive\VME101\Drivers” OliveDcService.exe
  start helps us in executing commands simultaneously in different command windows.
The first command is to disbale my wifi on startup. You can use this gude for the same:
The second command load the drivers for my Photon device which establish it as a usb modem. For your device, check in your dialer’s installation folder.

That’s it!

Two things:

  • Still its not exactly autorun on plug-in like xubuntu, but its quite close. I plug my device and use executor to connect to internet via a hotkey instead of the batch files. Simple and elegant!
  • Probably copying the driver startup exe (OliveDcService) somewhere else and uninstalling the dialer would also work. But haven;t tried yet. If someone does, do post in the comments.

I am figuring a way out to autorun a command on a non-storage device plug-in. If I find one, will definitely let it out in the open.

Till then, ciao!

FDM: Free Download Manager

All those who were fed up with the FDM not integrating with chrome (like me) have to have a go at the new 3.5 beta version. It supports the chrome integration brilliantly and in a much better way than any other out there – Orbit or DAP..

Also I strongly suggest using a download manager even if you don’t like it/have a less resourceful dabba. It will definitely boost up your downloading spree :). If you use a limited connection though, you might wish to take a back seat!

Apps I can not live without (Windows)

This is not a priority order, but just a collection of 10 favorite utils.

1. Everything – An ultimate ntfs drive search utility. Takes less than a minute to scan (first time/any time) a 1tb drive! Wish for its linux version as well.

2. CCleaner – Great app to clean up the desktop, registries, and unwanted waste. Also uninstalls programs the easier way and much more. The other products from piriform – defraggler, recuva are also very useful.

3. Microsoft Security Essentials – Windows has been doing a great job especially since the last year. I love this nifty little antivirus/anti-spyware program.

4. Dropbox – Immensely useful if you do not have a static workstation. gives a plethora of other alternatives as well, but I have been kind of habituated to it.

5. PDFCreator – One of the best PDF Creation tools. I used to use CutePDF Writer which creates a pdf printer on  your machine and a simple print operation generates pdf. PDFCreator does the same and more brilliantly. It even creates a single pdf from multiple files – just select all, right-click and print. Awesome!

6. Q-Dir – There are a lot of explorer replacements. But this one is one of the simplest multi-pane utility I have seen.

7. Executor – Another gem. If you have ever used a launcher (launchy, gnome-do…), you will love this. Way more flexible and way less resource-hogger. Includes file-indexing, custom urls, hotkeys and what-nots.

8. Geany – The best replacement for Notepad. I like it more than Notepad++ or any other utility out there.

9. Sumatra PDF – Very light weight PDF reader. If I am on a decent desktop that can easily support Vista/7, the free version of PDF-Exchange is what I use.

10. foobar2000 – If I listen to a song, its on foobar. It is crazy but I download foobar (if its not there) before listening to any song at a comp. Again in my linux wishlist (though I use it with wine).

Apart from these, Chrome/Opera browser (Chrome seems faster, Opera for bad net connections), 7-zip, VLC are also kind of a must for me. Partition Master, WinCDEmu, ReNamer are added bonuses.