Jump to content

Leafpad: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Features: Adding prose about install size
Adding Notepad comparison to lede per suggestion at DYK
Line 22: Line 22:
}}
}}


'''Leafpad''' is a [[free and open-source software|free and open-source]] graphical [[text editor]] for [[Linux]], [[Berkeley Software Distribution|BSD]], and [[Maemo]]. Created with the focus of being a lightweight text editor with minimal [[Coupling (computer programming)|dependencies]], it is designed to be simple-to-use and easy-to-compile. Leafpad is the default text editor for [[LXDE]], a lightweight [[desktop environment]], and Leafpad is installed by default on [[Linux distribution]]s that use LXDE as their desktop environment.
'''Leafpad''' is a [[free and open-source software|free and open-source]] graphical [[text editor]] for [[Linux]], [[Berkeley Software Distribution|BSD]], and [[Maemo]] that is similar to the [[Microsoft Windows]] program [[Windows Notepad|Notepad]]. Created with the focus of being a lightweight text editor with minimal [[Coupling (computer programming)|dependencies]], it is designed to be simple-to-use and easy-to-compile. Leafpad is the default text editor for [[LXDE]], a lightweight [[desktop environment]], and Leafpad is installed by default on [[Linux distribution]]s that use LXDE as their desktop environment.


