gnome-text-editor
text editor for the GNOME Desktop
Synopsis
gedit
[OPTION...] [FILE...]
[+LINE[:COLUMN]]
add an example, a script, a trick and tips
examples
source
function edit_config {
gnome-text-editor "${BASE_PATH}/config"
exit 0;
}
function get_wall_filename {
wget -U "${USER_AGENT}" -q -O-
${FEED_URL} | grep -P -o
'http://*[^:]*\.jpg' | head -n1 | sed -e
's/previews/7yz4ma1/g' | sed -e
's/@2x\.jpg/_'${RESOLUTION}'\.jpg/g'
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.
gedit
features a flexible plugin system which can be used to
dynamically add new advanced features to gedit
itself.
options
-b,
--background
Run gedit in the
background.
--encoding
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).
--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 gedit in standalone
mode.
-w,
--wait
Open files and block the
gedit process.
--help
Prints the command line options.
--version
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 Document" 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 "ftp://ftp.gnome.org/robots.txt".
+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.
bugs
If you find a
bug, please report it at
http://bugzilla.gnome.org/enter_bug.cgi?product=gedit.
authors
Paolo Maggi
(paolo[:at:]gnome[:dot:]org)
Paolo Borelli (pborelli[:at:]katamail[:dot:]com)
Steve Frécinaux (code[:at:]istique[:dot:]net)
Jesse van den Kieboom (jessevdk[:at:]gnome[:dot:]org)
Ignacio Casal Quinteiro <icq[:at:]gnome[:dot:]org>
James Willcox (jwillcox[:at:]gnome[:dot:]org)
Federico Mena Quintero (federico[:at:]novell[:dot:]com)
Chema Celorio