GNOME Text Editor is a free and open source text editor from GNOME team for Linux. GNOME 42 ships with this core text editor replacing Gedit and Ubuntu also considering this for 22.10. It comes with spell checking, dark-mode support, syntax highlighting for most common programming languages, improved autosave for unsaved and draft files, integrated Vim keybindings support, PCRE2-based regular expressions support, editorconfig and modelines support and more.
Install GNOME Text Editor on Ubuntu
Open the terminal app (ctrl+alt+t) and run below command to install the latest version of GNOME Text Editor on your Ubuntu 22.04 system.
sudo apt update
sudo apt install gnome-text-editor
and open it via the applications menu or via below command.
gnome-text-editor
Install GNOME Text Editor via Flatpak:
Install flatpak and flathub on your system and restart your system after the installation. Now open the terminal app and run below GNOME Text Editor flatpak command .
flatpak install flathub org.gnome.TextEditor
It will install the GNOME Text Editor on your Ubuntu system. Now open it using this command.
flatpak run org.gnome.TextEditor
And you can also uninstall it via below command.
sudo flatpak uninstall org.gnome.TextEditor
That’s all.