Try GNOME’s New Terminal & Text Editor on Ubuntu 22.04

/install-gnome-console-text-editor-on-ub