Menu

#29 pdfshuffler.desktop (gnome3)

closed
logari81
None
5
2018-11-18
2012-06-03
Anonymous
No

I had to modify the pdfshuffler.desktop file:

Exec=pdfshuffler ---> Exec=pdfshuffler %U

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?

Discussion

  • Aurelien Bompard

    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.

     
  • logari81

    logari81 - 2018-11-18
    • status: open --> closed
    • assigned_to: logari81
    • Group: --> Next Release (example)
     

Log in to post a comment.