Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Linux Mint - Debian edition (with Gnome2) on my HTPC with Boxee on top. Boxee is set to start automatically at login in Gnome2 and that works fine, but I am also looking to start Chrome after login - or a Chrome app - somewhere in the background in case I want to do other things besides using Boxee. The problem with this is that Chrome steals the focus from Boxee when it starts.

I know that Chrome has a "-start-maximized" flag, but do you know of any way to make it start minimized, or in the background or just tell it not to steal focus?


share|improve this question
up vote 5 down vote accepted

Latest version of Chrome also has a parameter to run in background.

/opt/google/chrome/google-chrome --no-startup-window

This works fine for me in Ubuntu 11.10 with Google Chrome 15.0.874.106.

There's an option in Chrome's preferences to do that. In wrench menu, under the hood section, there's "Background Apps, Continue running background apps when Google Chrome is closed" checkbox.

In Windows I even have a system tray icon when I enable this option, but in Ubuntu I couldn't get one, but still it works in the background (also it starts in every session automatically).

Hope it helps.

share|improve this answer
Thanks a lot! This really helps. I did manage to do this with Devil's Pie but it would be a lot nicer to do it without an external program. – danakim Jan 10 '12 at 9:15

I have found how to do it using Devil's Pie. It can be installed using sudo apt-get install devilspie

I just matched the google chrome window using the string "Google Chrome".

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .