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

See Also:
i915 platform:
i915 features:


Attachments

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
thinlinc-client.desktop

This is because xdg-desktop-menu adds stuff to
/usr/local/share/applications/defaults.list, but never removes anything.
Comment 1 GitLab Migration User 2019-02-16 13:35:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/70.


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.