Leafpad text editor now is available to install via Snap package for Ubuntu 18.04, Ubuntu 19.04, and higher.
Leafpad is a simple GTK+ based text editor aims to be lighter than Gedit and KWrite. It has been removed from Ubuntu repositories since Ubuntu 19.04.
Leafpad snap package maintained by Ken VanDine makes it again easy to install in Ubuntu 19.04 and higher.
Simply open Ubuntu Software utility, search for ‘leafpad’ and you’ll see the snap package. For Ubuntu 19.04 and higher, there’s no native Leafpad Ubuntu package any more.
Or open terminal (Ctrl+Alt+T) and run command to install the snap package:
snap install leafpad --classic
Like normal software package, you can either open Leafpad from files’ context menu ‘Open With’ menu, or launch it from application menu.