Leafpad Explained
Leafpad |
Leafpad |
Logo Alt: | Logo for Leafpad, which depicts a blue pencil writing lines on a green leaf |
Screenshot Alt: | Screenshot of the Leafpad program, showing its graphical user interface and an options dropdown and displaying Lorem ipsum text |
Developer: | Tarot Osuji |
Latest Release Version: | 0.8.18.1 |
Programming Language: | C |
Operating System: | Linux, BSD, Maemo |
Language Count: | 42 |
Language: | English, Basque, Belarusian, Brazilian Portuguese, Bulgarian, Catalan, Chinese (simplified), Chinese (traditional), Croatian, Czech, Danish, Dutch, Esperanto, Finnish, French, Galician, German, Greek, Hebrew, Hungarian, Indonesian, Irish, Italian, Japanese, Kirghiz, Korean, Latvian, Lithuanian, Norwegian, Ossetian, Polish, Portuguese, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese |
Size: | 91.3 kB on Arch Linux |
Genre: | Text editor |
License: | GPL-2.0-or-later |
Leafpad is a free and open-source graphical text editor for Linux, Berkeley Software Distribution (BSD), and Maemo that is similar to the Microsoft Windows program Notepad. Created with the focus of being a lightweight text editor with minimal dependencies, it is designed to be simple-to-use and easy-to-compile.
Leafpad has a small install size compared to other graphical text editors and has minimal features such as codeset options, undo/redo, and the ability to choose fonts. Leafpad is the default text editor for the LXDE lightweight desktop environment, and thus Leafpad is found on Linux distributions that use LXDE as their desktop environment such as Raspberry Pi OS, as well as on some embedded systems. The program has been forked into Mousepad and l3afpad, and parts of Leafpad's code have been used in other text editors. Leafpad is released under the GNU General Public License (GPL) version 2.[1]
History
Leafpad was created by Tarot Osuji, who remains its only author and maintainer.[2] The first published version of Leafpad was version 0.5.x in 2004.[3] The first full release to the public was version 0.7.6 on November 11, 2004.[4] Leafpad has not received an update since December 2010 with the release of version 0.8.18.1. Though it is part of the LXDE desktop package,[5] it is not maintained by the LXDE development team.[6]
When first released, Leafpad had no printing capabilities. This led to members of the Xfce team creating a fork of Leafpad called Mousepad, specifically to address the lack of printing support. The ability to print was later added to Leafpad in 2005, with further improvements to the printing capabilities in 2006 and 2007.
Language translations for Leafpad were provided through TranslationProject.org,[7] a translation project dedicated to providing language translation for open-source software.[8] In 2020, the translation listing for Leafpad was removed from their database.[9] [10]
Features
Leafpad has a small footprint compared to other graphical text editors such as gedit or Kate. It is similar in visuals and functionality to the Microsoft Windows program Notepad.[11] Depending on the architecture of the computer installed on, the program takes up between 417 kB and 486 kB on Debian after installation, with 457 kB being the installed size on an i386 computer,[12] compared to 5,462 kB for the text editor Kate.[13] On Arch Linux, Leafpad's size after installation is only 301 kB.[14]
Specific software features include a codeset option, auto codeset detection, an unlimited undo/redo feature, and drag and drop capabilities.[15] Fonts can be chosen from among the operating system's available computer fonts,[16] and keybindings can be used for many features such as saving a file and printing.[17] Leafpad is available in 42 languages.
Although Leafpad cannot open multiple files at once, it is possible to open several instances of the program to have open more than one file at a time. According to Leafpad's man page, Leafpad can be launched from the terminal in a format with several options including the ability to open a file with a specific codeset, specification of display and screen types, and tab width selections.[18] The background color of the application window can be changed via a configuration file.
Usage
As part of the LXDE desktop environment, Leafpad is pre-installed as the default graphical text editor on Linux distributions that use LXDE, such as Knoppix,[19] [20] Trisquel Mini,[21] and Raspberry Pi OS (formerly Raspbian).[22] [23] It is included in default installations of Bodhi Linux,[24] the Kali Linux digital forensics distribution,[25] and is pre-installed on Ångström,[26] a specialty Linux distribution for embedded systems such as the BeagleBone single-board computer, which uses Leafpad as its text editor.[27] Leafpad was the default graphical text editor for Lubuntu up to version 18.04 LTS. After Lubuntu moved from the LXDE to the LXQt desktop, Leafpad was replaced by FeatherPad.[28]
In addition to being installed by default on some Linux distributions, Leafpad can also be manually compiled for Linux, BSD, and Maemo or can be installed via the software repositories of many Linux distributions including Arch Linux[29] and Fedora.[30] Leafpad can be installed on macOS via MacPorts,[31] or on Microsoft Windows via Cygwin.[32]
Forks
Mousepad, which is a text editor for the Xfce desktop environment, was originally written as a fork of Leafpad[33] due to an issue Leafpad had with printing,[34] an issue which Leafpad later fixed.[35] Mousepad was rewritten in December 2012 with version 0.3.0, which replaced the original Leafpad-based code with a complete rewrite.[36] Another graphical text editor called l3afpad was created as a fork of Leafpad that is written in GTK3 instead of GTK2.[37] Some parts of the Qt-based text editor FeatherPad were taken from Leafpad's code.[38]
Architecture
Leafpad has been pre-compiled for Linux repositories to run on several types of computer architectures including x86, amd64, RISC-V, PowerPC (including ppc64), and various ARM and MIPS architectures.[39]
Compiling Leafpad requires only one dependency: GTK+ with a version higher than 2.0.0. There are two optional dependencies that are part of the GNOME library and require a version higher than 2.2.0: libgnomeprint, which allows Leafpad to access printing functions,[40] and libgnomeprintui, which is the package for the printing user interface.[41] Installation on some Linux distributions may require additional dependencies based on the distribution's configuration.[42]
Reception
A LinuxInsider review focused on the simplicity of Leafpad, saying that it leaves a small footprint on a system's resources, making it a good choice for compact Linux distributions. The review further highlighted some of the features of Leafpad, and noted its inability to open more than one file at a time, but pointed out that multiple instances of Leafpad could be open at once to work on multiple text files at a time. The review concluded by praising the print preview option of Leafpad as a good WYSIWYG representation of the final printout.
A MakeTechEasier.com review noted that Leafpad was a lightweight alternative to the text editor Gedit, and said that Leafpad's simplicity was both an advantage for people seeking a simple text editor, and a disadvantage for those seeking additional features or functionality.[43]
An article by Admin Magazine comparing various text editors also focused on the lightweight nature of Leafpad.[44]
A review by DebugPoint.com called it an "ideal replacement" for the Windows program Notepad. The review called Leafpad's simplicity a feature in itself, and noted the lack of ongoing development for the software, stating that to keep the program lightweight further development was not needed.[45]
In a review of programming resources for the Raspberry Pi, Electromaker.io called Leafpad "the best text editor for the Raspberry Pi" and called it a solid resource for editing Python.[46]
See also
Notes and References
- Web site: December 23, 2010 . Leafpad . live . https://web.archive.org/web/20161003124941/http://tarot.freeshell.org/leafpad/ . October 3, 2016 . October 18, 2011 . tarot.freeshell.org.
- Web site: Osuji . Tarot . leafpad/AUTHORS . live . https://web.archive.org/web/20220814105313/https://github.com/tarot231/leafpad/blob/master/AUTHORS . August 14, 2022 . August 14, 2022 . GitHub.
- Web site: Osuji . Tarot . leafpad/ChangeLog . live . https://web.archive.org/web/20220814105259/https://github.com/tarot231/leafpad/blob/master/ChangeLog . August 14, 2022 . August 14, 2022 . GitHub.
- Web site: /releases/leafpad . live . https://web.archive.org/web/20210508195350/http://download-mirror.savannah.gnu.org/releases/leafpad/ . May 8, 2021 . August 14, 2022 . gnu.org.
- Web site: Metapackage for LXDE . live . https://web.archive.org/web/20210812215932/https://packages.debian.org/stretch/lxde . August 12, 2021 . August 14, 2022 . . "This package is a metapackage depends on the core components and recommended components of the LXDE. It includes lxde-core, lxappearance, lxinput, lxsession-edit, gpicview, lxterminal, lxrandr, galculator, leafpad and xarchiver.".
- Web site: LXDE – Lightweight X11 Desktops Environment . live . https://web.archive.org/web/20121010112452/http://lxde.sourceforge.net/about.html . October 10, 2012 . October 22, 2011 . "Leafpad: Lightweight and simple text editor(This is not developed by us, but we suggest using this as default text editor).".
- Web site: August 14, 2019 . The leafpad textual domain . dead . https://web.archive.org/web/20200201022518/http://translationproject.org/domain/leafpad.html . February 1, 2020 . August 22, 2022 . TranslationProject.org.
- Web site: March 23, 2022 . Welcome to the Translation Project . August 22, 2022 . TranslationProject.org . August 18, 2022 . https://web.archive.org/web/20220818073152/https://translationproject.org/html/welcome.html . live .
- Web site: January 31, 2020 . Textual domains . deviated . https://web.archive.org/web/20200201022443/http://translationproject.org/domain/index.html . February 1, 2020 . August 22, 2022 . TranslationProject.org.
- Web site: May 11, 2020 . Textual domains . live . https://web.archive.org/web/20200512080437/http://translationproject.org/domain/index.html . May 12, 2020 . August 22, 2022 . TranslationProject.org.
- News: Stieben . Danny . May 2, 2011 . Leafpad – An Ultra-Lightweight Text Editor . MakeUseOf . live . October 18, 2011 . https://web.archive.org/web/20111110081606/http://www.makeuseof.com/tag/leafpad-ultralightweight-text-editor-linux/ . November 10, 2011.
- Web site: 2019 . Package: leafpad (0.8.18.1-5) . live . https://web.archive.org/web/20210513041856/https://packages.debian.org/stretch/leafpad#pdownload . May 13, 2021 . June 8, 2019 . packages.debian.org . Debian.
- Web site: 2022 . Package: kate (4:16.08.3-1) . live . https://web.archive.org/web/20210513041856/https://packages.debian.org/stretch/leafpad#pdownload . May 13, 2021 . June 8, 2019 . packages.debian.org . Debian.
- Web site: leafpad 0.8.18.1-9 . live . https://web.archive.org/web/20220324220656/https://archlinux.org/packages/extra/x86_64/leafpad/ . March 24, 2022 . August 16, 2022 . Arch Linux.
- Web site: Jack Wallen . May 1, 2010 . Leafpad: Yet another Linux text editor . live . https://web.archive.org/web/20201125135209/https://www.ghacks.net/2010/05/01/leafpad-yet-another-linux-text-editor/ . November 25, 2020 . October 18, 2011 . ghacks.net.
- News: Germain . Jack M. . April 7, 2010 . gEdit and Leafpad Make a Good Text-Editing Team . LinuxInsider . live . August 14, 2022 . https://web.archive.org/web/20210919233811/https://linuxinsider.com/story/gedit-and-leafpad-make-a-good-text-editing-team-69703.html . September 19, 2021.
- Web site: Osuji . Tarot . leafpad/README . live . https://web.archive.org/web/20220814105307/https://github.com/tarot231/leafpad/blob/master/README . August 14, 2022 . August 14, 2022 . GitHub.
- Web site: Ubuntu manpage: leafpad – GTK+ based simple text editor . live . https://web.archive.org/web/20220814105317/https://manpages.ubuntu.com/manpages/bionic/man1/leafpad.1.html . August 14, 2022 . August 14, 2022 . Ubuntu.
- Web site: KNOPPIX – Live Linux Filesystem on CD . live . https://web.archive.org/web/20180503054636/http://www.knopper.net/knoppix-info/index-en.html . May 3, 2018 . August 14, 2022 . Knoppix.
- News: Watson . J.A. . January 27, 2014 . Hands-on with Knoppix Linux 7.2.0: A well-established and very stable Linux distribution . . live . August 16, 2022 . https://web.archive.org/web/20180626140418/https://www.zdnet.com/article/hands-on-with-knoppix-linux-7-2-0-a-well-established-and-very-stable-linux-distribution/ . June 26, 2018.
- Web site: November 16, 2021 . Trisquel Mini . live . https://web.archive.org/web/20180623222258/https://trisquel.info/en/wiki/trisquel-mini . June 23, 2018 . August 14, 2022 . Trisquel.
- Web site: September 27, 2016 . Introducing PIXEL . live . https://web.archive.org/web/20191209234309/https://www.raspberrypi.org/blog/introducing-pixel/ . December 9, 2019 . August 14, 2022 . Raspberry Pi.
- Book: McManus, Sean . Raspberry Pi for dummies . . 2014 . 978-1-118-90501-2 . Second . Hoboken, New Jersey . 71–72 . 896853135 . August 14, 2022 . https://web.archive.org/web/20220814105258/https://www.worldcat.org/title/raspberry-pi-for-dummies/oclc/896853135 . August 14, 2022 . live.
- News: Rizwan . Amaan . August 28, 2020 . Best Lightweight Linux Distros of 2020 . Techworm . live . August 16, 2022 . https://web.archive.org/web/20220621234238/https://www.techworm.net/2016/01/best-lightweight-linux-distros-of-2016.html . June 21, 2022.
- Book: Salmon, Arthur . Applied network security : master the art of detecting and averting advanced network security attacks and techniques . 2017 . . 978-1-78646-968-7 . Birmingham, UK . 49 . 987379345 . August 14, 2022 . https://web.archive.org/web/20220814105258/https://www.worldcat.org/title/applied-network-security-master-the-art-of-detecting-and-averting-advanced-network-security-attacks-and-techniques/oclc/987379345 . August 14, 2022 . live.
- Web site: January 8, 2022 . meta-angstrom/contrib/build-feeds.sh . live . https://web.archive.org/web/20220816104315/https://github.com/Angstrom-distribution/meta-angstrom/blob/master/contrib/build-feeds.sh . August 16, 2022 . August 16, 2022 . GitHub.
- Book: Yoder, M. A. . BeagleBone Cookbook : software and hardware problems and solutions . 2015 . 978-1-4919-1568-4 . Sebastpool, CA . 150 . 907539434 . August 14, 2022 . https://web.archive.org/web/20220814105301/https://www.worldcat.org/title/beaglebone-cookbook-software-and-hardware-problems-and-solutions/oclc/907539434 . August 14, 2022 . live.
- Hunt . Adam . August 30, 2019 . Review – FeatherPad . live . . 36 . https://web.archive.org/web/20220821204243/https://issuu.com/fullcirclemagazine/docs/fullcircle-issue148-en . August 21, 2022 . August 21, 2022.
- Web site: Arch Linux – leafpad 0.8.18.1-9 . live . https://web.archive.org/web/20220324220656/https://archlinux.org/packages/extra/x86_64/leafpad/ . March 24, 2022 . August 14, 2022 . Arch Linux.
- Web site: rpms / leafpad . live . https://web.archive.org/web/20220814105304/https://src.fedoraproject.org/rpms/leafpad . August 14, 2022 . August 14, 2022 . Fedora Linux.
- Web site: Install leafpad on macOS with MacPorts . August 23, 2022 . MacPorts.org . August 10, 2022 . https://web.archive.org/web/20220810134053/https://ports.macports.org/port/leafpad/ . live .
- Web site: Cygwin Package Summary for leafpad . August 23, 2022 . Cygwin.com . March 25, 2023 . https://web.archive.org/web/20230325042001/https://cygwin.com/packages/summary/leafpad.html . live .
- Web site: Template file for 'mousepad' . live . https://web.archive.org/web/20220814105310/https://github.com/void-linux/void-packages/blob/master/srcpkgs/mousepad/template . August 14, 2022 . August 14, 2022 . . "Simple text editor for Xfce based on Leafpad".
- Web site: Package: mousepad (0.5.10-1) . August 22, 2022 . packages.debian.org . . December 29, 2013 . https://web.archive.org/web/20131229210740/http://packages.debian.org/sid/mousepad . live .
- News: Wallen . Jack . May 5, 2010 . Mousepad: A variation on the Leafpad theme . . August 23, 2022 . August 24, 2022 . https://web.archive.org/web/20220824002724/https://www.ghacks.net/2010/05/05/mousepad-a-variation-on-the-leafpad-theme/ . live .
- Web site: mousepad/News . live . https://web.archive.org/web/20220109022830/https://gitlab.xfce.org/apps/mousepad/-/blob/master/NEWS . January 9, 2022 . August 14, 2022 . Xfce.
- Web site: l3afpad . live . https://web.archive.org/web/20220728105552/https://github.com/stevenhoneyman/l3afpad . July 28, 2022 . August 14, 2022 . GitHub.
- Web site: October 26, 2020 . FeatherPad/encoding.cpp . live . https://web.archive.org/web/20220814105259/https://github.com/tsujan/FeatherPad/blob/master/featherpad/encoding.cpp . August 14, 2022 . August 14, 2022 . GitHub.
- Web site: app-editors / leafpad . August 22, 2022 . packages.gentoo.org . August 22, 2022 . https://web.archive.org/web/20220822024436/https://packages.gentoo.org/packages/app-editors/leafpad . live .
- Web site: SUSE Package Hub – libgnomeprint: The GNOME 2.x Printing Library . live . https://web.archive.org/web/20220814105259/https://packagehub.suse.com/packages/libgnomeprint/ . August 14, 2022 . August 14, 2022 . SUSE.
- Web site: SUSE Package Hub – libgnomeprintui: User Interface Part of the GNOME Printing Library . live . https://web.archive.org/web/20220814105302/https://packagehub.suse.com/packages/libgnomeprintui/ . August 14, 2022 . August 14, 2022 . SUSE.
- Web site: Package: leafpad (0.8.18.1-5) . live . https://web.archive.org/web/20210513041856/https://packages.debian.org/stretch/leafpad . May 13, 2021 . August 14, 2022.
- News: King . Bertel Jr. . January 24, 2013 . Leafpad, A Simple and Lightweight Alternative to Gedit [Linux] ]. Make Tech Easier . August 24, 2022 . August 24, 2022 . https://web.archive.org/web/20220824013146/https://www.maketecheasier.com/leafpad-lightweight-alternative-to-gedit/ . live .
- News: Layton . Jeff . Let the Editor Wars Begin! . Admin Magazine . August 24, 2022 . October 30, 2017 . https://web.archive.org/web/20171030004417/http://www.admin-magazine.com/HPC/Articles/Let-the-Editor-Wars-Begin!/(offset)/2 . live .
- News: Arindam . Leafpad – A Notepad Alternative for Ubuntu/Linux . DebugPoint.com . live . August 21, 2022 . https://web.archive.org/web/20220821204243/https://www.debugpoint.com/leafpad-a-notepad-alternative-for-ubuntulinux/ . August 21, 2022.
- News: Long . Moe . March 20, 2020 . Best Raspberry Pi Programming Resources . Electromaker . August 24, 2022 . June 30, 2022 . https://web.archive.org/web/20220630223720/https://www.electromaker.io/blog/article/best-raspberry-pi-programming-resources . live .