Can I make new tabs open in my default Chrome(ium) profile?

I am using Chrome and Chromium 16.0.912.75 (from the stable channels). I find the profile feature really useful. However, when new tabs are opened, or when I launch Chrome for the first time, the window/tab opens in the last profile I was using, not the default one.

Instead I'd like new tabs opened from external applications, and the first window opened by the launcher, to use the same profile every time. If there is already a Chrome(ium) window open for that profile, the new tab should appear there. If that profile does not already have a window, a new window should be opened for it.

My current workaround has been to make all my profiles in Chrome, and a single profile in Chromium. One profile in Chrome is synched with the Chromium one via my Google account. Chromium is my default browser. This way, all new tabs are opened in Chromium, in my preferred profile. If I want to access the other profiles, I use Chrome. I'd much prefer to keep it simple!

I know I could make my own Chrome .desktop file to force opening in the new profile every time, but the "memory" issue would remain for new tabs. According to this SuperUser question it is kinda possible in Windows with some registry editing. Is there any way to force new tabs to open in specific profile in Ubuntu?


ATTENTION! The description below applies to Google Chrome. For Chromium instead of ~/.config/google-chrome you have ~/.config/chromium!

In ~/.config/google-chrome/ you will see your profile folders. Let's say, you have beside the default (named Default) an another one called d3vid which you want to make default.

I give you two options:

  1. Rename the Default to something else, and your profile to Default:

    mv Default Default_old; mv d3vid Default
  2. Move Default to a better name, and create a symlink to your preferred profile:

    mv Default My_cool_profile; ln -s ~/.config/google-chrome/d3vid ~/.config/google-chrome/Default

chromium-browser --help

reveals:

   --user-data-dir=DIR
          Specifies  the directory that user data (your "profile") is kept
          in.  Defaults to ~/.config/chromium  .   Separate  instances  of
          Chromium must use separate user data directories; repeated invo‐
          cations of chromium-browser will reuse an existing process for a
          given user data directory.

maybe you can make a script or update your links.