summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2019-11-25 21:56:24 +0100
committerjvoisin2019-11-25 21:56:24 +0100
commitada53cb9c6e53dddabd4fcdb176a8bf509b75bbd (patch)
treee301e2fea33146d829a9caa81840a5f2ea1705c7
parent655c19d17d05a2a40a7d27555c5b94fd40a44c58 (diff)
Add an integration with Dolphin
-rw-r--r--dolphin/README.md14
-rw-r--r--dolphin/mat2.desktop11
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 @@
1Dolphin integration
2===================
3
4Thanks to [Miguel Marco](https://riemann.unizar.es/~mmarco/), here is an neat
5integration for [Dolphin](https://kde.org/applications/system/org.kde.dolphin),
6the KDE file manager:
7
81. 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
112. Run `kbuildsycoca5` to update the corresponding database
123. 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]
2X-KDE-ServiceTypes=KonqPopupMenu/Plugin
3MimeType=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;
4Actions=cleanMetadata;
5Type=Service
6
7[Desktop Action cleanMetadata]
8Name=Clean metadata
9Name[es]=Limpiar metadatos
10Icon=/usr/share/icons/hicolor/scalable/apps/mat2.svg
11Exec=kdialog --yesno "$( mat2 -s %U )" --title "Clean Metadata?" && mat2 %U