xed1
The text editor
Usage
xed [OPTIONS ...]
[FILES ...]
Overview
Xed is the official text editor of the X-APPS project, which aims to provide applications to the Cinnamon, MATE and Xfce desktops. While aiming at simplicity and ease of use, Xed is a powerful general purpose text editor. It can be used to create and edit all sorts of text files.
Xed features a flexible plugin system which can be used to dynamically add new advanced features to Xed itself.
This manual page briefly documents the xed command.
Options
filename(s)...-
Specifies the file to open when
xedstarts. If this is not specified,xedwill start a new, blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces.xedalso supports handling of remote files.
-
--display=DISPLAY -
X display to use.
-
--encoding -
Set the character encoding to be used for opening the files listed on the command line.
-
--new-window -
Create a new toplevel window in an existing instance of
xed.
-
--new-document -
Create a new document in an existing instance of
xed, on the last Xed window that had focus.
+[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.
-
--list-encodings -
Display list of possible values for the encoding option and exit
-
--version -
Output version information and exit
-
-?, -h, --help -
Print standard command line options.
-
-w, --wait -
Open files and block the xed process.
-
--help-all -
Print all command line options.
This program also accepts the standard GTK options.
Examples
xed --encoding WINDOWS-1252 ftp://ftp.kernel.org/pub/linux/kernel/README
Open the Linux Kernel README file from kernel.org's FTP server using Windows-1252 character encoding.
xed +156 http://www.some-website.com/
Open the main web page of some-website.com and jump to line 156.
xed --new-window ~/.bashrc ~/.bash_history
Open the current users .bashrc and .bash_history files in a new window.
Releases
4 releases since Debian 3.0 (Woody); the text changed 1 time.
--display since Arch Linux 2026-11-01;
--encoding since Arch Linux 2026-11-01;
--help since Arch Linux 2026-11-01;
--help-all since Arch Linux 2026-11-01;
--list-encodings since Arch Linux 2026-11-01;
--new-document since Arch Linux 2026-11-01;
--new-window since Arch Linux 2026-11-01;
--version since Arch Linux 2026-11-01;
--wait since Arch Linux 2026-11-01;
-? since Arch Linux 2026-11-01;
-h since Arch Linux 2026-11-01;
-w since Arch Linux 2026-11-01.
-P until Debian 4.0 (Etch);
-fn until Debian 4.0 (Etch);
-help until Debian 4.0 (Etch);
-nb until Debian 4.0 (Etch);
-nsb until Debian 4.0 (Etch);
-nwl until Debian 4.0 (Etch);
-p until Debian 4.0 (Etch);
-s until Debian 4.0 (Etch);
-ttymode until Debian 4.0 (Etch);
-version until Debian 4.0 (Etch);
-x until Debian 4.0 (Etch).