LinuxCommandLibrary

chromium

the web browser from Google

TLDR

Open a specific URL or file

$ chromium [https://example.com|path/to/file.html]
copy


Open in incognito mode
$ chromium --incognito [example.com]
copy


Open in a new window
$ chromium --new-window [example.com]
copy


Open in application mode (without toolbars, URL bar, buttons, etc.)
$ chromium --app=[https://example.com]
copy


Use a proxy server
$ chromium --proxy-server="[socks5://hostname:66]" [example.com]
copy


Open with a custom profile directory
$ chromium --user-data-dir=[path/to/directory]
copy


Open without CORS validation (useful to test an API)
$ chromium --user-data-dir=[path/to/directory] --disable-web-security
copy


Open with a DevTools window for each tab opened
$ chromium --auto-open-devtools-for-tabs
copy

SYNOPSIS

chromium [OPTION] [PATH|URL]

DESCRIPTION

See the Google Chrome help center for help on using the browser. This manpage only describes invocation, environment, and arguments.

OPTIONS

chromium has hundreds of undocumented command-line flags that are added and removed at the whim of the developers. Here, we document rela‐ tively stable flags. -h or --help Show help output. -g or --debug Start a debugging session within /usr/bin/gdb. --temp-profile Use a throw-away/temporary profile for this session. This cre‐ ates an entirely new user profile temporarily. It is not the same as incognito mode. --enable-remote-extensions Allow installation and updates of remote extensions. --user-data-dir=DIR Specifies the directory that user data (your "profile") is kept in. Defaults to $HOME/.config/chromium . Separate instances of chromium must use separate user data directories; repeated invo‐ cations of chromium will reuse an existing process for a given user data directory. --app=URL Runs URL in "app mode": with no browser toolbars. --incognito Open in incognito mode. --new-window If PATH or URL is given, open it in a new window. --proxy-server=host:port Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests. This overrides any environment variables or settings picked via the options dialog. An individual proxy server is specified us‐ ing the format: [://][:] Where is the protocol of the proxy server, and is one of: "http", "socks", "socks4", "socks5". If the is omitted, it defaults to "http". Also note that "socks" is equivalent to "socks5". Examples: --proxy-server="foopy:99" Use the HTTP proxy "foopy:99" to load all URLs. --proxy-server="socks://foobar:1080" Use the SOCKS v5 proxy "foobar:1080" to load all URLs. --proxy-server="socks4://foobar:1080" Use the SOCKS v4 proxy "foobar:1080" to load all URLs. --proxy-server="socks5://foobar:66" Use the SOCKS v5 proxy "foobar:66" to load all URLs. It is also possible to specify a separate proxy server for dif‐ ferent URL types, by prefixing the proxy server specifier with a URL specifier: Example: --proxy-server="https=proxy1:80;http=socks4://baz:1080" Load https://* URLs using the HTTP proxy "proxy1:80". And load http://* URLs using the SOCKS v4 proxy "baz:1080". --no-proxy-server Disables the proxy server. Overrides any environment variables or settings picked via the options dialog. --proxy-auto-detect Autodetect proxy configuration. Overrides any environment vari‐ ables or settings picked via the options dialog. --proxy-pac-url=URL Specify proxy autoconfiguration URL. Overrides any environment variables or settings picked via the options dialog. --password-store= Set the password store to use. The default is to automatically detect based on the desktop environment. basic selects the built in, unencrypted password store. gnome selects Gnome keyring. kwallet selects (KDE) KWallet. (Note that KWallet may not work reliably outside KDE.) --version Show version information. As a GTK+ app, chromium also obeys GTK+ command-line flags, such as --display. See the GTK documentation for more:

ENVIRONMENT

chromium obeys the following environment variables: all_proxy Shorthand for specifying all of http_proxy, https_proxy, ftp_proxy http_proxy, https_proxy, ftp_proxy The proxy servers used for HTTP, HTTPS, and FTP. Note: because Gnome/KDE proxy settings may propagate into these variables in some terminals, this variable is ignored (in preference for ac‐ tual system proxy settings) when running under Gnome or KDE. Use the command-line flags to set these when you want to force their values. auto_proxy Specify proxy autoconfiguration. Defined and empty autodetects; otherwise, it should be an autoconfig URL. But see above note about Gnome/KDE. SOCKS_SERVER SOCKS proxy server (defaults to SOCKS v4, also set SOCKS_VER‐ SION=5 to use SOCKS v5). no_proxy Comma separated list of hosts or patterns to bypass proxying.

FILES

$HOME/.config/chromium Default directory for configuration data. $HOME/.cache/chromium Default directory for cache data. (Why? See .)

BUGS

Debian bug tracker: http://bugs.debian.org/chromium-browser Upstream bug tracker: http://code.google.com/p/chromium/issues/list Be sure to do your search within "All Issues" before reporting bugs, and be sure to pick the "Defect on Linux" template when filing a new one. If your bug is specific to Debian, please submit it only to the Debian bug tracker. http://www.debian.org/Bugs/Reporting

AUTHOR

The Chromium team - chromium(1)

Copied to clipboard