# code for md5sum.desktop
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all
Actions=checkmd5;
X-KDE-Submenu=Checksum
X-KDE-Priority=TopLevel
[Desktop Action checkmd5]
Name=md5sum
Exec=md5sum %F | kdialog --geometry 1000x500 --textbox -
# code for edit-image.desktop
# place the script in
# ~/.local/share/kservices5/ServiceMenus/
# or
# /usr/share/kservices5/ServiceMenus/
# link
# [ Ссылка ]
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=image/*;
Actions=resize_50;resize_75;convert_jpg_85;convert_jpg_90;rotate_90;rotate_180;rotate_270;convert_to_pdf;
Name=Edit Image service menu
X-KDE-Submenu=Edit Image
X-KDE-Priority=TopLevel
#----------------------------------------
[Desktop Action resize_50]
Name=Resize 50%
Exec=mogrify -resize 50% %F
[Desktop Action resize_75]
Name=Resize 75%
Exec=mogrify -resize 75% %F
[Desktop Action convert_jpg_85]
Name=Convert to jpg 85%
Exec=mogrify -format jpg -quality 85 %F
[Desktop Action convert_jpg_90]
Name=Convert to jpg 90%
Exec=mogrify -format jpg -quality 90 %F
[Desktop Action rotate_90]
Name=Rotate 90 Clockwise
Exec=mogrify -rotate 90 %F
[Desktop Action rotate_180]
Name=Rotate 180
Exec=mogrify -rotate 180 %F
[Desktop Action rotate_270]
Name=Rotate 90 Counter Clockwise
Exec=mogrify -rotate 270 %F
[Desktop Action convert_to_pdf]
Name=Convert to PDF
Exec=convert %F -quality 90 "output_$(date +%H%M%S).pdf"
Ещё видео!