gedit1
A general-purpose text editor
Usage
gedit [OPTION ...]
[FILE ...]
[+LINE
[:COLUMN]]
gedit [OPTION ...]
-
Overview
gedit is an easy-to-use and general-purpose text editor. Its development started in 1998, at the beginnings of the GNOME project, with a good integration with that desktop environment.
You can use it to write simple notes and documents, or you can enable more advanced features that are useful for software development.
Options
-
--encoding -
Set the character encoding to be used for opening the files listed on the command line.
-
--list-encodings -
Display list of possible values for the encoding option and exit.
-
--new-window -
Create a new toplevel window in an existing instance of
gedit.
-
--new-document -
Create a new document in an existing instance of
gedit.
-
-s, --standalone -
Run
geditin standalone mode.
-
-w, --wait -
Open files and block the
geditprocess.
-
--help -
Prints the command line options.
-
--version -
Output version information and exit.
- FILE
-
Specifies the file to open when
geditstarts. If this is not specified,geditwill load a blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces.geditalso supports handling of remote files. For example, you can pass the location of a webpage togedit, like "http://www.gnome.org", or load a file from a FTP server, like "ftp://ftp.gnome.org/robots.txt".
--
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.
Releases
16 releases since Debian 2.0 (Hamm); the text changed 11 times.
--encoding since Debian 3.1 (Sarge);
--list-encodings since Debian 6.0 (Squeeze);
--new-document since Debian 3.1 (Sarge);
--new-window since Debian 3.1 (Sarge);
--standalone since Debian 7 (Wheezy);
--version since Debian 6.0 (Squeeze);
--wait since Debian 7 (Wheezy);
-s since Debian 7 (Wheezy);
-w since Debian 7 (Wheezy).
--background until Debian 7 (Wheezy);
--debug until Debian 3.0 (Woody);
--filename until Debian 3.0 (Woody);
--geometry until Debian 8 (Jessie);
--quit until Debian 3.1 (Sarge);
-b until Debian 7 (Wheezy);
-g until Debian 8 (Jessie).