diff options
Diffstat (limited to 'files/es/mozilla/opciones_de_linea_de_comandos/index.html')
-rw-r--r-- | files/es/mozilla/opciones_de_linea_de_comandos/index.html | 448 |
1 files changed, 448 insertions, 0 deletions
diff --git a/files/es/mozilla/opciones_de_linea_de_comandos/index.html b/files/es/mozilla/opciones_de_linea_de_comandos/index.html new file mode 100644 index 0000000000..f6873fbb6c --- /dev/null +++ b/files/es/mozilla/opciones_de_linea_de_comandos/index.html @@ -0,0 +1,448 @@ +--- +title: Opciones de línea de comandos +slug: Mozilla/Opciones_de_linea_de_Comandos +tags: + - Administración + - Documentación + - Linea de Comandos + - Preguntas y Respuestas + - extensiones +translation_of: Mozilla/Command_Line_Options +--- +<p><span class="seoSummary">Las opciones de la línea de comandos se utilizan para especificar opciones de arranque para las aplicaciones de Mozilla.</span> Por ejemplo, es posible utilizar una opcion de la linea de comandos para saltearse el Administrador de Perfiles y abrir un perfil específico (en el caso de tener varios perfiles). También es posible controlar la manera en que las aplicaciones de Mozilla se inician, que componentes se abren inicialmente y que es lo que estos hacen cuando se abren. Esta página describe las opciones mas utilizadas y la manera de usarlas.</p> + +<h2 id="Syntax_Rules" name="Syntax_Rules">Reglas de Sintaxis</h2> + +<p>Primero vamos a describir las reglas de sintaxis que aplican a todas las opciones.</p> + +<ul> + <li>Los parámetros que contengan espacios deben ser encerrados en comillas dobles; por ejemplo, "Usuario Juan".</li> + <li>Al escribir los comandos, pueden usarse mayúsculas y minúsculas.</li> + <li>Al escribir los parámetros de los comandos, también pueden usarse mayúsculas y minúsculas (excepto en el caso de los nombres de perfil).</li> + <li>Espacios en blanco ( ) separan comandos y parámetros.</li> + <li>Cada opción de mensaje tiene la sintaxis <code><var>campo</var>=<var>valor</var></code>, por ejemplo: + <ul> + <li><code>to=</code><span class="nowiki"><code>foo@nowhere.net</code></span></li> + <li><code>subject=cool page</code></li> + <li><code>attachment=www.mozilla.org</code></li> + <li><code>attachment='<span class="nowiki">file:///c:/test.txt</span>'</code></li> + <li><code>body=check this page</code></li> + </ul> + </li> + <li>Separe con coma (,) múltiples optiones del mensaje, por ejemplo: <code>"<span class="nowiki">to=foo@nowhere.net,subject=cool page</span>"</code> . Antes o después de la coma no deben ir espacios ( ).</li> + <li>Para asignar múltiples valores a un campo, enciérrelos entre comillas sencillas ('), por ejemplo: <code>"<span class="nowiki">to='foo@nowhere.net,foo@foo.de',subject=cool page</span>"</code> .</li> +</ul> + +<h2 id="How_to_use_command_options" name="How_to_use_command_options">Usando las opciones de linea de comandos</h2> + +<p>Las opciones de linea de comando son introducidas posteriormente al comando para iniciar la aplicación. Algunas opciones tienen argumentos. Estos son añadidos como opciones de la linea de comandos. Algunas opciones tienen abreviaturas. Por ejemplo, la opción de linea de comandos "-editor" puede ser abreviada como "-edit". (Cuando las abreviaturas estan habilitada, tal y como esta expuesto mas abajo). En algunos casos sera necesario que los argumentos vayan entrecomillados. (Tal y como se puede contemplar el recuadro inferior.) Se pueden especificar muchas opciones de linea de comandos . Por lo general la sintaxis es como la que sigue:</p> + +<pre class="notranslate">application -option -option "argument" -option argument +</pre> + +<h3 id="Ejemplos">Ejemplos</h3> + +<p>Los suiguientes ejemplos muestran el uso del comando "-ProfileManager" , esta opción de linea de comando abre el gestor de perfiles de Firefox o Thunderbird:</p> + +<h4 id="Windows">Windows</h4> + +<p>Seleccione ejecutar en el menú de inicio y escriba:</p> + +<pre class="eval notranslate">firefox -ProfileManager +</pre> + +<h4 id="Mac_OS_X">Mac OS X</h4> + +<p>Vaya a Aplicaciones> Utilidades. Abra un emulador de terminal y tecleé:</p> + +<pre class="eval notranslate">cd /Applications/Firefox.app/Contents/MacOS +./firefox -ProfileManager +</pre> + +<h4 id="Linux">Linux</h4> + +<p>Abra un terminal y escriba:</p> + +<pre class="eval notranslate">cd <em>Thunderbird</em><var> installation directory</var> +./thunderbird -ProfileManager +</pre> + +<p>El ejemplo anterior invoca la opción de linea de comando"-ProfileManager" en el cliente de correo Mozilla Thunderbird.</p> + +<h2 id="User_Profile" name="User_Profile">User Profile</h2> + +<h3 id="-CreateProfile_profile_name" name="-CreateProfile_profile_name"><code>-CreateProfile <var>profile_name</var></code></h3> + +<p>Create a new profile in the default directory, but do not start application. The profile will be named <code><var>profile_name</var></code> in the profile manager. <var>profile_name</var> must not contain spaces ( ).</p> + +<pre class="eval notranslate">firefox -CreateProfile JoelUser +</pre> + +<h3 id="-CreateProfile_.22profile_name_profile_dir.22" name="-CreateProfile_.22profile_name_profile_dir.22"><code>-CreateProfile "<var>profile_name</var> <var>profile_dir</var>"</code></h3> + +<p>Creates a new profile in the <code><var>profile_dir</var></code> directory, but do not start application. The profile will be named <code>profile_name</code> in the profile manager. Note <code><var>profile_name</var></code> and <code><var>profile_dir</var></code> are quoted together, and are separated by exactly 1 space (as with the previous syntax, <code>profile_name</code> must not contain spaces).</p> + +<p>NOTE: <code><var>profile_dir</var></code> must not exist and you must not already have a profile called <code><var>profile_name</var></code>.</p> + +<pre class="eval notranslate">firefox -CreateProfile "JoelUser c:\internet\joelusers-moz-profile" +</pre> + +<h3 id="-ProfileManager_or_-P" name="-ProfileManager_or_-P"><code>-ProfileManager</code></h3> + +<p>Start with Profile Manager. Short form: <strong>-P</strong> without a profile name.</p> + +<h3 id="-P_.22profile_name.22" name="-P_.22profile_name.22"><code>-P "<var>profile_name</var>"</code></h3> + +<p>Bypass Profile Manager and launch application with the profile named <var>profile_name</var>. Useful for dealing with multiple profiles. Note <var>profile_name</var> is case sensitive. If you don't specify a profile name then the profile manager is opened instead. You must use an upper case P on Linux with versions older than 7.x, as there lower case invokes Purify mode (memory and leak detection). Other platforms accept both upper and lower case.</p> + +<pre class="eval notranslate">firefox -P "Joel User" +</pre> + +<h3 id="-profile_.22.2Fpath.2Fto.2Fprofile.22" name="-profile_.22.2Fpath.2Fto.2Fprofile.22"><code>-profile "<var>profile_path</var>"</code></h3> + +<p>Start with the profile with the given path. <strong>Firefox</strong>, <strong>Thunderbird</strong> and <strong>SeaMonkey2.x</strong> only.</p> + +<p><code>"profile_path"</code> can either be an absolute path (<code>"<var>/path/to/profile</var>"</code>) or a relative path <code>("<var>path/to/profile</var>"</code>).</p> + +<div class="note"><strong>Note: </strong>On Mac OS X specifying a relative path is not supported anymore from Firefox 4.0 and up due to a regression, see {{ bug(673955) }}.</div> + +<h3 id="-no-remote" name="-no-remote"><code>-no-remote</code></h3> + +<p>Allows multiple copies of application to be open at a time.</p> + +<pre class="eval notranslate">firefox -no-remote -P "Another Profile" +</pre> + +<div class="note"><strong>Note: </strong>Since Firefox 9, this does really mean what its name implies on all platforms, i.e. instances created with this parameter do not accept or send remote commands, see {{ bug(650078) }}. That means that such instances won't be re-used. Also when using this argument a new instance is created in any case.</div> + +<h3 id="-migration" name="-migration"><code>-migration</code></h3> + +<p>Start with Import Wizard.</p> + +<h3 id="-override_.2Fpath.2Fto.2Foverride.ini" name="-override_.2Fpath.2Fto.2Foverride.ini"><code>-override <em>/path/to/</em>override.ini</code></h3> + +<p>Load the specified <code>override.ini</code> file to override <code>application.ini</code> ({{ Source("browser/app/application.ini") }}). This can be used to suppress the Migration Wizard at startup by loading the following <code>override.ini</code>. <strong>Firefox</strong> only.</p> + +<pre class="eval notranslate">[XRE] +EnableProfileMigrator=0 +</pre> + +<h2 id="Browser" name="Browser">Browser</h2> + +<h3 id="-browser" name="-browser"><code>-browser</code></h3> + +<p>Start with the browser component. <strong>Firefox</strong> and <strong>SeaMonkey</strong> only.</p> + +<h3 id="-url_URL" name="-url_URL"><code>-url <var>URL</var></code></h3> + +<p>Open <var>URL</var> in a new tab or window, depend on the browser option. <code>-url</code> can be omitted. You may list multiple URLs, separated by spaces. <strong>Firefox</strong> and <strong>SeaMonkey</strong> only.</p> + +<div class="note"><strong>Note: </strong>When opening multiple URLs, Firefox always opens them as tabs in a new window.</div> + +<pre class="eval notranslate">firefox www.mozilla.com +firefox www.mozilla.com developer.mozilla.org +</pre> + +<h3 id="-private" name="-private"><code>-private</code></h3> + +<p>Opens Firefox in permanent private browsing mode. <strong>Firefox 3.6</strong> and later only.</p> + +<p>Not Applicable in Ubuntu for <strong>Firefox 20 </strong>and later.</p> + +<h3 id="-private-toggle" name="-private-toggle"><code>-private-window</code></h3> + +<p>Opens a new private browsing window in an existing instance of Firefox. <strong>Firefox 20</strong> and later only.</p> + +<h3 id="-private-toggle" name="-private-toggle"><code>-private-window URL</code></h3> + +<p>Open URL in a new private browsing window. If a private browsing window is already open, a new tab is opened in the existing window.<strong> Firefox 29 </strong>and later only. Does not work in <strong>Firefox 31</strong> on linux mint 17 - results in page being opened in non-private window.</p> + +<h3 id="-new-tab_URL" name="-new-tab_URL"><code>-new-tab <var>URL</var></code></h3> + +<p>Open <var>URL</var> in a new tab. <strong>Firefox</strong> and <strong>SeaMonkey2.x</strong> only.</p> + +<h3 id="-new-window_URL" name="-new-window_URL"><code>-new-window <var>URL</var></code></h3> + +<p>Open <var>URL</var> in a new window. <strong>Firefox</strong> and <strong>SeaMonkey2.x</strong> only.</p> + +<h3 id="-search_term" name="-search_term"><code>-search <var>term</var></code></h3> + +<p>Search <var>term</var> with your default search engine. <strong>Firefox</strong> and <strong>SeaMonkey 2.1</strong> and later only.</p> + +<h3 id="-preferences" name="-preferences"><code>-preferences</code></h3> + +<p>Open Options/Preferences window. <strong>Firefox</strong> and <strong>SeaMonkey2.x</strong> only.</p> + +<h3 id="-setDefaultBrowser" name="-setDefaultBrowser"><code>-setDefaultBrowser</code></h3> + +<p>Set the application as the default browser. <strong>Firefox</strong> only.</p> + +<h2 id="Mail.2FNews" name="Mail.2FNews">Mail/News</h2> + +<h3 id="-mail" name="-mail"><code>-mail</code></h3> + +<p>Start with the mail client. <strong>Thunderbird</strong> and <strong>SeaMonkey</strong> only.</p> + +<h3 id="-news_news_URL" name="-news_news_URL"><code>-news</code> <var>news_URL</var></h3> + +<p>Start with the news client. If <var>news_URL</var> (optional) is given, open the specified newsgroup. <strong>Thunderbird</strong> and <strong>SeaMonkey</strong> only.</p> + +<pre class="eval notranslate">thunderbird -news <span class="nowiki">news://server/group</span> +</pre> + +<h3 id="-compose_message_options" name="-compose_message_options"><code>-compose <var>message_options</var></code></h3> + +<p>Start with mail composer. See <a href="#Syntax_Rules">syntax rules</a>. <strong>Thunderbird</strong> and <strong>SeaMonkey</strong> only.</p> + +<pre class="eval notranslate">thunderbird -compose "<span class="nowiki">to=foo@nowhere.net</span>" +</pre> + +<h3 id="-addressbook" name="-addressbook"><code>-addressbook</code></h3> + +<p>Start with address book. <strong>Thunderbird</strong> and <strong>SeaMonkey</strong> only.</p> + +<h3 id="-options" name="-options"><code>-options</code></h3> + +<p>Open Options/Preferences window. <strong>Thunderbird</strong> only.</p> + +<h3 id="-offline" name="-offline"><code>-offline</code></h3> + +<p>Start with the offline mode. <strong>Thunderbird</strong> and <strong>SeaMonkey</strong> only.</p> + +<h3 id="-setDefaultMail" name="-setDefaultMail"><code>-setDefaultMail</code></h3> + +<p>Set the application as the default email client. <strong>Thunderbird</strong> only.</p> + +<h2 id="Calendar" name="Calendar">Calendar</h2> + +<h3 id="-calendar" name="-calendar"><code>-calendar</code></h3> + +<p>Start with the calendar client. <strong>Sunbird</strong> only.</p> + +<h3 id="-subscribe_URL_or_-url_URL" name="-subscribe_URL_or_-url_URL"><code>-subscribe <var>URL</var></code> or <code>-url <var>URL</var></code></h3> + +<p>Subscribe to the given <var>URL</var>. <strong>Sunbird</strong> only.</p> + +<h3 id="-showdate_date" name="-showdate_date"><code>-showdate <var>date</var></code></h3> + +<p>Show your schedule of the given <var>date</var>. <strong>Sunbird</strong> only.</p> + +<pre class="eval notranslate">sunbird -showdate 08/04/2008 +</pre> + +<h2 id="Other_Components" name="Other_Components">Other Components</h2> + +<h3 id="-editor_URL_or_-edit_URL" name="-editor_URL_or_-edit_URL"><code>-editor <var>URL</var></code> or <code>-edit <var>URL</var></code></h3> + +<p>Start with editor (Composer) for the given <var>URL</var> (where <var>URL</var> is optional). <strong>SeaMonkey</strong> only.</p> + +<pre class="eval notranslate">seamonkey -edit www.mozilla.org +</pre> + +<h3 id="-jsconsole" name="-jsconsole"><code>-jsdebugger</code></h3> + +<p>Start application with <a href="/en-US/docs/Tools/Browser_Toolbox">Browser Toolbox</a> (formerly Browser Debugger). That is different to Venkman debugger (see option -venkman).</p> + +<h3 id="-jsconsole" name="-jsconsole"><br> + <code>-jsconsole</code></h3> + +<p>Start application with the <a href="/en-US/docs/Error_Console" title="Error_Console">Error Console</a>.</p> + +<div class="warning"> +<p>The Error Console is deprecated in Firefox, and is now only made available if you set the <code>devtools.errorconsole.enabled</code> preference to <code>true</code>. Use the <a href="/en-US/docs/Tools/Web_Console" title="/en-US/docs/Tools/Web_Console">Web Console </a>instead, for web content, or the <a href="/en-US/docs/Tools/Browser_Console" title="/en-US/docs/Tools/Browser_Console">Browser Console</a> for chrome content.</p> + +<p>Beginning with Firefox 28, -jsconsole will start Firefox with Browser Console instead.</p> +</div> + +<h3 id="-inspector_URL" name="-inspector_URL"><code>-inspector <var>URL</var></code></h3> + +<p>Start with the <a href="/en-US/docs/DOM_Inspector" title="DOM_Inspector">DOM Inspector</a>, if installed, and inspect the given <var>URL</var> (where <var>URL</var> is optional).</p> + +<h3 id="-venkman" name="-venkman"><code>-venkman</code></h3> + +<p>Start with the JavaScript debugger, <a href="/en-US/docs/Venkman" title="Venkman">Venkman</a>, if installed.</p> + +<h3 id="-venkman" name="-venkman"><code>-purgecaches</code></h3> + +<p>Gecko (layout engine) has a javascript cache, which is not reset on startup. This clears it.</p> + +<h3 id="-chat"><code>-chat</code></h3> + +<p>Start with the IRC client, <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/16">ChatZilla</a>, if installed.</p> + +<h2 id="XULRunner" name="XULRunner">XULRunner</h2> + +<h3 id="-app_.2Fpath.2Fto.2Fapplication.ini" name="-app_.2Fpath.2Fto.2Fapplication.ini"><code>-app <em>/path/to/</em>application.ini</code></h3> + +<p>Start a new process running the <a href="/en-US/docs/XULRunner" title="XULRunner">XULRunner</a> application at <em>path/to</em>. Also works with Firefox version 3 and above.</p> + +<h3 id="--register-global"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">--register-global</span></h3> + +<p><span style="line-height: 21px;">Registers XULRunner on the system for all users. Must be run as admin / root.</span></p> + +<h3 id="--register-user"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">--register-user</span></h3> + +<p><span style="line-height: 21px;">Registers XULRunner for a single user.</span></p> + +<h3 id="--unregister-global"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">--unregister-global</span></h3> + +<p><span style="line-height: 21px;">Unregisters XULRunner for all users.</span></p> + +<h3 id="--unregister-user"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">--unregister-user</span></h3> + +<p><span style="line-height: 21px;">Unregisters XULRunner for a single user.</span></p> + +<h3 id="--install-app_pathtomyapplication.xpixulapp"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">--install-app path/to/myapplication.(xpi|xulapp)</span></h3> + +<p><span style="line-height: 1.572;">Installs the XULRunner application at path/to onto the system. Applications are installed into the default location for your system (program files|Applications|usr/lib) at vendorname/applicationName. </span><span style="line-height: 1.572;"> Applications may be uninstalled per usual methods for your system.</span></p> + +<pre class="eval notranslate" style="margin-top: 0px; margin-bottom: 1.286em; font-size: 14px;">"C:\Program Files\Mozilla XULRunner\1.8.0.4\xulrunner\xulrunner.exe" --install-app "C:\Users\Billdo\Desktop\myapplication.xpi"</pre> + +<pre class="notranslate"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">/opt/xulrunner/1.8.0.4/xulrunner/xulrunner --install-app ~/Desktop/myapplication.xulapp</span></pre> + +<pre class="notranslate"><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;"></span><span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">/Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/myapplication.xpi</span></pre> + +<h2 id="Chrome" name="Chrome">Chrome</h2> + +<h3 id="-chrome_chrome_URL" name="-chrome_chrome_URL"><code>-chrome <var>chrome_URL</var></code></h3> + +<p>Load the specified chrome.</p> + +<pre class="eval notranslate">firefox -chrome <a class="external" rel="freelink">chrome://inspector/content</a> +</pre> + +<h3 id="-register_chrome_URL" name="-register_chrome_URL"><code>-register <var>chrome_URL</var></code></h3> + +<p>Register the specified chrome, but do not start application.</p> + +<h2 id="Add-ons" name="Add-ons">Add-ons</h2> + +<p>{{ gecko_minversion_note("1.9.2", "-install-global-extension and -install-global-theme have been removed from Gecko 1.9.2 and upwards.") }}</p> + +<h3 id="-install-global-extension_.2Fpath.2Fto.2Fextension" name="-install-global-extension_.2Fpath.2Fto.2Fextension"><code>-install-global-extension <var>/path/to/extension</var></code></h3> + +<p>Installs the extension into the application directory. The parameter is the path to the extension. You must have administrative privileges.</p> + +<h3 id="-install-global-theme_.2Fpath.2Fto.2Ftheme" name="-install-global-theme_.2Fpath.2Fto.2Ftheme"><code>-install-global-theme <var>/path/to/theme</var></code></h3> + +<p>Same as above, but for themes. You must have administrative privileges.</p> + +<div class="note"> +<p><strong>Note: </strong>Since Firefox 2.0.0.7, use of the <code>-install-global-extension</code> and <code>-install-global-theme</code> command line arguments have been restricted to only allow installing add-ons that are on local disks or mapped drives. Installing from a network share directly will no longer succeed.</p> +</div> + +<h3 id="-safe-mode" name="-safe-mode"><code>-safe-mode</code></h3> + +<p>Launches the application with all extensions disabled, for that launch only. (Extensions are not loaded, but are not permanently disabled in the Extension Manager data source).</p> + +<h2 id="Locale" name="Locale">Locale</h2> + +<h3 id="-UILocale_locale" name="-UILocale_locale"><code>-UILocale <var>locale</var></code></h3> + +<p>Start with <var>locale</var> resources as UI Locale.</p> + +<pre class="eval notranslate">firefox -UILocale en-US +</pre> + +<h2 id="Remote_Control" name="Remote_Control">Remote Control</h2> + +<h3 id="-remote_remote_command" name="-remote_remote_command"><code>-remote <var>remote_command</var></code></h3> + +<p>Execute <var>remote_command</var> in an already running application process (see <a class="external" href="http://www.mozilla.org/unix/remote.html">remote control</a>).</p> + +<pre class="eval notranslate">firefox -remote "openURL(www.mozilla.org, new-tab)" +</pre> + +<h2 id="Miscellaneous" name="Miscellaneous">Miscellaneous</h2> + +<h3 id="-tray" name="-tray"><code><strong>-tray</strong></code></h3> + +<p>Start application minimized to system tray. Useful with autorun.</p> + +<h3 id="-silent" name="-silent"><code>-silent</code></h3> + +<p>Don't open default windows. Useful with those command-line arguments that open their own windows but don't already prevent default windows from opening. <strong>Firefox</strong>, <strong>Thunderbird3.x</strong> and <strong>SeaMonkey2.x</strong> only.</p> + +<h3 id="-console" name="-console"><code>-console</code></h3> + +<p>Start application with a debugging console. Note: Windows only.</p> + +<div class="note"> +<p>If you would like the console messages to appear in the console you used to launch the application, you can use the <a href="https://github.com/matthewkastor/Redirector" title="https://github.com/matthewkastor/Redirector">Gecko Console Redirector</a>. Precompiled binaries are available in the zipped archive <a href="https://github.com/matthewkastor/Redirector/archive/master.zip" title="https://github.com/matthewkastor/Redirector/archive/master.zip">https://github.com/matthewkastor/Redirector/archive/master.zip</a> under <code>Redirector-master\Gecko\Console Redirector\bin\Release</code> Copy all the dll's and the exe to wherever you want. Then run <code>Console Redirector.exe /?</code></p> +</div> + +<h3 id="-h_or_-help_or_-.3F" name="-h_or_-help_or_-.3F"><code>-h</code> or <code>-help</code> or <code>-?</code></h3> + +<p>Print the list of all available command line options. Note that on Windows this only works with a redirection such as <code><span class="nowiki">|more</span></code> ({{ Bug(355889) }}). This option is available only in a command console.</p> + +<h3 id="-v_or_-version" name="-v_or_-version"><code>-v</code> or <code>-version</code></h3> + +<p>Print application version. Note that on Windows this only works with a redirection such as <code><span class="nowiki">|more</span></code> ({{ Bug(355889) }}). This option is available only in a command console.</p> + +<h3 id="-osint" name="-osint"><code>-osint</code></h3> + +<p>Tells the application that it is being launched by the OS shell. This should not be specified unless the caller provides all of the functionality provided by the OS shell when launching the application ({{ Bug(384384) }}).</p> + +<h3 id="-requestPending" name="-requestPending"><code>-requestPending</code></h3> + +<p>Tells the application that there will be a Windows DDE request to open the same url specified on the command line. This should not be specified unless the caller provides all of the functionality provided by the OS shell when launching the application ({{ Bug(354005) }}).</p> + +<h3 id="X11_options">X11 options</h3> + +<p>These options are only available for an application build for and running atop the X11/X.org display and window system to be found on Linux and other Unix-based systems.</p> + +<h4 id="--displayDISPLAY">--display=DISPLAY</h4> + +<p>Set the X display to use</p> + +<h4 id="--classWM_CLASS">--class=WM_CLASS</h4> + +<p>Set the WM_CLASS resource class of the X11 windows created by the application.</p> + +<h4 id="--sync">--sync</h4> + +<p>Make X calls synchronous</p> + +<h4 id="--g-fatal-warnings">--g-fatal-warnings</h4> + +<p>Make all warnings fatal</p> + +<h2 id="Other_options_need_to_be_documented" name="Other_options_need_to_be_documented">Other options need to be documented</h2> + +<ul> + <li><code>-print-xpcom-dir</code></li> + <li><code>-print-xpcom-dirlist</code></li> + <li><code>-kill</code></li> + <li><code>-killAll</code></li> + <li><code>-f</code></li> + <li><code>-ftimeout</code></li> + <li><code>-fwait</code></li> + <li><code>-unsetDefaultMail</code></li> + <li><code>-foreground</code></li> + <li><code>-new-instance</code></li> + <li>GTK options</li> +</ul> + +<h2 id="References" name="References">References</h2> + +<ul> + <li><a href="/en-US/docs/Chrome/Command_Line" title="Chrome/Command_Line">Chrome: Command Line</a></li> + <li><a class="external" href="http://www-archive.mozilla.org/quality/browser/front-end/testcases/cmd-line/">Test Documentation for Command-line Features</a> (mozilla.org)</li> + <li>{{ Source("toolkit/xre/nsAppRunner.cpp") }}</li> + <li>{{ Source("browser/components/nsBrowserContentHandler.js") }}</li> + <li>{{ Source("suite/browser/nsBrowserContentHandler.js") }}</li> + <li>{{ Source("mail/components/nsMailDefaultHandler.js") }}</li> + <li><a class="link-https" href="https://wiki.mozilla.org/Installer:Command_Line_Arguments">Installer command line options</a></li> +</ul> + +<div class="originaldocinfo"> +<h2 id="Original_Document_Information" name="Original_Document_Information">Original Document Information</h2> + +<ul> + <li>Author(s): Ben Goodger, Steffen Wilberg, Seth Spitzer, Daniel Wang</li> + <li>Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | <a class="external" href="http://www.mozilla.org/foundation/licensing/website-content.html">Details</a>.</li> +</ul> +</div> + +<p><br> + ciones</p> |