Linux Commands Examples

A great documentation place for Linux commands

x-www-browser

Fast and secure web browser and Internet suite

Synopsis

opera [options] [URL...]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

1
source
            
rst2html README.rst README.html
x-www-browser README.html
0
source
            
$(which x-www-browser >/dev/null && echo "x-www-browser" || echo "open") $(git url "$@")
0
source
            
coverage html
x-www-browser "file://$PWD/htmlcov/index.html"

description

Opera is a graphical Web browser available on several platforms. The desktop version described in this manual page runs on GNU/Linux and FreeBSD. Versions for Windows and MacOS X are also available.

bug reports

If you find a bug in Opera please report it to https://bugs.opera.com/wizard/

command line options

These support both double and single dash as prefix. Several other options are also supported, notably including many generic X Toolkit options; see --help output for details.
--personaldir
path
--pd
path

Use path as personal configuration directory (ignore default location).

--remote command

Send command to an existing Opera window. See "REMOTE COMMANDS" section below.

--nomail

Start Opera without internal e-mail client (also disables chat and newsfeeds).

--nosession

Do not open a saved window session or homepage.

--noshape

Suppress X shape-extension for widgets, to make their full underlying rectangle visible (useful for debug).

--nowin

Do not open any document windows.

--version

Display version information and exit.

-h, --help

Print option summary and exit.

configuration directory

Private data for each user is stored in a personal configuration directory. By default this is ~/.opera but you can override this by setting OPERA_PERSONALDIR (for example in your login shell’s standard configuration file) to a location of your choosing; or by passing a chosen directory with the --personaldir command-line option. For the most part it is best to access the files in this directory via the preference and appearance dialogs - accessed either from the Tools menu of the Opera user interface or via a keyboard shortcut: type Alt+P for the main preferences dialog, Shift+F12 for the appearance dialog or simply F12 for a menu of the more commonly set basic preferences from each. (You can control Opera entirely from the keyboard, including any of these dialogs; to dismiss a dialog, use the Esc key.)

Most files in the directory have names which express their functions. Many of them have backups saved in *.bak files. The file operaprefs.ini in this directory records most user preferences. Entries in it can override the locations of some of the other files; this description relates each to its default location. A fuller account of the operaprefs.ini file may be found at http://www.opera.com/support/usingopera/operaini/. Bookmarks are recorded in bookmarks.adr, and global browsing history is recorded in global.dat; browsing histories for individual tabs are a part of the session state saved as files in sessions. In this sub-directory, the state of the current session is saved in autosave.win; other sessions may be saved (see the Sessions sub-menu of the main File menu) to other files in this directory. It is prudent to save such a named session before starting up Opera with a radically new version (especially if it is a beta release).

environment variables

OPERA_PERSONALDIR

Override default personal configuration directory

OPERA_STRICT_FILE_PERMISSIONS

Use owner-only permissions for all files created (as if by umask 077) if set to YES, TRUE (case insensitively matched) or 1. Otherwise honour umask setting in the normal way.

OPERA_SYSTEM_UNAME

Override the operating system name. If set, Opera will use this value as part of the User Agent string instead of trying to detect the operating system.

files and directories

/usr/lib/opera

Installation directory for Opera binaries, with a separate plugins sub-directory for plugins.

/usr/share/opera

Opera shared resource directory. Contains assorted data files.

/etc/operaprefs_default.ini

Default settings for Opera configurations; may be overridden by the operaprefs.ini in a user’s personal configuration directory.

/etc/operaprefs_fixed.ini

System settings for Opera configurations; cannot be overridden by users.

~/.opera

The default personal configuration directory.

remote commands

Since commands include parentheses, which have special meaning to the shell, it is important to enclose remote commands in quotes, like --remote ’openURL()’ so as to prevent the shell from interpreting the parentheses. In the following, destination is one of new-window for a new window, new-page for a new page (or tab) or background-page for a new background page (opened in an inactive new tab).
openURL()

Open "Go to" dialog box prompting for input.

openURL(URL)

Open URL in active window.

openURL(URL,destination)

open URL in destination window, tab or background.

openFile(destination)

Open file selector in destination window or page (background not supported).

openM2(new-window)

Open Opera mail client list view in a new window.

openComposer(new-window)

Open Opera mail composer in a new window.

addBookmark(URL)

Add URL to bookmark list.

raise()

Raises the Opera window.

lower()

Lowers the Opera window.


see also

Output from opera --help for a fuller list of supported options.

http://www.opera.com/docs/switches/ for an on-line account of the supported options.

http://help.opera.com/ for more general on-line help (also available via the Help menu on Opera’s main toolbar).


author

This program was written by Opera Software ASA http://www.opera.com/. Please refer to /usr/share/doc/opera/copyright for more information.

How can this site be more helpful to YOU ?


give  feedback