User Commands gedit(1)
NAME
gedit, gnome-text-editor - Text Editor for the GNOME desk-
top.SYNOPSIS
gedit [--encoding=encoding] [--new-document] [--new-window]
[+[num]] [gnome-std-options] [filename]
DESCRIPTION
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. Multiple documents can be edited at the same time. Each document resides in a specific tabbed section of the application window.gedit features a flexible plugin system which can be used to
dynamically add new advanced features to gedit itself.
gnome-text-editor(1) has been deprecated and is now a sym-
bolic 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 section in an existinginstance 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.SunOS 5.11 Last change: 31 Aug 2004 1
User Commands gedit(1)
gnome-std-options Standard options available for use
with most GNOME applications. Seegnome-std-options(5) for more infor-
mation. 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 com-
mand into gedit. For example:
example% ls -l | gedit
EXAMPLES
Example 1: To Edit an ASCII File Named document.txtexample% gedit document.txt
Example 2: To Add a New Tab That Contains an ASCII File Named book.txtexample% gedit --new-document book.txt
Example 3: To Add a New Top-Level Window That Contains an
ASCII File Named testfile.txtexample% 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:SunOS 5.11 Last change: 31 Aug 2004 2
User Commands gedit(1)
/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 docu-
mentation for writing agedit plugin.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | editor/gedit |
|_____________________________|_____________________________|
| Interface stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
libgtksourceview-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 Last change: 31 Aug 2004 3