Bug 71825 - xdg-desktop-menu never removes entries from defaults.list
Summary: xdg-desktop-menu never removes entries from defaults.list
Status: NEW
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Portland Bugs
QA Contact:
Depends on:
Reported: 2013-11-20 10:03 UTC by Peter Åstrand
Modified: 2013-11-20 10:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Åstrand 2013-11-20 10:03:32 UTC
We are registering a mime type association when are are installing our
application by these lines in the package postinstall script:

$ xdg-desktop-menu install /opt/thinlinc/lib/tlclient/thinlinc-client.desktop
$ xdg-mime install /opt/thinlinc/lib/tlclient/thinlinc-client-mime.xml

Same thing but "uninstall" when the package is removed. Unfortunately,
after removing the package, the type is still to be found:

$ xdg-mime query default application/vnd.cendio.thinlinc.clientconf

This is because xdg-desktop-menu adds stuff to
/usr/local/share/applications/defaults.list, but never removes anything.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.