Opera command line options?

  • I'm wondering if Opera 15+ admits command line options like described here for 12 or earlier?

    All I get when I run -help are the feature switches, i.e., flags:

    $ /Applications/Opera.app/Contents/MacOS/Opera -help
    Opera 23.0.1522.75 Stable
    Features available through command-line switches:
    	--with-feature:accessible_panes : Enables keyboard navigation between various focusable panes (toolbar, tab bar, web content) by means of the shortcuts F6, Shift+F6, and F10. [Enabled by default: false]
    	--with-feature:activation-order-tab-cycling : Enables tab cycling in activation order rather than tab strip order. [Enabled by default: false]
    	--with-feature:warn-about-insecure-content : Enables a warning before insecure content is loaded over HTTPS. [Enabled by default: true]
    ......
    

    There seem to be no ways to get behaviors like newwindow, newtab, activetab, etc. as seen in Opera 12 or earlier. One particularly annoying thing is that if there's no GUI window currently open, then I can't open a new window/tab from the command line:

    $ /Applications/Opera.app/Contents/MacOS/Opera google.com
    [0813/175422:ERROR:process_singleton_posix.cc(264)] Failed to create /Users/zmwang/Library/Application Support/com.operasoftware.Opera/SingletonLock: File exists
    [0813/175422:ERROR:opera_browser_main_parts.cc(574)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
    

    Anyway to bypass this?

    Thanks.

  • /Applications/Opera.app/Contents/MacOS/Opera https://google.com (you must specify a protocol)

    Documentation for Opera 12 does not apply to Opera 15 and newer. Try running Opera using the --help argument. You can also find documentation on more switches available for Chromium which should—mostly—work in Opera as well.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.