Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021

gnome-text-editor (1)


gnome-text-editor - text editor for the GNOME Desktop


gedit [OPTION...] [FILE...] [+LINE[:COLUMN]]
gedit [OPTION...] -


GEDIT(1)                    General Commands Manual                   GEDIT(1)

       gedit - text editor for the GNOME Desktop

       gedit [OPTION...] [FILE...] [+LINE[:COLUMN]]
       gedit [OPTION...] -

       gedit is the official text editor of the GNOME desktop environment.

       While aiming at simplicity and ease of use, gedit is a powerful general
       purpose text editor.  It can be used to create and edit  all  kinds  of
       text files.

       gedit  features  a  flexible plugin system which can be used to dynami-
       cally add new advanced features to gedit itself.

              Set the character encoding to be  used  for  opening  the  files
              listed on the command line.

       -g, --geometry=GEOMETRY
              Set the X geometry window size (WIDTHxHEIGHT+X+Y).

              Display  list  of  possible  values  for the encoding option and

              Create a new toplevel window in an existing instance of gedit.

              Create a new document in an existing instance of gedit.

       -s, --standalone
              Run gedit in standalone mode.

       -w, --wait
              Open files and block the gedit process.

       --help Prints the command line options.

              Output version information and exit.

       FILE   Specifies the file to open when gedit starts.  If  this  is  not
              specified,  gedit  will load a blank file with an "Unsaved Docu-
              ment" label. Multiple files can be loaded if they are  separated
              by  spaces.   gedit  also supports handling of remote files. For
              example, you can pass the location of a webpage to gedit ,  like
              "http://www.gnome.org",  or  load a file from a FTP server, like

       -      gedit will read from stdin

       +LINE  For the first file, go to the line specified  by  LINE  (do  not
              insert a space between the "+" sign and the number).  If LINE is
              missing, go to the last line.

       COLUMN For the first file, go to the column specified  by  COLUMN.   If
              COLUMN is missing, go to the first column.

       If  you  find  a  bug,  please  report it at the GNOME bug tracker. See

       Paolo Maggi (paolo@gnome.org)

       Paolo Borelli (pborelli@katamail.com)

       Steve Frcinaux (code@istique.net)

       Jesse van den Kieboom (jessevdk@gnome.org)

       Ignacio Casal Quinteiro <icq@gnome.org>

       James Willcox (jwillcox@gnome.org)

       Federico Mena Quintero (federico@novell.com)

       Chema Celorio

       See attributes(7) for descriptions of the following attributes:

       |Availability   | editor/gedit          |
       |Stability      | Pass-through volatile |
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source        was        downloaded         from          https://down-

       Further information about this software can be found on the open source
       community website at https://wiki.gnome.org/Apps/Gedit.

                                  17 May 2010                         GEDIT(1)