On my Raspberry PI, I want to use simple text editor. So, I learned that it already has Leafpad text editor installed on it, but there is no trace of it being on PI. Like for instance, I run find leafpad command on the terminal and comes back not found. I look through the menu; Not listed there either. However, if I type in Leafpad in RUN command window from the Start Menu, Leafpad text editor starts up and runs. I want to place a shortcut on my desktop and associate it to certain file extension. So, could someone explain what is going on. Thanks.

Oh by the way, I am still using Raspberry PI Jessie on PI 3 for number of reasons and not the latest.

  • Hi @ThN, Ah, let me see. Leafpad is gone. You can $ mousepad, which is as good. – tlfong01 Oct 16 at 2:35
  • Sorry, my answer is for raspbian buster only. I have not tried Jessie or Windows. – tlfong01 Oct 16 at 3:08
  • I am using Rpi4B buster. I have just now installed leafpad 0.8 and found it working OK. – tlfong01 Oct 16 at 3:32
  • @Michael Harvey, Many thanks for pointing out my careless mistake confusing Microsoft Windows 7/10 with Rpi GUI Desktop (LXPanel). I forgot LXPanel also has a "Run" option. Now I tried the following: (1) Rpi GUI Desktop > Run > type "leafpad" or "mousepad" can start either or both text editors. – tlfong01 Oct 16 at 14:39
  • @ThN, Apologies for my confusion of the Windows 7/10 and Rpi Desktop (LXPanel). Anyway, now I have installed leafpad in my buster, so Dekstop > Run > and I type "leafpad" or "mousepad" can run either text editors (or both at the same time). – tlfong01 Oct 16 at 14:43


Where is the leafpad editor?


Leafpad is gone with the wind. Instead, you can try mousepad, which is better.


But if you miss Leadpad, you can install it in buster (not sure for other raspbian versions)


/ to continue, ...


/ to continue, ...


Appendix A - Xfce [and mousepad] - Wikipedia


Xfce ... is a free and open-source desktop environment for Unix-like operating systems such as Linux ....

Xfce aims to be fast and lightweight while still being visually appealing and easy to use. Xfce embodies the traditional Unix philosophy of modularity and re-usability. It consists of separately packaged parts that together provide all functions of the desktop environment, but can be selected in subsets to suit user needs and preference.

Like GNOME, Xfce is based on the GTK toolkit, ... It uses the Xfwm window manager, ... Its configuration is entirely mouse-driven, with the configuration files hidden from the casual user.



Mousepad is the default text editor for Xfce in ... Xubuntu [and raspbian 10 buster]. Mousepad aims to be an easy-to-use and fast editor, meant for quickly editing text files, not a development environment or an editor with a large plugin ecosystem. ...

End of answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.