Skip to content

Instantly share code, notes, and snippets.

@0XDE57
Last active March 12, 2025 11:23
Show Gist options
  • Save 0XDE57/c4327b56c1b3e8e8c5ba6b2f863dd24e to your computer and use it in GitHub Desktop.
Save 0XDE57/c4327b56c1b3e8e8c5ba6b2f863dd24e to your computer and use it in GitHub Desktop.
Add right-click context menu / service menu options to KDE Dolphin to convert images using imagemagick. place in: /usr/share/kio/servicemenus https://develop.kde.org/docs/apps/dolphin/service-menus/
[Desktop Entry]
Type=Service
MimeType=image/*;
Actions=convertToPNG;convertToJPG
X-KDE-Submenu=Convert Image
[Desktop Action convertToPNG]
Name=Convert -> PNG
Icon=background
Exec=magick %u %u.png
[Desktop Action convertToJPG]
Name=Convert -> JPEG
Icon=background
Exec=magick %u %u.jpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment