Leafpad

Last updated

Leafpad
Developer(s) Tarot Osuji
Initial releaseNovember 11, 2004;19 years ago (2004-11-11)
Stable release
0.8.18.1 / December 23, 2010;12 years ago (2010-12-23)
Repository github.com/tarot231/leafpad
Written in C
Operating system Linux, BSD, Maemo
Size 91.3 kB on Arch Linux [1]
Available in42 languages [2]
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
Type Text editor
License GPL-2.0-or-later
Website tarot.freeshell.org/leafpad/

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.

Contents

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 Bodhi Linux and 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. [3] [4]

History

Leafpad was created by Tarot Osuji, who remains its only author and maintainer. [5] The first published version of Leafpad was version 0.5.x in 2004. [6] The first full release to the public was version 0.7.6 on November 11, 2004. [7] Leafpad has not received an update since December 2010 with the release of version 0.8.18.1. [6] Though it is part of the LXDE desktop package, [8] it is not maintained by the LXDE development team. [9]

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. [10] The ability to print was later added to Leafpad in 2005, with further improvements to the printing capabilities in 2006 and 2007. [6]

Language translations for Leafpad were provided through TranslationProject.org, [3] [2] a translation project dedicated to providing language translation for open-source software. [11] In 2020, the translation listing for Leafpad was removed from their database. [12] [13]

Features

Leafpad has a small footprint compared to other graphical text editors such as gedit or Kate. [14] It is similar in visuals and functionality to the Microsoft Windows program Notepad. [15] 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, [16] compared to 5,462 kB for the text editor Kate. [17] On Arch Linux, Leafpad's size after installation is only 301 kB. [1]

Specific software features include a codeset option, auto codeset detection, an unlimited undo/redo feature, [14] and drag and drop capabilities. [18] Fonts can be chosen from among the operating system's available computer fonts, [14] and keybindings can be used for many features such as saving a file and printing. [4] Leafpad is available in 42 languages. [2]

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. [14] According to Leafpad's man page, Leafpad can be launched from the terminal in a leafpad optionsfilename 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. [19] 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 Linux distributions that use LXDE, such as Bodhi Linux, [20] Knoppix, [21] [22] Trisquel Mini, [23] and Raspberry Pi OS (formerly Raspbian). [24] [25] It is also the included in default installations of the Kali Linux digital forensics distribution, [26] and is pre-installed on Ångström, [27] a specialty Linux distribution for embedded systems such as the BeagleBone single-board computer, which uses Leafpad as its text editor. [28] 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. [29]

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 [30] and Fedora. [31] Leafpad can be installed on macOS via MacPorts, [32] or on Microsoft Windows via Cygwin. [33]

Forks

Mousepad, which is a text editor for the Xfce desktop environment, was originally written as a fork of Leafpad [34] due to an issue Leafpad had with printing, [35] an issue which Leafpad later fixed. [10] 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] [16]

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

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

Related Research Articles

<span class="mw-page-title-main">Xfce</span> Desktop environment

Xfce or XFCE is a free and open-source desktop environment for Linux and other Unix-like operating systems.

<span class="mw-page-title-main">Knoppix</span> Linux distribution

Knoppix, stylized KNOPPIX, is an operating system based on Debian designed to be run directly from a CD / DVD or a USB flash drive. It was first released in 2000 by German Linux consultant Klaus Knopper, and was one of the first popular live distributions. Knoppix is loaded from the removable medium and decompressed into a RAM drive. The decompression is transparent and on-the-fly.

<span class="mw-page-title-main">Kanotix</span> Linux distribution

Kanotix, also referred to as KANOTIX, is an operating system based on Debian, with advanced hardware detection. It can run from an optical disc drive or other media i.e. USB-stick without using a hard disk drive.

<span class="mw-page-title-main">Light-weight Linux distribution</span> Operating system with low resource requirements

A light-weight Linux distribution is one that uses lower memory and/or has less processor-speed requirements than a more "feature-rich" Linux distribution. The lower demands on hardware ideally result in a more responsive machine, and/or allow devices with fewer system resources to be used productively. The lower memory and/or processor-speed requirements are achieved by avoiding software bloat, i.e. by leaving out features that are perceived to have little or no practical use or advantage, or for which there is no or low demand.

<span class="mw-page-title-main">Xubuntu</span> Linux distribution based on Ubuntu, utilizing the Xfce desktop environment

Xubuntu is a Canonical Ltd.–recognized, community-maintained derivative of the Ubuntu operating system. The name Xubuntu is a portmanteau of Xfce and Ubuntu, as it uses the Xfce desktop environment, instead of Ubuntu's customized GNOME desktop.

A desktop environment is a collection of software designed to give functionality and a certain look and feel to an operating system.

<span class="mw-page-title-main">LXDE</span> Lightweight desktop environment for Linux and BSD

LXDE is a free desktop environment with comparatively low resource requirements. This makes it especially suitable for use on older or resource-constrained personal computers such as netbooks or system on a chip computers.

<span class="mw-page-title-main">Linux Mint</span> Ubuntu-based Linux distribution

