XED(1)

πŸ‘‘ XED(1) β€” the Gen Z field guide to xed, the official text editor of the X-APPS project πŸ¦‹

(that's section 1 of the General Commands Manual bestie, general commands only, we don't do anything else here πŸ’…)


✨ NAME ✨

Xed β€” The Text Editor. capital T, capital E, she's a whole brand πŸ’–


🌸 SYNOPSIS 🌸

xed [OPTIONS...] [FILES...]

yeah that's it. options, then files. simple. elegant. iconic.


πŸŽ€ DESCRIPTION πŸŽ€

okay so. Xed is the official text editor of the X-APPS project, and that project's whole thing is providing applications to the Cinnamon, MATE and Xfce desktops. so she's literally the appointed one. the main character. πŸ‘‘

and like β€” she's aiming at simplicity and ease of use, sure, but do not let that fool you, because Xed is also a powerful general purpose text editor. she can be used to create and edit all sorts of text files. all of them. every kind. 🫢

she also features a flexible plugin system, which can be used to dynamically add new advanced features to Xed itself. so she grows. she evolves. she's that girl. ✨

lowkey important: this manual page briefly documents the xed command. briefly! it's a taste, not the whole meal. πŸ“

πŸ’… OPTIONS πŸ’…

  • filename(s)... β€” specifies the file to open when xed starts. if you don't specify one, xed will start a new, blank file with an "Unsaved Document" label (yes she names it for you, she's thoughtful like that). multiple files can be loaded if they are separated by spaces. xed also supports handling of remote files, because she's not afraid of distance πŸ¦‹
  • --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. (she remembers where you were. she's paying attention. 🫢)
  • +[num] β€” for the first file, go to the line specified by num. do not insert a space between the + sign and the number, fr fr, no space, none, zero. 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. (she will simply wait there until you're done. patient queen. ⏳)
  • --help-all β€” print all command line options.

also!! this program also accepts the standard GTK options. so if you're looking for something and it's not up there, check GTK. iykyk. ✨


🌈 EXAMPLES 🌈

okay these are the fun part, let's go 🧚

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. remote file, specific encoding, absolute slay.

xed +156 http://www.some-website.com/

open the main web page of some-website.com and jump to line 156. not her scrolling manually. she teleports. πŸ’…

xed --new-window ~/.bashrc ~/.bash_history

open the current users .bashrc and .bash_history files in a new window. two files, one new window, zero chaos (well, the files might be chaos, that's on you 🫢)


😭 BUGS 😭

Should you encounter any bugs, they may be reported at:

http://github.com/linuxmint/xed/issues

bestie if something's broken, tell the maintainers, don't just sit there suffering in silence πŸ’€ they literally want to know.


πŸ”₯ SEE ALSO πŸ”₯

Xed documentation can be found from the "Help" menu, or by pressing the F1 key. F1!!! one key!!! that's it!!! go get your answers!!! πŸ‘‘


and that's the whole page, bestie β€” this was the XED(1) page from the General Commands Manual, one XED(1) header up top and one XED(1) footer at the bottom, and you just read the whole thing. proud of you. now go edit a text file. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά