Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here

Need help restoring Kmenu

Recommended Posts

Hello everybody.


I really need help today:


I messed up KDE4 menu on Mandriva 2010, there were too amny duplicate entries, so I used the restore option in kmenuedit.



However I ran into 2 problems:


1-If I open Kmenuedit, I can still see older submenus I created.

2 -The entire list of programs installed with wine went away


I deleted the $HOME/.config/menu folder and it didn't work. There is nothing in that folder now, yet older entries keep showing up. My guess is that, somehow, KDE is obtaining that data from somewhere else.



I had a backup of the menus folder before messing it upo, but restoring it has no effect as it only restores the subfolders, but not their icons (???)


Can you tell me how to completely wipe out the menu data and make it go back to its default?


Thank you.

Share this post

Link to post
Share on other sites
Delete the hidden folder .kde4?


This procedure has worked for me several times, however all settings stored in .kde4 will be lost. Use Control-Alt-F1 to switch to text mode, log in as root, type "init 2" (an easy way to stop KDE), find the .kde4 directory in /home/user/ and delete it. Reboot using the command "shutdown -r now". The next time KDE runs, the .kde4 directory will be recreated with default settings the same as when creating a new user account.

Share this post

Link to post
Share on other sites

You don't need to switch to runlevel 2 using init 2 to do this. You can just log out of X and just CTRL-ALT-F1 to the console, login as your regular user and remove the .kde4 directory. Then just switch back to X with ALT-F7. No reboot required either.

Share this post

Link to post
Share on other sites

I managed to delete only the menu. You see, the menu per se is in $HOME/.config/menus/, but there are some .destop files in$HOME/.local/share/applications/


This is also why some entries in the menu end up appearing twice in the menu when you write their name in the serach box.



Thank you all for your suggestions.



Now, who knows how to restore the Wine menu? It's the only part of the menu that I haven't been able to restore. I'm not talking about the menu but about the list of programs that appears once you start installing programs via wine.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now