Toni, it was because I had some other applications installed and debian menu system is semi-intelligent so reorganises menus best it can when hint_optimize=true.saintless wrote: Hi, William.
See the result on the picture after changing false to true.
Is this what I should see or I have to make other changes?
Isn't less submenus what we are looking for or I do something wrong and the result is different for you?
Toni
However, when booting without a live-rw, in menu.h please try:
Code: Select all
#If you want menu to optimize the tree, set this to true:
hint_optimize=true
#for more info on the other variables, see /usr/share/doc/menu/
#hint_nentry=6
hint_topnentry=7
hint_mixedpenalty=64
The meaning of these hints is given in sections 7.3 and 7.4 here:
http://www.debian.org/doc/packaging-man ... l/ch7.html
You can play with these hint values for different results. Terry... it's not that I understand debian menu system - it is all a bit of black magic...
Advantage of using menu.h only is that changes there should reflect also when using other wm such as jwm, but the results, being dynamic and programmably achieved via 'hints', are not guaranteed. If you want to just cut out submenus in fixed way then your alternative method to modify icewm-common script might be best way, but then you'd have to find similar scheme for jwm etc, so it would be nice if mod to menu.h would do.