Leafpad
   HOME

TheInfoList



OR:

Leafpad is a
free and open-source Free and open-source software (FOSS) is software available under a Software license, license that grants users the right to use, modify, and distribute the software modified or not to everyone free of charge. FOSS is an inclusive umbrella term ...
graphical
text editor A text editor is a type of computer program that edits plain text. An example of such program is "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be used to c ...
for
Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
,
Berkeley Software Distribution The Berkeley Software Distribution (BSD), also known as Berkeley Unix or BSD Unix, is a discontinued Unix operating system developed and distributed by the Computer Systems Research Group (CSRG) at the University of California, Berkeley, beginn ...
(BSD), and
Maemo Maemo is a Linux-based software platform originally developed by Nokia, now developed by the Free software movement, community, for smartphones and Internet tablets. The platform comprises both the Maemo operating system and Software development ...
that is similar to the
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
program
Notepad A notebook (also known as a notepad, writing pad, drawing pad, or legal pad) is a book or stack of paper pages that are often Ruled paper, ruled and used for purposes such as note-taking, Diary, journaling or other writing, drawing, or scrapbooki ...
. 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 LXDE (abbreviation for Lightweight X11 Desktop Environment) is a Free and open-source software, free desktop environment with comparatively low resource requirements. This makes it especially suitable for use on older or resource-constrained pe ...
lightweight
desktop environment In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphi ...
, and thus Leafpad is found on
Linux distribution A Linux distribution, often abbreviated as distro, is an operating system that includes the Linux kernel for its kernel functionality. Although the name does not imply product distribution per se, a distro—if distributed on its own—is oft ...
s that use LXDE as their desktop environment such as
Raspberry Pi OS Raspberry Pi OS is a Unix-like operating system developed for the Raspberry Pi line of single-board computers. Based on Debian, a Linux distribution, it is maintained by Raspberry Pi Holdings and optimized for Raspberry Pi hardware, with low memo ...
, as well as on some embedded systems. The program has been forked into
Mousepad A mousepad or mousemat is a surface for placing and moving a computer mouse. A mousepad enhances the usability of the mouse compared to using a mouse directly on a table by providing a surface to allow it to measure movement accurately and with ...
and l3afpad, and parts of Leafpad's code have been used in other text editors. Leafpad is released under the
GNU General Public License The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
(GPL) version 2.


History

Leafpad was created by Tarot Osuji, who remains its only author and maintainer. The first published version of Leafpad was version 0.5.x in 2004. The first full release to the public was version 0.7.6 on November 11, 2004. 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, it is not maintained by the LXDE development team. When first released, Leafpad had no printing capabilities. This led to members of the
Xfce Xfce or XFCE (pronounced as four individual letters, ) is a Free and open-source software, free and open-source desktop environment for Linux and other Unix-like operating systems. Xfce aims to be fast and Lightweight software, lightweight whil ...
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'', a translation project dedicated to providing language translation for open-source software. In 2020, the translation listing for Leafpad was removed from their database.


Features

