Public bug reported:

Binary package hint: alacarte

When a new application is installed that creates a menu item, a .desktop
file is placed in /usr/share/applications.  However, if a normal user
uses alacarte to edit that menu item, a new .desktop file is created in
/home/<username>/.local/share/applications that overrides the original.
If the application is then un-installed, it removes its own file in
/usr/share/applications, but the one in the user's home directory is
left behind.  This leaves an invalid menu item in the main menu.  To get
rid of the invalid item, the .desktop file in the user's home directory
must be deleted.

If I may, I'd like to propose a solution:
I see that alacarte detects newly created .desktop files and adds their 
information to the main menu.  One option could be to have alacarte scan for 
the targeted executables in the .desktop files located in the user's home 
directory.  If the executables do not exist, have alacarte delete the .desktop 
files.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alacarte 0.13.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Wed Jul 14 03:49:31 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: alacarte

** Affects: alacarte (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
Menu Items Left Behind After Uninstall
https://bugs.launchpad.net/bugs/605367
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to alacarte in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to