Bug 91639

Summary: system wide menu changes are overwritten by KDE
Product: [Retired] Red Hat Linux Reporter: Leon Koch <le0nk0ch>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-03 11:20:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leon Koch 2003-05-26 16:04:19 UTC
Description of problem:
When I make manual changes to the contents of /var/lib/menu/kde/ the changes are
automatically over written when ever I restart KDE.

Version-Release number of selected component (if applicable):
3.1.2-0.9x.2

How reproducible:
Always.

Steps to Reproduce:
1. Move any existing files or create a new file anywhere in /var/lib/menu/kde/
2. Restart X
3. The files you moved are moved back, and the files you created are gone.
    
Actual results:
The file system is mangled by KDE.

Expected results:
The files stay the way I put them.

Additional info:

Comment 1 Than Ngo 2003-05-26 19:08:55 UTC
You should not change the desktop files in the directory /var/lib/menu/kde.
All changes will be lost be by next KDE restart.

The system wide menus (desktop files) are in /usr/share/applications. If you
want to change your system wide menu, please make the change in this directory.

Comment 2 Leon Koch 2003-05-27 02:55:55 UTC
ok then.
How do I change the structure of the KDE menu?

The files in /usr/share/applications are all the application links, but they
contain no information on how they are categorised into the KDE menu.

For example, how do I move an application from Internet->More Internet
Applications to just the Internet folder?

I know this can be done with kmenuedit, but that doesn't change it across the
whole system.

Comment 3 Leon Koch 2003-06-03 09:22:02 UTC
In an attempt to get a response to my previous comment, I am re-opening this bug.

Comment 4 Than Ngo 2003-06-03 11:20:43 UTC
if you want to move an application from Internet->More Internet
Applications to just the Internet folder, just replace 

Categories=Application;Network;X-Red-Hat-Extra;
to
Categories=Application;Network;X-Red-Hat-Base;

you should take a look either at https://listman.redhat.com/archives/xdg-list/
or in desktop files, if you want to know more about it.