gedit(1) User Commands gedit(1)NAME
gedit, gnome-text-editor - Text Editor for the GNOME desktop.
SYNOPSISgedit [--encoding=encoding] [--new-document] [--new-window] [+[num]]
[gnome-std-options] [filename]
DESCRIPTIONgedit 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. Multiple documents can be edited at the same time. Each
document resides in a specific tabbed section of the application win‐
dow.
gedit features a flexible plugin system which can be used to dynami‐
cally add new advanced features to gedit itself.
gnome-text-editor(1) has been deprecated and is now a symbolic link to
gedit.
OPTIONS
The following options are supported:
--encoding=encoding Set the character encoding to be used to open
the files listed on the command line.
--new-document Create a new top-level document or tabbed sec‐
tion in an existing instance of gedit.
--new-window Create a new top-level window in an existing
instance of gedit.
+[num] For the first file, go to the line specified by
num (do not insert a space between the "+" sign
and the number). If num is missing, go to the
last line.
gnome-std-options Standard options available for use with most
GNOME applications. See gnome-std-options(5)
for more information.
OPERANDS
The following operands are supported:
filename The name of the image file to edit.
EXTENDED DESCRIPTION
The gedit application accepts pipes, so you can specify a pipe after
another command, to load the output of the command into gedit. For
example:
example% ls -l | geditEXAMPLES
Example 1: To Edit an ASCII File Named document.txt
example% gedit document.txt
Example 2: To Add a New Tab That Contains an ASCII File Named book.txt
example% gedit--new-document book.txt
Example 3: To Add a New Top-Level Window That Contains an ASCII File
Named testfile.txt
example% gedit--new-window testfile.txt
EXIT STATUS
The following exit values are returned:
0 Application exited successfully.
>0 An error occurred.
FILES
The following files are used by this application:
/usr/bin/gedit Executable for the gedit application.
/usr/bin/gnome-text-editor A symbolic link to the gedit executable
file.
/usr/lib/gedit/plugins Location of gedit plugins.
/usr/share/gtk-doc/html/gedit Location of developer documentation for
writing a gedit plugin.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │editor/gedit │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOlibgtksourceview-1.0(3), attributes(5), gnome-std-options(5)
Online Help gedit manual.
NOTES
This man page was written by the following people: Paolo Maggi, Paolo
Borelli, Chema Celorio, James Willcox, Federico Mena Quintero.
Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004, 2006.
SunOS 5.11 31 Aug 2004 gedit(1)