Mousepad: A variation on the Leafpad theme
If you've been following my series on Linux text editors you have read about a number of different variations on this theme. Some editors have been very GUI friendly, some have been just shy of a text-based editor, and some of them fall somewhere in between. Many people seem to prefer the in between editors because of their simplicity, speed, user-friendliness, and tiny foot print. One of those editors is Leafpad. But there is another editor, very similar to Leafpad, that was developed to be very Xfce friendly. That editor - Mousepad.
Mousepad was originally created to bring printing support to Leafpad. Well, since then Leafpad has added printing support, so what's the diff? Very little. But if you look around enough you will find a few variations on the Leafpad theme. In this article I will show you how to install Mousepad and illustrate it's use and some of the differences you will find.
As you can imagine, installation of Mousepad is simple. You will find Mousepad in your distributions' standard repositories, so all you need to do is:
- Open up your Add/Remove Software tool (such as Synaptic or Packagekit).
- Search for "mousepad" (No quotes).
- Mark mousepad for installation.
- Click Apply to install.
Once installed you will find Mousepad in your Accessories menu. If not there you can look in the Programming menu (if you have one). If not in the programming menu you can always hit <Alt>F2 and then enter mousepad in the run dialog to start up Mousepad.
When you start up Mousepad (see Figure 1), as you can imagine, it will look very similar to Leafpad (which, in turn, looks very much like you have a terminal window open). Mousepad borrows directly from Leafpad's minimalist sensibility. You have a text area and a toolbar - that's it! But don't be fooled, Mousepad is a very worthy contender in the text editor arena. This little guy can do just about anything the others can.
- Word wrap.
- Line numbers.
- Auto indent.
- Jump to.
And, unlike Leafpad, Mousepad has a menu option for "Open Recent". But as far as differences are concerned - that's it. So why use Mousepad over Leafpad? That's a good question. At one point you would have used Mousepad over Leafpad when using the Xfce window manager. And although there may be some tiny benefits to using Mousepad over Leafpad in its native environment, you would be hard pressed to notice a difference.
In the end, the only advantage to using Mousepad over Leafpad is the "Open Recent" menu option. Other than that you won't be able to tell the difference.
Ultimately, however, you are just using a text editor that is nothing more than a step above a text-based editor. And since most text-based editor offer far more features than do either Leaf or Mouse pad, your best bet is to learn the ins and outs of the text-based editors (I will begin to cover some of these editors very soon!)
It's up to you which you prefer. But if you've tried Leafpad then you've tried Mousepad. But, if you use Xfce, you might just feel a bit more at ease using the editor that was originally created for your window manager of choice.Advertisement