Menu phantoms

A couple of programs I removed continue to show up in my menus: openproj and kspread. I tried creating .desktop files for them in /use/share/applications, with Hidden=true and NotShowIn=GNOME;KDE;XFCE;. That didn’t help, and furthermore my menus ignore the icons I listed in those .desktop files, showing instead no icon for openproj and the usual icon for kspread. That tells me they’re not coming from usr/share/applications; any idea where else to look?

Thanks,

GEF

PS: I tried putting <exclude> lines for filenames openproj.desktop and kspread.desktop in xfce-applications.menu. It worked for the former, not for the latter.

Hi,

which OS?
Which desktop (Gnome, KDE etc)?
Which menu?

Presuming it’s KDE and you’re talking about the general start menu, you can right-click on it and change the applications/edit the menu. There you can delete the applications you don’t want to see in the menu.

HTH

Lenwolf

openSUSE 11.4. Happens in GNOME, KDE, and XFCE. KMenuEdit lets me fix the symptom for KDE, but I still wonder where the menu is picking up the phantoms.

On 10/07/2011 07:46 AM, gfagan wrote:

> A couple of programs I removed continue to show up in my menus

if you install programs with YaST (and, i guess zypper) they will
automatically have a menu listing added, and then when you remove them
with YaST (and zypper?) their menu listing will be removed…

you can use YaST/zypper to install any openSUSE friendly rpm (not just
those in the openSUSE repos)…

and, if you must compile from source, if you then properly package the
app into an openSUSE friendly rpm all of that is available to you…)

usually, there are folks around who do that sort of helpful thing if
asked nicely and sufficient patience is offered…and plied with public
praise, adoration…


DD
openSUSE®, the “German Automobiles” of operating systems

Hi
FWIW, I don’t think KDE has never respected the “Hidden=true” in desktop
files…

If you run, this should clean up the database;


update-desktop-database --quiet /usr/share/applications


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 10 days 22:31, 3 users, load average: 0.57, 0.42, 0.26
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Thanks folks,

I do install only via yast; certainly that is what I used to install and then remove the programs which generated the phantoms. As for update-desktop-database, will this affect my *.desktop files in usr/share/applications? I’ve hand-edited many of them to not show in GNOME, KDE, or XFCE. -GEF

Hi
It only updates the database that contains the info on desktop files in that location, is they exist in your home directory, you would need to run it against that (as your user). It just reads the files present and updates the database AFAIK.