[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    applnk notes
From:       Thorsten Schnebeck <thorsten.schnebeck () gmx ! net>
Date:       2002-08-31 11:11:21
[Download RAW message or body]

Hi!

I want to reorganize my KDE menus in a more structured way and kill programs 
from the menu I'm not interested in or which are double/multiple.
(This seems to be quite popular these days ;-)

Cause all mainmenu entries are sorted by the (english) dir names I renamed 
these entries:

PIM ->01-PIM
Office -> 02-Office
Internet -> 03->Internet
Applications -> 04-Applications
...

This works great! Now the folders appear in an order I prefer.
(The shown name depends on the NAME entry in the .directory file!)
So next step was doing the same with the *.desktop files of a kmenu 
subdirectory, here 01-PIM:
 
susi 01-PIM # ls -la
insgesamt 28
drwxrwxrwx    2 root     root          151 08-31 11:59 .
drwxrwxrwx   18 root     root         4096 08-31 12:09 ..
-rw-rw-rw-    1 root     root          422 08-31 10:31 01-korganizer.desktop
-rw-rw-rw-    1 root     root          383 08-31 11:44 02-kaddressbook.desktop
-rw-rw-rw-    1 root     root          284 08-31 11:43 03-knotes.desktop
-rw-rw-rw-    1 root     root          326 08-31 11:41 04-kalarm.desktop
-rw-rw-rw-    1 root     root          271 08-31 11:43 05-kgpg.desktop
-rw-rw-rw-    1 root     root           44 08-31 11:43 .directory

But now all the entries in this subdirectory are not sorted by the 
*.desktop-filename but by the NAME entry of the *.desktop file
Another rule seems to be: first dirs, then files

This is inconsistent. Would'nt it be better to let the sorting order in nested 
menu structures _only_ depend on the filename - for dirs _and_ files?

Pro's:
All localizations have the same menu order in submenus,
The new "More"-dirs in KDE3.1pre can be the last entry of a submenu
(More -> zz-More),
The menueditor can handle menu rearrangements independent of the NAME in 
*.desktop files,
more flexible.

Bye

  Thorsten

-- 
Qt: 3.0.6-snapshot-20020712
KDE: 3.0.7 (KDE 3.1 beta1)
kde-config: 1.0
gcc-2.95.3


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic