No, it only says :
No plugin specified.
[Desktop Entry] Type=Service Icon=view-list-icons X-KDE-ServiceTypes=KonqPopupMenu/Plugin MimeType=all/allfiles; Actions=magickPile; Encoding=UTF-8 [Desktop Action magickPile] Name=Magick pile of icons Icon=view-list-icons Exec=magickpile.pl "%F"
#!/usr/bin/perl # usage: magickpile.pl filelist use strict; use warnings; # modules use Image::Magick; use File::Spec; use URI::Escape; use Digest::MD5 qw(md5_hex); my $angle; my @newIcon; my $i = 0; my $iconResolution = '256x256'; my $cachePath = $ENV{XDG_CACHE_HOME} || ("$ENV{HOME}/.cache"); my $thumbPath = "$cachePath/thumbnails/large/"; $ARGV[0] =~ s' /' //'g; my @fileNames = split(' /', $ARGV[0]); my ($volume,$workDir,$file) = File::Spec->splitpath( $fileNames[0] ); my $iconOut = "$workDir.magickpile.png"; # pile of thumbs foreach my $name (@fileNames) { $i++; my $fullName = "file://" . $name; my $escapedName = uri_escape("$fullName", "^A-Öa-ö0-9\-\.,_~/:()&!\@\\[\\]'"); $escapedName=~ s'\|'%7C'g; $escapedName=~ s'%24'$'g; $escapedName=~ s'\{'%7B'g; $escapedName=~ s'\}'%7D'g; my $thumbName = md5_hex("$escapedName") . ".png"; my $angle = int(rand(30))-15; $newIcon[$i] = Image::Magick->new; $newIcon[$i]->Read("$thumbPath$thumbName"); $newIcon[$i]->Polaroid(angle => $angle, gravity => 'center', background => 'transparent'); $newIcon[$i] = $newIcon[$i]->Montage(geometry=>$iconResolution, background=>'transparent'); if ($i > 1) { $newIcon[1]->Composite(image=>$newIcon[$i],compose=>'over', gravity=>'center'); $newIcon[$i]->Set(quality=>100); } } $newIcon[1]->Write("$iconOut"); system ("kwriteconfig5", "--file", "$workDir.directory", "--group", "Desktop Entry", "--key", "Icon", "./.magickpile.png");
[Desktop Entry] Type=Service Icon=printer X-KDE-ServiceTypes=KonqPopupMenu/Plugin MimeType=application/pdf Actions=printPdfFiles; X-KDE-Submenu=Pdf Print Encoding=UTF-8 [Desktop Action printPdfFiles] Icon=printer Name=Print selected documents Name[de]=Ausgewählte Dokumente drucken Name[fr]=Imprimer les documents sélectionnés Name[it]=Stampa i documenti selezionati Name[ru]=Распечатать выбранные документы Exec=pdfprint-kdialog %F
[Desktop Entry] Actions=print-file Icon=print MimeType=application/pdf;image/*;application/vnd.oasis.opendocument.text;text/plain;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.presentation;application/msword;application/vnd.ms-word;application/vnd.ms-excel;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.spreadsheet.sheet;application/vnd.openxmlformats-officedocument.presentationml.presentation; ServiceTypes=KonqPopupMenu/Plugin Encoding=UTF-8 Type=Service X-KDE-Priority=TopLevel [Desktop Action print-file] Exec=lp %f Exec=libreoffice -p %f Icon=stock_print Name=Print Now
MimeType=application/pdf
$ calligrawords --help calligra.lib.pigment: Legacy integer arithmetics implementation Usage: calligrawords [options] [file(s)] Word processor Options: -h, --help Displays this help. . . . --print Only print and exit . . . Arguments: [file(s)] File(s) or URL(s) to open
$ libreoffice --help LibreOffice 6.0.6.2 00m0(Build:2) Usage: soffice [argument...] argument - switches, switch parameters and document URIs (filenames). . . . -p Prints following files to the default printer, after which those files are closed. The splash screen does not appear. If the file name contains spaces, then it must be enclosed in quotation marks. . . .
libreoffice --writer -p --headless 'filename1' 'filename2'
wget [URL]http://archive.ubuntu.com/ubuntu/pool/universe/p/pdftk/pdftk_2.02-4build1_amd64.deb[/URL] wget [URL]http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-6/libgcj17_6.4.0-8ubuntu1_amd64.deb[/URL] wget [URL]http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/libgcj-common_6.4-3ubuntu1_all.deb[/URL] sudo dpkg -i pdftk_2.02-4build1_amd64.deb libgcj17_6.4.0-8ubuntu1_amd64.deb libgcj-common_6.4-3ubuntu1_all.deb
$ qdbus org.kde.dolphin-914 /dolphin/Dolphin_1/actions/reload trigger
qdbus org.kde.dolphin-2684 /dolphin/Dolphin_1/actions/view_redisplay trigger
Exec=zip.sh %U
Exec=[B]sh[/B] zip.sh %U
Comment