Leafpad has a small
footprint Footprints are the impressions or images left behind by a person walking or running. Hoofprints and pawprints are those left by animals with hooves or paws rather than feet, while "shoeprints" is the specific term for prints made by shoes. The ...
compared to other graphical text editors such as
gedit gedit ( or ) is a text editor designed for the GNOME desktop environment. It was GNOME's default text editor and part of the GNOME Core Applications until GNOME version 42 in March 2022, which changed the default text editor to GNOME Text Edi ...
or
Kate Kate may refer to: People and fictional characters * Kate (given name), a list of people and fictional characters with the given name or nickname * Gyula Káté (born 1982), Hungarian amateur boxer * Lauren Kate (born 1981), American author o ...
. It is similar in visuals and functionality to the Microsoft Windows program Notepad. Depending on the
architecture Architecture is the art and technique of designing and building, as distinguished from the skills associated with construction. It is both the process and the product of sketching, conceiving, planning, designing, and construction, constructi ...
of the computer installed on, the program takes up between 417 kB and 486 kB on
Debian Debian () is a free and open-source software, free and open source Linux distribution, developed by the Debian Project, which was established by Ian Murdock in August 1993. Debian is one of the oldest operating systems based on the Linux kerne ...
after installation, with 457 kB being the installed size on an
i386 The Intel 386, originally released as the 80386 and later renamed i386, is the third-generation x86 architecture microprocessor from Intel. It was the first 32-bit processor in the line, making it a significant evolution in the x86 archite ...
computer, compared to 5,462 kB for the text editor Kate. On
Arch Linux Arch Linux () is an Open-source software, open source, rolling release Linux distribution. Arch Linux is kept up-to-date by regularly updating the individual pieces of software that it comprises. Arch Linux is intentionally minimal, and is meant ...
, Leafpad's size after installation is only 301 kB. Specific software features include a codeset option, auto codeset detection, an unlimited undo/redo feature, and
drag and drop In computer graphical user interfaces, drag and drop is a pointing device gesture in which the user (computing), user selects a virtual object by "grabbing" it and dragging it to a different location or onto another virtual object. In general, i ...
capabilities. Fonts can be chosen from among the operating system's available
computer font A computer font is implemented as a digital data file containing a set of graphically related glyphs. A computer font is designed and created using a font editor. A computer font specifically designed for the computer screen, and not for printi ...
s, and
keybindings In computing, a keyboard shortcut (also hotkey/hot key or key binding) is a software-based assignment of an action to one or more keys on a computer keyboard. Most Operating system, operating systems and Application software, applications come ...
can be used for many features such as saving a file and printing. 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 A man page (short for manual page) is a form of software documentation found on Unix and Unix-like operating systems. Topics covered include programs, system libraries, system calls, and sometimes local system details. The local host administr ...
, 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. The background color of the application window can be changed via a
configuration file A configuration file, a.k.a. config file, is a computer file, file that stores computer data, data used to configure a software system such as an application software, application, a server (computing), server or an operating system. Some applic ...
.


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 Knoppix, stylized KNOPPIX ( ), is an operating system based on Debian designed to be run directly from a CD or DVD (Live CD) or a USB flash drive ( Live USB). It was first released in 2000 by German Linux consultant Klaus Knopper, and was one ...
, Trisquel Mini, and Raspberry Pi OS (formerly Raspbian). It is included in default installations of Bodhi Linux, the
Kali Linux Kali Linux is a Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security. The software is based on the Debian''Testing'' branch: most packages Kali uses are imported from the De ...
digital forensics distribution, and is pre-installed on
Ångström The angstrom (; ) is a unit of length equal to m; that is, one ten-billionth of a metre, a hundred-millionth of a centimetre, 0.1 nanometre, or 100 picometres. The unit is named after the Swedish physicist Anders Jonas Ångström (1814–18 ...
, a specialty Linux distribution for
embedded system An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is e ...
s such as the BeagleBone single-board computer, which uses Leafpad as its text editor. Leafpad was the default graphical text editor for
Lubuntu Lubuntu ( ) is a lightweight Linux distribution based on Ubuntu that uses the LXQt desktop environment in place of GNOME. Lubuntu was originally touted as being "lighter, less resource hungry and more energy-efficient", but now aims to be "a f ...
up to version 18.04 LTS. After Lubuntu moved from the LXDE to the
LXQt LXQt is a free and open-source software, free and open source lightweight desktop environment. It was formed from the merger of the LXDE and Razor-qt projects. Like its GTK predecessor LXDE, LXQt does not ship or develop its own window manager ...
desktop, Leafpad was replaced by FeatherPad. 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 A software repository, or repo for short, is a storage location for software packages. Often a table of contents is also stored, along with metadata. A software repository is typically managed by source or version control, or repository manager ...
of many Linux distributions including Arch Linux and
Fedora A fedora () is a hat with a soft brim and indented crown.Kilgour, Ruth Edwards (1958). ''A Pageant of Hats Ancient and Modern''. R. M. McBride Company. It is typically creased lengthwise down the crown and "pinched" near the front on both sides ...
. Leafpad can be installed on
macOS macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
via
MacPorts MacPorts, formerly DarwinPorts, is a package manager for macOS and Darwin. It is an open-source software project that aims to simplify the installation of other open source software. It is similar in function to Fink and the BSD ports collection ...
, or on
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
via
Cygwin Cygwin ( ) is a free and open-source Unix-like environment and command-line interface (CLI) for Microsoft Windows. The project also provides a software repository containing open-source packages. Cygwin allows source code for Unix-like operati ...
.


Forks

Mousepad A mousepad or mousemat is a surface for placing and moving a computer mouse. A mousepad enhances the usability of the mouse compared to using a mouse directly on a table by providing a surface to allow it to measure movement accurately and with ...
, which is a text editor for the Xfce desktop environment, was originally written as a fork of Leafpad due to an issue Leafpad had with printing, an issue which Leafpad later fixed. Mousepad was rewritten in December 2012 with version 0.3.0, which replaced the original Leafpad-based code with a complete rewrite. Another graphical text editor called l3afpad was created as a fork of Leafpad that is written in GTK3 instead of GTK2. Some parts of the Qt-based text editor FeatherPad were taken from Leafpad's code.


Architecture

Leafpad has been pre-compiled for Linux repositories to run on several types of computer architectures including
x86 x86 (also known as 80x86 or the 8086 family) is a family of complex instruction set computer (CISC) instruction set architectures initially developed by Intel, based on the 8086 microprocessor and its 8-bit-external-bus variant, the 8088. Th ...
,
amd64 x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit extension of the x86 instruction set. It was announced in 1999 and first available in the AMD Opteron family in 2003. It introduces two new operating modes: 64-bit mode an ...
,
RISC-V RISC-V (pronounced "risk-five") is an open standard instruction set architecture (ISA) based on established reduced instruction set computer (RISC) principles. The project commenced in 2010 at the University of California, Berkeley. It transfer ...
,
PowerPC PowerPC (with the backronym Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a reduced instruction set computer (RISC) instruction set architecture (ISA) created by the 1991 Apple Inc., App ...
(including
ppc64 ppc64 is an identifier commonly used within the Linux, GNU Compiler Collection (GCC) and LLVM free software communities to refer to the target architecture for applications optimized for 64-bit big-endian PowerPC and Power ISA processors. ppc64 ...
), and various
ARM In human anatomy, the arm refers to the upper limb in common usage, although academically the term specifically means the upper arm between the glenohumeral joint (shoulder joint) and the elbow joint. The distal part of the upper limb between ...
and
MIPS architecture MIPS (Microprocessor without Interlocked Pipelined Stages) is a family of reduced instruction set computer (RISC) instruction set architectures (ISA)Price, Charles (September 1995). ''MIPS IV Instruction Set'' (Revision 3.2), MIPS Technologies ...
s.
Compiling In computing, a compiler is a computer program that translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primarily used for programs tha ...
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 A gnome () is a mythological creature and diminutive spirit in Renaissance magic and alchemy, introduced by Paracelsus in the 16th century and widely adopted by authors, including those of modern fantasy literature. They are typically depict ...
library and require a version higher than 2.2.0: libgnomeprint, which allows Leafpad to access printing functions, and libgnomeprintui, which is the package for the printing
user interface In the industrial design field of human–computer interaction, a user interface (UI) is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine fro ...
. Installation on some Linux distributions may require additional dependencies based on the distribution's configuration.


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 In computing, WYSIWYG ( ), an acronym for what you see is what you get, refers to software that allows content to be edited in a form that resembles its appearance when printed or displayed as a finished product, such as a printed document, web ...
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. An article by ''Admin Magazine'' comparing various text editors also focused on the lightweight nature of Leafpad. 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. 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 Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (prog ...
.


See also

*
List of text editors The following is a list of notable text editors. Graphical and text user interface The following editors can either be used with a graphical user interface or a text user interface. Graphical user interface Text user interface Sys ...
*
List of GTK applications This is a list of notable applications that use GTK and/or Clutter for their GUI widgets. Such applications blend well with desktop environments that are GTK-based as well, such as GNOME, Cinnamon (software), Cinnamon, LXDE, MATE (software), MATE, ...


References


External links

* {{GTK Free text editors Text editors that use GTK Free software programmed in C Linux text editors LXDE Software using the GNU General Public License BSD software