Updates reset qpdfview.desktop

Asked by MDP

Every update resets /usr/share/applications/qpdfview.desktop
so if one e.g. sets without tabbing,
Exec=qpdfview %F
the updates restore
Exec=qpdfview --unique %F
forcing the user to restore the preference

Once the preference in qpdfview.desktop is set so that files open in separate windows, this should remain with updates.
Can you please look into it? Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Reichold (adamreichold) said :
#1

Hello MDP,

this is the intended behaviour: "/usr/share/applications/qpdfview.desktop" is part of the application package and is installed without customizations. If you want to make persistent changes to this file, you should copy it to "~/.local/share/applications" in your home directory and edit that file which will then have precedence over the system-wide desktop file. (And won't change when qpdfview is updated. Of course, if we ever make some substantial change to the desktop file, you will need to copy it again by hand. But this is one of the most stable files in the whole source tree so this does not happen often.)

Best regards, Adam.

Revision history for this message
MDP (m.d.p) said :
#2

Thanks Adam Reichold, that solved my question.