Following the Kiwinote tip, I realize that Kleopatra also have a
duplicate.

I compared korganizer:kde4__korganizer.desktop and korganizer
:kde4__korganizer-import.desktop files and saw that the files are almost
the same, the only relevant difference is in the "Exec" line

The Exec line for korganizer:kde4__korganizer.desktop is "Exec=korganizer %U"
But the Exec line for korganizer:kde4__korganizer-import.desktop is 
"Exec=korganizer --import %U"

The file korganizer:kde4__korganizer-import.desktop is marked with
"NoDisplay=true", so, it's not intented to appear to end-user.

The same thing happens with kleopatra:kde4__kleopatra.desktop and
kleopatra:kde4__kleopatra_import.desktop.

I tried mark the import files with "Hidden=true", but did'nt work (they
still appeared on software center.)

The .desktop file specifications (availabe in
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html)
says that mark the file as Hidden "[i]t's strictly equivalent to the
.desktop file not existing at all, as far as that user is concerned".

Considering all this, i think it's completely safe just remove
korganizer:kde4__korganizer-import.desktop and
kleopatra:kde4__kleopatra_import.desktop from app-install-data-ubuntu.

I tested this solution with no issues, and the bug was fixed for me with
the attached patch.

** Patch added: "patch.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/948078/+attachment/2847651/+files/patch.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/948078

Title:
  Duplicate entries for KOrganizer in Sofware Center

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/948078/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to