Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
looks like superuser.com/questions/377186/… could be the answer –  d3vid Jan 4 '13 at 6:45

2 Answers 2

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

share|improve this answer
    
thanks, but it is my default profile I'd prefer new tabs to open in, at the moment they open in the last profile used; I've clarified my question to make this clear –  d3vid Jun 6 '12 at 8:36

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.