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.

1

Friday, November 18th 2005, 4:55pm

KDE Menu, sorting .kdestop files

hi all,

At our office we created a special menu for our local applications. This menu regroups a lot of sub-menus (with .directory) and .desktop files to start-up the different applications (about an 100 different apps..).

Our specific menu is located under .kde/share/applnk/

When we change the menu, we add our modifications to our local CVS module and then clone it back to each of our users using a local script. That script removes the .kde/share/applnk/MY-MENU and recreate it from scratch.

My problem is this: Into a specific sub-menu I wan't to sort my different applications and put the main one on top with a separator under it.

I've tried Using SortOrder= into the associated .directory with no success.. I've tried listing my underneath .desktop separated with "," or ":" or what ever using SortOrder... it never worked.

The only way I could sort this out was by using kmenuedit wich creates a ??kmenuedit??.menu file under .config/something/somethingelse.menu

I really don't wan't to synchronise another directory/file to the users accounts so adding a .config/something.menu to my cloning system is not really an option... and I don't want to mess up the users changes...

Note: We have about 125 users working on 12h shifts on a different worksattion on every time. Instead of maintaining an RPM or dpkg and changing the main /usr/share/applnk of each system it was alot more easier to directly change the user account directly from my fileserver since every account is being automounted on every server/workstation.

Any clues?

thnx!

- vin

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Friday, November 18th 2005, 6:42pm

The menu file in .config is actually the new menu handling, as shared with out free desktop environments.

See http://freedesktop.org/wiki/Standards_2fmenu_2dspec for details.

Cheers,
_
Qt/KDE Developer
Debian User