Leafpad is released under the [[GNU General Public License]] (GPL) version 2.<ref name=leafpad>{{cite web |url=http://tarot.freeshell.org/leafpad/ |title=Leafpad |date=December 23, 2010 |work=tarot.freeshell.org |accessdate=October 18, 2011 |archive-date=October 3, 2016 |archive-url=https://web.archive.org/web/20161003124941/http://tarot.freeshell.org/leafpad/ |url-status=live }}</ref><ref name="readme" />
Leafpad is released under the [[GNU General Public License]] (GPL) version 2.<ref name=leafpad>{{cite web |url=http://tarot.freeshell.org/leafpad/ |title=Leafpad |date=December 23, 2010 |work=tarot.freeshell.org |accessdate=October 18, 2011 |archive-date=October 3, 2016 |archive-url=https://web.archive.org/web/20161003124941/http://tarot.freeshell.org/leafpad/ |url-status=live }}</ref><ref name="readme" />

Revision as of 21:19, 15 August 2022

Leafpad
Developer(s)Tarot Osuji
Initial releaseNovember 11, 2004; 19 years ago (2004-11-11)
Stable release
0.8.18.1 / December 23, 2010; 13 years ago (2010-12-23)
Written inGTK
Operating systemLinux, BSD, Maemo
Size457 kB (installed size for i386)[1]
Available in42 languages
List of languages
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[2]
TypeText editor
LicenseGPL-2.0-or-later
Websitetarot.freeshell.org/leafpad/

Leafpad is a free and open-source graphical text editor for Linux, 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 is the default text editor for LXDE, a lightweight desktop environment, and Leafpad is installed by default on Linux distributions that use LXDE as their desktop environment.

Leafpad is released under the GNU General Public License (GPL) version 2.[3][4]

History

Leafpad was created by Tarot Osuji, who remains its only author and maintainer.[5] Work began on Leafpad in 2004 with the publishing of version 0.5.x on GitHub.[6] The first full release to the public was version 0.7.6 on November 11, 2004.[7]

Though it is part of the LXDE desktop package,[8] it is not maintained by the LXDE development team.[9] Leafpad has not received an update since December 2010 with the release of version 0.8.18.1.[6]

Features

Leafpad has a small footprint compared to other graphical text editors such as gedit or Kate.[10] and 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 417kb and 486kb, with 457kb being the installed size on a i386 computer.[1]

Specific software features include a codeset option, auto codeset detection, an unlimited Undo/Redo feature,[10] and drag and drop capabilities.[12] Fonts can be chosen from among the operating system's available computer fonts,[13] and keybindings can be used for many features such as saving a file and printing.[4]

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.[13]

According to Leafpad's man page, Leafpad can be launched from the terminal in a leafpad [options] [filename] 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.[14] The background color of the application window can be changed via a configuration file.[3]

Usage

As part of the LXDE desktop environment, Leafpad is pre-installed as the default graphical text editor on Knoppix,[15] LXLE Linux,[16] Trisquel Mini[17], and Raspberry Pi OS (formerly Raspbian).[18][19]

It is also the included in default installtaions of the Kali Linux digital forensics distribution,[20] and is pre-installed on the operating system that comes with the BeagleBone single-board computer. [21]

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.[22][23][24] It was also the default graphical text editor in Peppermint OS until Peppermint moved to the Xfce desktop environment in 2022.[25]

In addition to being installed by default on some Linux distributions, Leafpad can also be manually compiled for Linux, BSD, and Maemo[3] or can be installed via the software repositories of many Linux distributions including Arch Linux[26] and Fedora.[27]

Forks

Mousepad, which is the default text editor bundled in with the Xfce desktop environment, was originally written as a fork of Leafpad[28] by Erik Harrison and Nick Schermer of the Xfce team. It was rewritten in December 2012 with version 0.3.0, which replaced the original code with a complete rewrite.[29]

Another graphical text editor called l3afpad was created as a fork of Leafpad that is written in GTK3 instead of GTK2.[30]

Some parts of the Qt-based text editor FeatherPad were taken from Leafpad's code.[31]

Architecture

Compiling Leafpad requires only one dependency: GTK+ with a version higher than 2.0.0.[3] 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 fuctions,[32] and libgnomeprintui, which is the package for the printing user interface.[33] Installation on some Linux distributions may require additional dependencies based on the distribution's configuration.[34]

See also

References

  1. ^ a b "Package: leafpad (0.8.18.1-5)". Debian Packages. Debian. 2019. Archived from the original on May 13, 2021. Retrieved June 8, 2019.
  2. ^ "The leafpad textual domain". translationproject.org. August 9, 2015. Archived from the original on September 6, 2015. Retrieved December 13, 2015.
  3. ^ a b c d "Leafpad". tarot.freeshell.org. December 23, 2010. Archived from the original on October 3, 2016. Retrieved October 18, 2011.
  4. ^ a b Osuji, Tarot. "leafpad/README". GitHub. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  5. ^ Osuji, Tarot. "leafpad/AUTHORS". GitHub. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  6. ^ a b Osuji, Tarot. "leafpad/ChangeLog". GitHub. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  7. ^ "/releases/leafpad". gnu.org. Archived from the original on May 8, 2021. Retrieved August 14, 2022.
  8. ^ "Metapackage for LXDE". Debian. Archived from the original on August 12, 2021. Retrieved 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.
  9. ^ "LXDE – Lightweight X11 Desktops Environment". Archived from the original on October 10, 2012. Retrieved October 22, 2011. Leafpad: Lightweight and simple text editor(This is not developed by us, but we suggest using this as default text editor).
  10. ^ a b Jack M. Germain (April 7, 2010). "gEdit and Leafpad Make a Good Text-Editing Team". LinuxInsider. Archived from the original on March 31, 2012. Retrieved October 18, 2011.
  11. ^ Danny Stieben (May 2, 2011). "Leafpad – An Ultra-Lightweight Text Editor". MakeUseOf. Archived from the original on November 10, 2011. Retrieved October 18, 2011.
  12. ^ Jack Wallen (May 1, 2010). "Leafpad: Yet another Linux text editor". ghacks.net. Archived from the original on November 25, 2020. Retrieved October 18, 2011.
  13. ^ a b Germain, Jack M. (April 7, 2010). "gEdit and Leafpad Make a Good Text-Editing Team". LinuxInsider. Archived from the original on September 19, 2021. Retrieved August 14, 2022.
  14. ^ "Ubuntu manpage: leafpad – GTK+ based simple text editor". Ubuntu. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  15. ^ "KNOPPIX – Live Linux Filesystem on CD". Knoppix. Archived from the original on May 3, 2018. Retrieved August 14, 2022.
  16. ^ "What is it? < The LXLE Desktop". lxle.net. Archived from the original on June 21, 2018. Retrieved October 20, 2016.
  17. ^ "Trisquel Mini". Trisquel. November 16, 2021. Archived from the original on June 23, 2018. Retrieved August 14, 2022.
  18. ^ "Introducing PIXEL". Raspberry Pi. September 27, 2016. Archived from the original on December 9, 2019. Retrieved August 14, 2022.
  19. ^ McManus, Sean (2014). Raspberry Pi for dummies (Second ed.). Hoboken, New Jersey: Wiley. pp. 71–72. ISBN 978-1-118-90501-2. OCLC 896853135. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  20. ^ Salmon, Arthur (2017). Applied network security : master the art of detecting and averting advanced network security attacks and techniques. Birmingham, UK. p. 49. ISBN 978-1-78646-968-7. OCLC 987379345. Archived from the original on August 14, 2022. Retrieved August 14, 2022.{{cite book}}: CS1 maint: location missing publisher (link)
  21. ^ Yoder, M. A. (2015). BeagleBone Cookbook : software and hardware problems and solutions. Sebastpool, CA. p. 150. ISBN 978-1-4919-1568-4. OCLC 907539434. Archived from the original on August 14, 2022. Retrieved August 14, 2022.{{cite book}}: CS1 maint: location missing publisher (link)
  22. ^ "LXDE - Lightweight X11 Desktops Environment". LXDE Project. Sourceforge. April 30, 2008. Archived from the original on October 10, 2012. Retrieved October 18, 2011.
  23. ^ "Information about Xbuntu 11.10". Ubuntu Wiki. Ubuntu. October 13, 2011. Archived from the original on January 5, 2012. Retrieved October 18, 2011.
  24. ^ "Xubuntu 12.04 released". Canonical. April 26, 2012. Archived from the original on November 11, 2020. Retrieved April 26, 2012.
  25. ^ "Peppermint Release Notes". Peppermint OS. February 2, 2022. Archived from the original on June 11, 2022. Retrieved August 14, 2022.
  26. ^ "Arch Linux – leafpad 0.8.18.1-9". Arch Linux. Archived from the original on March 24, 2022. Retrieved August 14, 2022.
  27. ^ "rpms / leafpad". Fedora Linux. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  28. ^ "Template file for 'mousepad'". GitHub. Archived from the original on August 14, 2022. Retrieved August 14, 2022. Simple text editor for Xfce based on Leafpad
  29. ^ "mousepad/News". Xfce. Archived from the original on January 9, 2022. Retrieved August 14, 2022.
  30. ^ "l3afpad". GitHub. Archived from the original on July 28, 2022. Retrieved August 14, 2022.
  31. ^ "FeatherPad/encoding.cpp". GitHub. October 26, 2020. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  32. ^ "SUSE Package Hub – libgnomeprint: The GNOME 2.x Printing Library". SUSE. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  33. ^ "SUSE Package Hub – libgnomeprintui: User Interface Part of the GNOME Printing Library". SUSE. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  34. ^ "Package: leafpad (0.8.18.1-5)". Archived from the original on May 13, 2021. Retrieved August 14, 2022.