in order to have the pdfshuffler icon displayed in the "Open with..." dialog window.
Do you think you could change the program so that the "%U" is not needed?
You should also add the line MimeType=application/pdf; to tell the desktop environment that pdfshuffler can open PDFs.
With these two changes, I confirm that selecting one or more files in GNOME 3 choosing open with will open a dialog containing PDFShuffler, and that it will open all the files correctly. Since this is a desktop standard, it should work in other desktop environments too.
If you try it on your local machine, you should also run update-desktop-database as root, but distribution packages will run that for you on install and updates.
Please update the desktop file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
According to the desktop file spec https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html, this should be
%F
which is described as : "A list of files. Use for apps that can open several local files at once. Each file is passed as a separate argument to the executable program."You should also add the line
MimeType=application/pdf;
to tell the desktop environment that pdfshuffler can open PDFs.With these two changes, I confirm that selecting one or more files in GNOME 3 choosing open with will open a dialog containing PDFShuffler, and that it will open all the files correctly. Since this is a desktop standard, it should work in other desktop environments too.
If you try it on your local machine, you should also run
update-desktop-database
as root, but distribution packages will run that for you on install and updates.Please update the desktop file.
Done:
http://svn.savannah.gnu.org/viewvc/pdfshuffler?view=revision&revision=106
thanks.