Linux Mint is a community-driven Linux distribution based on Ubuntu, bundled with a variety of free and open-source applications. It can provide full out-of-the-box multimedia support for those who choose to include proprietary software such as multimedia codecs. Compared to Ubuntu, it uses the Cinnamon interface by default, using a different, more traditional layout that can be customized by dragging the applets and creating panels. New applets can also be downloaded.

<span class="mw-page-title-main">Xarchiver</span>

Xarchiver is a front-end to various command line archiving tools for Linux and BSD operating systems, designed to be independent of the desktop environment. It is the default archiving application of Xfce and LXDE. Deepin's archive manager is based on Xarchiver.

systemd Suite of system components for Linux

systemd is a software suite that provides an array of system components for Linux operating systems. The main aim is to unify service configuration and behavior across Linux distributions. Its primary component is a "system and service manager" – an init system used to bootstrap user space and manage user processes. It also provides replacements for various daemons and utilities, including device management, login management, network connection management, and event logging. The name systemd adheres to the Unix convention of naming daemons by appending the letter d. It also plays on the term "System D", which refers to a person's ability to adapt quickly and improvise to solve problems.

<span class="mw-page-title-main">Peppermint OS</span> Linux computer operating system

Peppermint OS is a Linux distribution based on Debian and Devuan Stable, and formerly based on Ubuntu. It uses the Xfce desktop environment. It aims to provide a familiar environment for newcomers to Linux, which requires relatively low hardware resources to run.

<span class="mw-page-title-main">Kiwix</span> Open-source offline browser for public domain projects

Kiwix is a free and open-source offline web browser created by Emmanuel Engelhart and Renaud Gaudin in 2007. It was first launched to allow offline access to Wikipedia, but has since expanded to include other projects from the Wikimedia Foundation, public domain texts from Project Gutenberg, many of the Stack Exchange sites, and many other resources. Available in more than 100 languages, Kiwix has been included in several high-profile projects, from smuggling operations in North Korea to Google Impact Challenge's recipient Bibliothèques Sans Frontières.

Arch Linux ARM is a port of Arch Linux for ARM processors. Its design philosophy is "simplicity and full control to the end user," and like its parent operating system Arch Linux, aims to be very Unix-like. This goal of minimalism and complete user control, however, can make it difficult for Linux beginners as it requires more knowledge of and responsibility for the operating system.

Profanity is a text mode instant messaging interface that supports the XMPP protocol. It supports Linux, macOS, Windows, FreeBSD, and Android.

<span class="mw-page-title-main">Raspberry Pi OS</span> Debian-based operating system for Raspberry Pi

Raspberry Pi OS is a Unix-like operating system based on the Debian Linux distribution for the Raspberry Pi family of compact single-board computers. First developed independently in 2012, it has been produced as the primary operating system for these boards since 2013, distributed by the Raspberry Pi Foundation.

<span class="mw-page-title-main">LXQt</span> Lightweight Qt Desktop Environment

LXQt is a free and open source lightweight desktop environment. It was formed from the merger of the LXDE and Razor-qt projects.

<span class="mw-page-title-main">Void Linux</span> Independent distribution developed entirely by volunteers

Void Linux is an independent Linux distribution that uses the X Binary Package System (XBPS) package manager, which was designed and implemented from scratch, and the runit init system. Excluding binary kernel blobs, a base install is composed entirely of free software.

<span class="mw-page-title-main">Budgie (desktop environment)</span> Desktop environment for Unix-like operating systems

Budgie is an independent, free and open-source desktop environment for Linux and other Unix-like operating systems that targets the desktop metaphor. Budgie is developed by the Buddies of Budgie organization, which is composed of a team of contributors from Linux distributions such as Fedora, Debian, and Arch Linux. Its design emphasizes simplicity, minimalism, and elegance, while providing the means to extend or customize the desktop in various ways. Unlike desktop environments like Cinnamon, Budgie does not have a reference platform, and all distributions that ship Budgie are recommended to set defaults that best fit their desired user experience.

<span class="mw-page-title-main">FeatherPad</span> Free software text editor written in Qt

FeatherPad is a free software text editor available under the GPL-3.0-or-later license. It is developed by Pedram Pourang of Iran, written in Qt, and runs on FreeBSD, Linux, Haiku OS and macOS. It has few dependencies and is independent of any desktop environment.

<span class="mw-page-title-main">Mousepad (software)</span> Text editing software

Mousepad is a graphical text editor written for Xfce, a Linux desktop environment. The program has a small footprint, similar to Leafpad, but has additional features such as plugins, search history and automatic reloading. The name Mousepad is derived from the mouse in Xfce's logo.

