LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   KDE Menu items disappearing (https://www.linuxquestions.org/questions/linux-software-2/kde-menu-items-disappearing-203770/)

mandika 07-11-2004 01:53 PM

KDE Menu items disappearing
 
I recently did an ftp upgrade from SuSE 9.0 to 9.1. (KDE 3.2) Am now having a strange problem with my menu.

Added a few things to kmenu, now in those menu sections where I made the additions, everthing has disappeared! The only entry there now is the new one I added manually.
:(

I have googled this problem to death already and am at a loss. Other people have had this problem, but I find no resolution.

I have tried to run "update-menus -v" as su, as was suggested on one forum, but the command is not recognized.

Suggestions??

Bad_Bob 07-11-2004 03:00 PM

I had the same problem, I found a file:

file:/home/YOUR_USER_NAME_HERE/.config/menus/applications-kmenuedit.menu

if you delete this file your menus should come back, however I have not been able to edit mine anymore

mandika 07-11-2004 03:47 PM

Thanks for pointing me to that file Bad_Bob.

I deleted it and my old menus came back. In order to be able to continue to edit kmenu, all you have to do is create a new empty text file $~/.config/menus/applications-kmenuedit.menu

Of course, you still lose all of your previous additions to kmenu... I just noted them from my old applications-kmenuedit.menu (actually I renamed it rather than deleting).

Thanks again!

jrdwestbrook 08-03-2004 08:32 PM

Another Fix
 
You actually don't have to rename this file or delete it to accomplish the goal. You simply need to open it in Kwrite or some other simple text editor and you will see a list of the menu names in an html type coding. Simply look for the name of the menu that's missing and most likely it will have a line under it that reads <Deleted/> or something like that. Simply remove that line and the menu will show up again. Below is an example:

<Menu>
<Name>SuSE</Name>
<Deleted/> <-----------------Remove this line and the menu appears.
</Menu>

jrdwestbrook 08-03-2004 08:34 PM

OOps, forgot one detail... It may also be between the words <Exclude> the menu name </Exclude>. To fix this just change the word <Exclude> and </Exclude> to <Include> and </Include>


All times are GMT -5. The time now is 01:08 AM.