diff options
| author | jvoisin | 2019-11-25 21:56:24 +0100 |
|---|---|---|
| committer | jvoisin | 2019-11-25 21:56:24 +0100 |
| commit | ada53cb9c6e53dddabd4fcdb176a8bf509b75bbd (patch) | |
| tree | e301e2fea33146d829a9caa81840a5f2ea1705c7 /dolphin | |
| parent | 655c19d17d05a2a40a7d27555c5b94fd40a44c58 (diff) | |
Add an integration with Dolphin
Diffstat (limited to 'dolphin')
| -rw-r--r-- | dolphin/README.md | 14 | ||||
| -rw-r--r-- | dolphin/mat2.desktop | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dolphin/README.md b/dolphin/README.md new file mode 100644 index 0000000..9e7da44 --- /dev/null +++ b/dolphin/README.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Dolphin integration | ||
| 2 | =================== | ||
| 3 | |||
| 4 | Thanks to [Miguel Marco](https://riemann.unizar.es/~mmarco/), here is an neat | ||
| 5 | integration for [Dolphin](https://kde.org/applications/system/org.kde.dolphin), | ||
| 6 | the KDE file manager: | ||
| 7 | |||
| 8 | 1. Add the `mat.desktop` file either in | ||
| 9 | - `/usr/share/kservices5/ServiceMenus/` to install it globally | ||
| 10 | - `~/.local/share/kservices5/ServiceMenus/` for a specific user | ||
| 11 | 2. Run `kbuildsycoca5` to update the corresponding database | ||
| 12 | 3. Enjoy your new contextual menu to remove metadata from your files! | ||
| 13 | |||
| 14 | |||
diff --git a/dolphin/mat2.desktop b/dolphin/mat2.desktop new file mode 100644 index 0000000..f2727ce --- /dev/null +++ b/dolphin/mat2.desktop | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | X-KDE-ServiceTypes=KonqPopupMenu/Plugin | ||
| 3 | MimeType=application/pdf;application/vnd.oasis.opendocument.chart ;application/vnd.oasis.opendocument.formula ;application/vnd.oasis.opendocument.graphics ;application/vnd.oasis.opendocument.image ;application/vnd.oasis.opendocument.presentation ;application/vnd.oasis.opendocument.spreadsheet ;application/vnd.oasis.opendocument.text ;application/vnd.openxmlformats-officedocument.presentationml.presentation ;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ;application/vnd.openxmlformats-officedocument.wordprocessingml.document ;application/x-bittorrent ;application/zip ;audio/flac ;audio/mpeg ;audio/ogg ;audio/x-flac ;image/jpeg ;image/png ;image/tiff ;image/x-ms-bmp ;text/plain ;video/mp4 ;video/x-msvideo; | ||
| 4 | Actions=cleanMetadata; | ||
| 5 | Type=Service | ||
| 6 | |||
| 7 | [Desktop Action cleanMetadata] | ||
| 8 | Name=Clean metadata | ||
| 9 | Name[es]=Limpiar metadatos | ||
| 10 | Icon=/usr/share/icons/hicolor/scalable/apps/mat2.svg | ||
| 11 | Exec=kdialog --yesno "$( mat2 -s %U )" --title "Clean Metadata?" && mat2 %U | ||
