Duplicate entries for corrected .desktop file in the home
Brought to you by:
aanatoly
When I copy a .desktop file from /usr/share/applications to ~/.local/share/applications to do a minor fix to it, I get two entries in fbpanel's menu.
About that, http://standards.freedesktop.org/menu-spec/menu-spec-latest.html says:
"When two desktop entries have the same name, the one appearing earlier in the path is used."
The .desktop file in my home folder, if it has the same name as the one in /usr/share/applications, should overwrite it in the menu.
Not cause a duplicate entry as currently.
Thanks in advance for fixing!
To be clear the requirement is for the application "Name" inside the file to be duplicated -- not the file name as may be suggested above. Here is a patch for anyone to verify it fixes their problem. It follows the requirement above by searching the user directory first and skipping any subsequent duplication of application "Name" value. My problem is fixed by the patch. If other cases are documented, I might try to fix.
Last edit: JDM 2017-08-31