Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apps:mousepad:start [2020/12/20 08:11] – [Screenshots] kevinbowen | apps:mousepad:start [2023/07/02 08:03] (current) – Update Latest Release section kevinbowen | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ :apps: | + | {{ :xfce:xfce.mousepad.png?no link|}} |
====== Mousepad ====== | ====== Mousepad ====== | ||
Line 10: | Line 10: | ||
* **[[# | * **[[# | ||
* **[[# | * **[[# | ||
+ | * **[[#Manual actions required for some version changes|Manual actions required for some version changes]]** | ||
* **[[#Latest Release|Latest Release]]** | * **[[#Latest Release|Latest Release]]** | ||
* **[[#Source Code Repository|Source Code Repository]]** | * **[[#Source Code Repository|Source Code Repository]]** | ||
Line 18: | Line 19: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | **Mousepad** aims to be an easy-to-use and fast editor. Our target is an | + | 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 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 | 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 | 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 | release that is useful for the editor, we will likely bump the GTK dependency | ||
- | and integrate this new feature in **Mousepad**. | + | and integrate this new feature in Mousepad. |
---- | ---- | ||
Line 29: | Line 30: | ||
===== Screenshots ===== | ===== Screenshots ===== | ||
<figure "Main window"> | <figure "Main window"> | ||
- | {{:: | + | {{:: |
</ | </ | ||
- | <figure "View Preferences"> | + | <figure " |
{{: | {{: | ||
- | </ | ||
- | |||
- | <figure " | ||
{{: | {{: | ||
</ | </ | ||
- | <figure " | + | <figure " |
{{: | {{: | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | <figure " | ||
+ | {{: | ||
</ | </ | ||
Line 52: | Line 55: | ||
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" | 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" | ||
- | All these settings, plus some " | + | All these settings, plus some " |
+ | |||
+ | From the command line, you can use '' | ||
| | ||
Line 62: | Line 67: | ||
See '' | See '' | ||
- | A graphical alternative | + | For technical reasons, |
+ | | ||
+ | |||
+ | '' | ||
+ | |||
+ | dconf dump / | ||
+ | |||
+ | See '' | ||
==== Printing ==== | ==== Printing ==== | ||
- | The settings for printing are treated separately, in the file '' | + | The settings for printing are treated separately, in the file '' |
+ | |||
+ | NB: Before Mousepad 0.5.6, you must first create the configuration file if it does not exist: | ||
+ | |||
+ | >> ~/ | ||
[[|Back to Top]] | [[|Back to Top]] | ||
Line 73: | Line 89: | ||
===== Keybindings ===== | ===== Keybindings ===== | ||
- | After its first use, Mousepad will generate the file '' | + | After its first use, Mousepad will generate the file '' |
+ | * quit Mousepad; | ||
+ | * open this file with a different text editor; | ||
+ | * uncomment the line corresponding to the shortcut you want to customize | ||
+ | * change the shortcut at the end of the line, without touching the rest. | ||
+ | |||
+ | As of version 0.5.9, Mousepad has a shortcuts editor that can be accessed from the " | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
+ | |||
+ | ===== Theming ===== | ||
+ | |||
+ | As of version 0.5.9, Mousepad has a CSS style class " | ||
+ | |||
+ | .mousepad { color: red; } | ||
+ | |||
+ | It is also possible to mitigate some bugs by this way, like scrollbar grabbing when Mousepad is maximized (see https:// | ||
+ | |||
+ | .mousepad.maximized > box > notebook > stack, | ||
+ | .mousepad.maximized > box > notebook > stack > scrolledwindow { | ||
+ | border-left: | ||
+ | border-right: | ||
+ | } | ||
[[|Back to Top]] | [[|Back to Top]] | ||
Line 82: | Line 121: | ||
Mousepad depends on the following packages: | Mousepad depends on the following packages: | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https://gitlab.xfce.org/xfce/xfconf|xfconf]] >=4.12.0 | + | * [[https:// |
- | * [[https://wiki.gnome.org/Projects/GtkSourceView|GtkSourceView]] >=3.24.0 | + | |
+ | Mousepad optionally depends on the following packages: | ||
+ | |||
+ | * [[https://wiki.gnome.org/Projects/gspell|gspell]] >= 1.6.0 | ||
+ | * [[https://gitlab.xfce.org/xfce/libxfce4ui|libxfce4ui]] >= 4.17.5 | ||
[[|Back to Top]] | [[|Back to Top]] | ||
---- | ---- | ||
- | ===== Latest Release | + | ===== Manual actions required for some version changes |
- | ==== 0.5.0 (2020/ | + | |
- | [[https:// | + | |
+ | As of version **0.5.4**, Mousepad is likely to use GtkSourceView 4 (this is decided at compile time by the packager). If this is the case, the custom themes must be copied from '' | ||
- | [[|Back To Top]] | + | |
- | ---- | + | cp ~/ |
- | ===== Getting it ===== | + | As of version **0.5.7**, the name of the Mousepad |
- | The normal (and best) way to get the Mousepad | + | |
- | If Mousepad isn't available there, or if you want a different version, you can download it in source from from [[https://archive.xfce.org/src/apps/mousepad/]]. | + | sed -Ei.bak |
+ | The original mime type file will be kept as '' | ||
+ | ===== Latest Release ===== | ||
+ | {{rss> | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | * **[[https:// | ||
+ | |||
+ | [[|Back to Top]] | ||
- | [[|Back To Top]] | ||
---- | ---- | ||
===== Source code repository ===== | ===== Source code repository ===== |