You are not logged in.

cyberpatrol

Beginner

  • "cyberpatrol" started this thread

Posts: 12

Location: Germany

  • Send private message

1

Sunday, April 25th 2004, 12:54am

Problems with K menu in KDE 3.2.2

Finally I've got kde 3.2.2 installed. But now have a problem with the K menu.

When I'm logged in as root I have the normal standard K menu with every standard menu entry.
When I'm logged in as a normal user I'm missing the Utilities menu in the K menu.
The entries in the Utilities menu - the .desktop files - are stored in /usr/kde/3.2/share/applications which the normal user can read.
Has anyone an idea how I can get the Utilities menu back into the users K menu?

cyberpatrol

cyberpatrol

Beginner

  • "cyberpatrol" started this thread

Posts: 12

Location: Germany

  • Send private message

2

Sunday, April 25th 2004, 10:20am

Nobody there, who knows how and where KDE stores the K menu and its entries?

3

Sunday, April 25th 2004, 11:39am

Quoted

Original von cyberpatrol

Nobody there, who knows how and where KDE stores the K menu and its entries?

I'm not expert on the (new!) menu definitions, but I guess
/usr/kde/3.2/etc/xdg/menus/applications.menu
defines what appears in your menu.

Maybe your normal user has a modified copy of this file (or anything else under xdg) around, under ~/.kde/etc/xdg/.

cyberpatrol

Beginner

  • "cyberpatrol" started this thread

Posts: 12

Location: Germany

  • Send private message

4

Sunday, April 25th 2004, 3:29pm

No, that's not the solution because my user don't have the directory ~/.kde/etc and there's only one "global" file called applications.menu in /usr/kde/3.2/etc/xdg/menus.

cyberpatrol

Beginner

  • "cyberpatrol" started this thread

Posts: 12

Location: Germany

  • Send private message

5

Sunday, April 25th 2004, 4:55pm

Where are the KDE developers who have written the K menu?

6

Sunday, April 25th 2004, 7:48pm

Quoted

Original von cyberpatrol

Where are the KDE developers who have written the K menu?

No idea, but they probably don't read this forum. Not a lot of developers do so regularly (they develop instead ;-)). You might try the mailing list kde-devel or the IRC channel kde-devel.

Anyway, I played around a bit and found out that personal menu customizations are stored under ~/.config
Check if you have a file ~/.config/menus/applications-kmenuedit.menu ...

cyberpatrol

Beginner

  • "cyberpatrol" started this thread

Posts: 12

Location: Germany

  • Send private message

7

Sunday, April 25th 2004, 8:10pm

I've found it, too, but it also didn't help. But it can be that I've found it a bit too late. I've done something different. I made a backup of the important files in the user's home directory, deleted the user, created the user new and copied the backup back into the home directory. It's not the best way but it worked.

But the storage of the K menu should be extremly better and easier in the next version. ;-)

Nevertheless, thank you for your help, cmbofh.

8

Sunday, April 25th 2004, 8:27pm

Quoted

Original von cyberpatrol

But the storage of the K menu should be extremly better and easier in the next version. ;-)

I don't think this will be changed. IIUC, this already *is* the new version. It's the result of the collaboration with the GNOME folks. It's the standard documented at freedesktop.org:
http://freedesktop.org/Standards/menu-spec/menu-spec-0.8.html

It's designed to make life easier for third party software authors and admins:
"It allows third-party software to add menu items that work for all desktops, and allows system administrators to edit menus in a way that affects all desktops. "

9

Wednesday, April 28th 2004, 9:39pm

kmenuedit bug???

I have observer disappearing of Utilities menu after editing it contents with kmenueditor. Probably a bug in this program. But, how to restore original menu???????
Please advice.
Marek

10

Wednesday, April 28th 2004, 10:27pm

Re: kmenuedit bug???

Quoted

Original von MarekC

I have observer disappearing of Utilities menu after editing it contents with kmenueditor. Probably a bug in this program. But, how to restore original menu???????
Please advice.
Marek

It's possible to "delete" entries using the menu editor,
maybe you did just that by accident?
(I put "delete" into quotes because the items are not really deleted
from the global KDE installation, but only hidden.)

Anyway, check if you have a file
~/.config/menus/applications-kmenuedit.menu

If you do then look for something like:
<Menu>
<Name>Utilities</Name>
<Deleted/>
</Menu>

If you find this then make a backup of that file (just to be sure)
and delete that part using a text editor. Then run the command
"kbuildsycoca" and you should have the menu back
(if my guess at the problem was correct, that is ;-)).