Results 1 to 7 of 7

Thread: Menu phantoms

  1. #1
    Join Date
    Oct 2008
    Location
    Mojave desert
    Posts
    298

    Default 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.

  2. #2

    Default Re: Menu phantoms

    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

  3. #3
    Join Date
    Oct 2008
    Location
    Mojave desert
    Posts
    298

    Default Re: Menu phantoms

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Menu 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

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,654
    Blog Entries
    15

    Default Re: Menu phantoms

    Quote Originally Posted by gfagan
    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
    FWIW, I don't think KDE has never respected the "Hidden=true" in desktop
    files...

    If you run, this should clean up the database;
    Code:
    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


  6. #6
    Join Date
    Oct 2008
    Location
    Mojave desert
    Posts
    298

    Default Re: Menu phantoms

    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

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,654
    Blog Entries
    15

    Default Re: Menu phantoms

    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.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •