Well, as I said I've never done this before so here goes nothing. I've tried to attach a patch that applies to MenuEditor.py. I started from alacarte-0.11.9 obtained from apt-get source alacarte.
The patch contains a function checkDuplicate(item) that checks whether the current item already exists system-wide. I imagined it being called when a .desktop file in ~/.local was going to be edited. If the local file to be written was the same as the system version, the local version should be deleted. ** Attachment added: "Adds a function checkDuplicate" http://launchpadlibrarian.net/23740418/patch-MenuEditor -- Alacarte should avoid retaining unneeded files in ~/.local/share/applications https://bugs.launchpad.net/bugs/340285 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs