Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Thanks!

share|improve this question

2 Answers 2

up vote 2 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

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.