You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Incubator

Beginner

  • "Incubator" started this thread

Posts: 39

Location: Belgium

Occupation: Student

  • Send private message

1

Sunday, May 25th 2003, 10:00pm

K menu

In accordance with my previous topic about Kde installation, I have ran into another problem.
The menu created by my distribution was completely replaced with the K menu.
Now, I have found a work-around for this problem by making a new K menu with all the menu items from my distro´s menu and then after the kde installation, overwriting the new K menu item file. (assuming it is in ascii format like the one that is created by menudrake)
But to do this i need to find the K menu item file.
And that´s were the problem lies really, I dont seem to find it.
What is it´s default location anywhay?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Monday, May 26th 2003, 5:15pm

The K Menu is usually costructed from the entries of the applnk directories.
The directories can be found in all directories listed in KDEDIRS under share, the KDE install directory and the KDE home directory.

For example on my system that would be
/usr/share/applnk
/usr/local/kde/share/applnk
~/.kde/share/applnk

As far as I know, KDE 3.2 will have vFolder based menu, which may use additional directories.

hth,
_
Qt/KDE Developer
Debian User

Incubator

Beginner

  • "Incubator" started this thread

Posts: 39

Location: Belgium

Occupation: Student

  • Send private message

3

Monday, May 26th 2003, 5:23pm

I see, but is this information stored at some place?
I mean, when i change some entries with the K menu config tool, and save this config, is there any file saved on disk so it is faster for kde to load the kmenu?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Tuesday, May 27th 2003, 6:27pm

I think KDE creates a binary system cache for this which it updates when the directories change or kbuildsycoca is run manually.

Cheers,
_
Qt/KDE Developer
Debian User

Incubator

Beginner

  • "Incubator" started this thread

Posts: 39

Location: Belgium

Occupation: Student

  • Send private message

5

Wednesday, May 28th 2003, 3:15pm

darn, then i´ll have to write down all of teh entries from my mdk system utilities and then manually re-insert them one by one with the K menu config tool :/
oh well.... i better start working then :)
thnx.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Wednesday, May 28th 2003, 9:39pm

I think you just need to save .kde/share/applnk

Cheers,
_
Qt/KDE Developer
Debian User