Mousepad
Mousepad is a simple text editor for Xfce
Introduction
Mousepad aims to be an easy-to-use and fast editor. Our target is an editor for quickly editing text files, not a development environment or an editor with a huge bunch of plugins. On the other hand we try to use the latest GTK features available, which means that if GTK adds something new in a major release that is useful for the editor, we will likely bump the GTK dependency and integrate this new feature in Mousepad.
Screenshots
Settings
The preferences dialog shown above is the easiest way to set Mousepad settings. Some of them are also accessible via the menubar, e.g. “Word Wrap” and “Auto Indent” in the “Document” menu.
All these settings, plus some “hidden” ones, are also accessible using GSettings command line tool. You can get a list of everything about Mousepad in GSettings with this command:
gsettings list-recursively org.xfce.mousepad
Then, to enable e.g. automatic indentation, just do
gsettings set org.xfce.mousepad.preferences.view auto-indent true
See man gsettings
and gsettings help
for more details.
A graphical alternative to gsettings
is Dconf Editor, normally available from your distribution repositories: see https://wiki.gnome.org/Apps/DconfEditor.
Printing
The settings for printing are treated separately, in the file ~/.config/Mousepad/mousepadrc
. Create this file if it does not exist, then carry out a printing operation to the end (you can print in a file), and Mousepad will fill in the configuration file with the values set in the print dialog. Be sure to leave the value of PageSetupSaved
at true
so that all settings are reloaded the next time you print.
Keybindings
After its first use, Mousepad will generate the file ~/.config/Mousepad/accels.scm
, containing the list of configurable keybindings. To customize a keybinding, uncomment the corresponding line by removing the semicolon at the beginning, then change the shortcut at the end of the line, without touching the rest.
Required packages
Mousepad depends on the following packages:
- GTK >=3.22.0
- GLib >=2.52.0
- xfconf >=4.12.0
- GtkSourceView >=3.24.0
Latest Release
- mousepad 0.5.10 released (2022/07/09 20:51)
mousepad 0.5.10 is now available for download from https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-0.5.10.tar.bz2 https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-0.5.10.tar.bz2?sha1 https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-0.5.10.tar.bz2?sha256 What is mousepad? ================= A simple text editor for Xfce. Website: https://docs.xfce.org/apps/mousepad/ Release notes for 0.5.10 ======================== - New Features: - Consider unnamed files unchanged when empty (#170, !123) - Bug Fixes: - session-restore: Manage autosave ids through a GList (#165) - Honor global "gtk-menu-images" setting for icon visibility - search: Do not select first combo box entry when list does not change - Fix encoding conversion when saving - Fix encoding conversion when opening (#172) - Update charset when a byte order mark is detected (#172) - tests: Add plugin settings to the list - build: Fix intltool lock file problem during make distcheck - Fix a memory leak in menu item realignment (#164) - Translation Updates: Finnish, Greek, Hebrew, Hungarian, Russian, Serbian, Swedish, Turkish, Ukrainian
Source code repository
Reporting Bugs
- Reporting Bugs – Open bug reports and how to report new bugs