What is the standard text editor for GNOME in Ubuntu?
(I tried searching for it on Google, but did not find the answer.)
Simple answer: gedit.
To launch from terminal to create a new file just type
gedit, or to edit an existing file, type
You can also open multiple files at once into different gedit tabs, just by appending the other files to the command, for example:
gedit myFile1.txt ~/myFile2.c /tmp/myFile3.tex
Gedit is installed by default in all GNOME-based Ubuntu systems, and not just Ubuntu GNOME (which uses GNOME Shell). In particular, since Unity is really a shell for GNOME, systems that use Unity as their default interface ship Gedit, too.
The MATE desktop environment, used by Ubuntu MATE, is based on GNOME 2, but forked from it and the names (and executables) for the main apps are different. Ubuntu MATE thus ships Pluma rather than Gedit. Since Pluma is a fork of Gedit from GNOME 2 (not GNOME 3), the version of Gedit that Pluma is based on is older than the version of Gedit present in flavors of Ubuntu that use Unity or GNOME Shell.