Results 1 to 3 of 3

Thread: Regenerate applications menu (xubuntu)

  1. #1
    Join Date
    Mar 2005
    Location
    Paris
    Beans
    59
    Distro
    Xubuntu 13.04 Raring Ringtail

    Regenerate applications menu (xubuntu)

    After some messing around with my config files, it seems I have accidentally deleted the applications menu file, and the xfce4-settings-manager menu file. My /etc/xdg/xdg-xubuntu/menus/ is empty, and so is /etc/xdg/menus/
    I expected to regenerate them with update-menus but this doesn't work.
    I also tried to install and remove one of the programs with an entry in the menu, hoping that it would regenerate the whole thing. But this doesn't work neither.
    Then I tried to purge/reinstall xfce4 and xfdesktop, but no luck.

    So question is: is there a specific xubuntu command to regenerate the menus? Alternatively which package can I reinstall to replace the deleted menu files?
    Last edited by Svictor; June 3rd, 2013 at 07:54 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Regenerate applications menu

    Try to see if the .menu file is saved somewhere
    Code:
    sudo updatedb
    locate xfce-applications.menu
    In my case I have it here:
    /etc/xdg/xdg-xubuntu/menus/xfce-applications.menu
    $HOME/.config/menus/xfce-applications.menu
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  3. #3
    Join Date
    Mar 2005
    Location
    Paris
    Beans
    59
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Regenerate applications menu

    Thanks! That could have worked... But my menu file was really gone, in both locations.
    However, I just found how to reinstall the default menu. It's in xubuntu-default-settings, so:
    Code:
    sudo apt-get remove --purge xubuntu-default-settings
    sudo apt-get install xubuntu-default-settings
    I still haven't understood the actual mechanism for regenerating the menus (why update-menus did not work). But I'll mark the thread as solved. Thanks again!

Bookmarks

Posting Permissions

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