<HTML
><HEAD
><TITLE
>Command line options</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="GNOME Terminal User's Guide"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Terminal classes"
HREF="classes.html"><LINK
REL="NEXT"
TITLE="Environment"
HREF="environment.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>GNOME Terminal User's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="classes.html"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="environment.html"
>Next &#62;&#62;&#62;</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="OPTIONS"
>Command line options</A
></H1
><P
>      <P
></P
><UL
><LI
><P
><TT
CLASS="OPTION"
>--background <TT
CLASS="REPLACEABLE"
><I
>COLOUR</I
></TT
>
	    </TT
>
	  </P
><P
>Used to specify the 
	    background colour for the terminal at startup.  The
	    <TT
CLASS="REPLACEABLE"
><I
>COLOUR</I
></TT
> can be
	    any form accepted by your windowing system.
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--tclass <TT
CLASS="REPLACEABLE"
><I
>CLASSNAME</I
></TT
>
	    </TT
></P
><P
>	    Specifies the terminal class used to configure the
	    terminal at startup.
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--command <TT
CLASS="REPLACEABLE"
><I
>CMD</I
></TT
>,
	      -e <TT
CLASS="REPLACEABLE"
><I
>CMD</I
></TT
>
	    </TT
></P
><P
>	    Runs the <TT
CLASS="REPLACEABLE"
><I
>CMD</I
></TT
> command at startup time.
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--execute <TT
CLASS="REPLACEABLE"
><I
>CMD ARGS</I
></TT
>, 
                        -x <TT
CLASS="REPLACEABLE"
><I
>CMD ARGS</I
></TT
>
           </TT
></P
><P
>	    Executes the command <TT
CLASS="REPLACEABLE"
><I
>CMD</I
></TT
> with
	    its arguments <TT
CLASS="REPLACEABLE"
><I
>ARGS</I
></TT
> on startup.
	    No arguments beyond this one will be processed by the
	    terminal.  This behaviour mimics the <B
CLASS="COMMAND"
>xterm
	    -e</B
> behaviour.
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--font <TT
CLASS="REPLACEABLE"
><I
>FONT</I
></TT
></TT
></P
><P
>	    Sets the font of the terminal to
	    <TT
CLASS="REPLACEABLE"
><I
>FONT</I
></TT
> 
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--foreground <TT
CLASS="REPLACEABLE"
><I
>COLOUR</I
></TT
>
           </TT
></P
><P
>	    Sets the foreground of the terminal to
	    <TT
CLASS="REPLACEABLE"
><I
>COLOUR</I
></TT
> .
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--geometry <TT
CLASS="REPLACEABLE"
><I
>GEOMETRY</I
></TT
>
           </TT
></P
><P
>	    Specifies the startup geometry for this terminal.  The
	    geometry specifies the desired width and height in
	    terminal characters.  For example:
	    <TT
CLASS="OPTION"
>--geometry=80x40</TT
> will create an
	    eighty-column by forty-line terminal.</P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--login</TT
></P
><P
>	    Make <TT
CLASS="APPLICATION"
>GNOME Terminal</TT
> launch the shell in login mode (it will run
	    all of your login initialization scripts in this mode). 
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--nologin</TT
>
	  </P
><P
>	    Make <TT
CLASS="APPLICATION"
>GNOME Terminal</TT
> only launch a shell, without running any
	    login initialization scripts.
	  </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--noutmp</TT
></P
><P
>	      Indicates that this and the associated shell should not be
	      registered in the system database of users logged into the
	      computer. 
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--utmp</TT
></P
><P
>	      Indicates that the user wants this terminal to be
	      registered in the system database of users logged into
	      the computer (the utmp database).  This is the default.
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--lastlog</TT
></P
><P
>	      Always create a lastlog entry for each terminal login.
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--lastlog</TT
></P
><P
>	      Do not create a lastlog entry for each terminal login.
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--title <TT
CLASS="REPLACEABLE"
><I
>TITLE</I
></TT
>,
                           -t <TT
CLASS="REPLACEABLE"
><I
>TITLE</I
></TT
>
            </TT
></P
><P
>	      Makes <TT
CLASS="APPLICATION"
>GNOME Terminal</TT
> use <TT
CLASS="REPLACEABLE"
><I
>TITLE</I
></TT
> for the
	      window caption.
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--termname <TT
CLASS="REPLACEABLE"
><I
>TERMNAME</I
></TT
>
             </TT
></P
><P
>	      Makes <TT
CLASS="APPLICATION"
>GNOME Terminal</TT
> use
	      <TT
CLASS="REPLACEABLE"
><I
>TERMNAME</I
></TT
> as the value of the
	      <TT
CLASS="ENVAR"
>TERM</TT
> environment variable.
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--start-factory-server</TT
></P
><P
>	      Try to start the TerminalFactory service for this
	      terminal (see below). 
	    </P
></LI
><LI
><P
><TT
CLASS="OPTION"
>--use-factory</TT
></P
><P
>              If there is already a terminal process started with
	      <TT
CLASS="OPTION"
>--start-factory-server</TT
> option, then
	      running the command <B
CLASS="COMMAND"
>gnome-terminal
	      --use-factory</B
> will create a new terminal
	      window owned by the existing teminal process. In other
	      words, it will have the same effect as choosing
	      <A
HREF="menus.html#MENU-FILE"
>              <B
CLASS="GUIMENU"
>File</B
>-&gt;<B
CLASS="GUIMENUITEM"
>New
              terminal</B
></A
> in the
              existing terminal. 
	    </P
><P
> 
             If there is no TerminalFactory running, then this option has no
             effect. 
	    </P
></LI
></UL
>		
      </P
><P
>You can use more than one option at once: for example, on
            a machine with the text-based web browser
            <TT
CLASS="APPLICATION"
>Lynx</TT
> installed, <B
CLASS="COMMAND"
>gnome-terminal
            --title Web --command lynx</B
> will open a <TT
CLASS="APPLICATION"
>GNOME Terminal</TT
> which
            starts up <TT
CLASS="APPLICATION"
>Lynx</TT
> and has a
            titlebar which says "Web".
      </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="classes.html"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="environment.html"
>Next &#62;&#62;&#62;</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Terminal classes</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Environment</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>