Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Scheduled logout

In order to introduce new security features and enhance your experience with Opera Forums we had to terminate all sessions that were started before Monday, March 25, 15:00 UTC.
If you find yourself logged out please rest assured that this is completely normal and expected. To participate in the discussions after that date you have to sign-in again using the "Login" button.
Apologies for any inconvenience caused.

Opening an URL from command line without raising Opera?

  • I am trying to open an URL from the command line without bringing Opera to the foreground.

    I have tried:

    opera -noraise -newtab http://www.opera.com/
    
    
    opera -noraise -backgroundtab http://www.opera.com/
    

    But both commands bring Opera to the foreground. The following commands, on the other hand, fail to open the URL, too:

    opera -noraise -remote "openURL(http://www.opera.com/, noraise)"
    
    
    opera -noraise -remote "openURL('http://www.opera.com/', noraise)"
    

    Any help? Thanks.

  • Version of Opera? As far as I know, the remote commands were specific to Opera 12 and earlier. But note, most window managers give a new window focus - that is, what you're asking will probably only work if Opera is already running. But look up commandline arguments for Chromium, if you are using Opera 35.

  • I am using Opera 35. Opera is running already, when I ask it to open a new tab, therefore it is Opera itself that is raising its window, not the window manager.

    I couldn't find any command line flag for Chromium that could fix this issue. Thanks anyway.

Log in to reply