References

  1. 1 2 "leafpad 0.8.18.1-9". Arch Linux . Archived from the original on March 24, 2022. Retrieved August 16, 2022.
  2. 1 2 3 "The leafpad textual domain". TranslationProject.org. August 14, 2019. Archived from the original on February 1, 2020. Retrieved August 22, 2022.
  3. 1 2 3 4 5 "Leafpad". tarot.freeshell.org. December 23, 2010. Archived from the original on October 3, 2016. Retrieved October 18, 2011.
  4. 1 2 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. 1 2 3 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. 1 2 Wallen, Jack (May 5, 2010). "Mousepad: A variation on the Leafpad theme". GHacks . Archived from the original on August 24, 2022. Retrieved August 23, 2022.
  11. "Welcome to the Translation Project". TranslationProject.org. March 23, 2022. Archived from the original on August 18, 2022. Retrieved August 22, 2022.
  12. "Textual domains". TranslationProject.org. January 31, 2020. Archived from the original on February 1, 2020. Retrieved August 22, 2022.
  13. "Textual domains". TranslationProject.org. May 11, 2020. Archived from the original on May 12, 2020. Retrieved August 22, 2022.
  14. 1 2 3 4 5 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.
  15. Stieben, Danny (May 2, 2011). "Leafpad – An Ultra-Lightweight Text Editor". MakeUseOf. Archived from the original on November 10, 2011. Retrieved October 18, 2011.
  16. 1 2 "Package: leafpad (0.8.18.1-5)". packages.debian.org. Debian. 2019. Archived from the original on May 13, 2021. Retrieved June 8, 2019.
  17. "Package: kate (4:16.08.3-1)". packages.debian.org. Debian. 2022. Archived from the original on May 13, 2021. Retrieved June 8, 2019.
  18. 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.
  19. "Ubuntu manpage: leafpad – GTK+ based simple text editor". Ubuntu . Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  20. Rizwan, Amaan (August 28, 2020). "Best Lightweight Linux Distros of 2020". Techworm. Archived from the original on June 21, 2022. Retrieved August 16, 2022.
  21. "KNOPPIX – Live Linux Filesystem on CD". Knoppix . Archived from the original on May 3, 2018. Retrieved August 14, 2022.
  22. Watson, J.A. (January 27, 2014). "Hands-on with Knoppix Linux 7.2.0: A well-established and very stable Linux distribution". ZDNet . Archived from the original on June 26, 2018. Retrieved August 16, 2022.
  23. "Trisquel Mini". Trisquel . November 16, 2021. Archived from the original on June 23, 2018. Retrieved August 14, 2022.
  24. "Introducing PIXEL". Raspberry Pi . September 27, 2016. Archived from the original on December 9, 2019. Retrieved August 14, 2022.
  25. 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.
  26. Salmon, Arthur (2017). Applied network security : master the art of detecting and averting advanced network security attacks and techniques. Birmingham, UK: Packt Publishing. p. 49. ISBN   978-1-78646-968-7. OCLC   987379345. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  27. "meta-angstrom/contrib/build-feeds.sh". GitHub . January 8, 2022. Archived from the original on August 16, 2022. Retrieved August 16, 2022.
  28. 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)
  29. Hunt, Adam (August 30, 2019). "Review – FeatherPad". Full Circle Magazine . p. 36. Archived from the original on August 21, 2022. Retrieved August 21, 2022.
  30. "Arch Linux – leafpad 0.8.18.1-9". Arch Linux . Archived from the original on March 24, 2022. Retrieved August 14, 2022.
  31. "rpms / leafpad". Fedora Linux . Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  32. "Install leafpad on macOS with MacPorts". MacPorts.org. Archived from the original on August 10, 2022. Retrieved August 23, 2022.
  33. "Cygwin Package Summary for leafpad". Cygwin.com. Archived from the original on March 25, 2023. Retrieved August 23, 2022.
  34. "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
  35. "Package: mousepad (0.5.10-1)". packages.debian.org. Debian. Archived from the original on December 29, 2013. Retrieved August 22, 2022.
  36. "mousepad/News". Xfce . Archived from the original on January 9, 2022. Retrieved August 14, 2022.
  37. "l3afpad". GitHub . Archived from the original on July 28, 2022. Retrieved August 14, 2022.
  38. "FeatherPad/encoding.cpp". GitHub . October 26, 2020. Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  39. "app-editors / leafpad". packages.gentoo.org. Archived from the original on August 22, 2022. Retrieved August 22, 2022.
  40. "SUSE Package Hub – libgnomeprint: The GNOME 2.x Printing Library". SUSE . Archived from the original on August 14, 2022. Retrieved August 14, 2022.
  41. "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.
  42. "Package: leafpad (0.8.18.1-5)". Archived from the original on May 13, 2021. Retrieved August 14, 2022.
  43. King, Bertel Jr. (January 24, 2013). "Leafpad, A Simple and Lightweight Alternative to Gedit [Linux]". Make Tech Easier. Archived from the original on August 24, 2022. Retrieved August 24, 2022.
  44. Layton, Jeff. "Let the Editor Wars Begin!". Admin Magazine. Archived from the original on October 30, 2017. Retrieved August 24, 2022.
  45. Arindam. "Leafpad – A Notepad Alternative for Ubuntu/Linux". DebugPoint.com. Archived from the original on August 21, 2022. Retrieved August 21, 2022.
  46. Long, Moe (March 20, 2020). "Best Raspberry Pi Programming Resources". Electromaker. Archived from the original on June 30, 2022. Retrieved August 24, 2022.