Page 1 of 1

Menus are messed up

Posted: Thu 14 Mar 2013, 23:39
by JamesTheAwesomeDude
Okay, I don't know what I did, but for some reason, the menus no longer have a 2-level hierarchy.

For example, GParted used to be located at Menu>System>SomethingOrOther>Gparted, but now it's just Menu>System>GParted. This makes the menus very cluttered, and I can't find out how to reverse this behavior.

I've tried deleting ~/.jwm, but that didn't fix it.

Posted: Fri 15 Mar 2013, 00:31
by `f00
hi James
a) pup and version, please.. (wm too)
b) (see /etc/xdg/menus/*.menu files) sometimes the inline limit gets fouled - usually (if true) it works to set a limit on number of entries in a subcat, if limit is exceeded then the subcat is branched (otherwise it's inline or should be)
c) another place to check is /usr/share/desktop-directories for cats and subcats
d) individual dotdesktops in /usr/share/applications (usually), check the Categories=* line
e) cluttered menus :lol: something for everyone, including ways to tidy
f) yah, deleting ~/.jwm ain't gonna do much as far as the rootmenu go

hth a trifle

Posted: Fri 15 Mar 2013, 03:12
by JamesTheAwesomeDude
`f00 wrote:hi James
a) pup and version, please.. (wm too)
b) (see /etc/xdg/menus/*.menu files) sometimes the inline limit gets fouled - usually (if true) it works to set a limit on number of entries in a subcat, if limit is exceeded then the subcat is branched (otherwise it's inline or should be)
c) another place to check is /usr/share/desktop-directories for cats and subcats
d) individual dotdesktops in /usr/share/applications (usually), check the Categories=* line
e) cluttered menus :lol: something for everyone, including ways to tidy
f) yah, deleting ~/.jwm ain't gonna do much as far as the rootmenu go

hth a trifle
Sorry I forgot - Slacko Puppy 5.4, with JWM (the default.)

I opened up a few of the .menus in /etc/xdg/menus, and the inline limit on everything is set to 99. I've set it all to 1, but that didn't change anything (nor did trying 2, or any other number.)

I couldn't find anything useful in /usr/share/desktop-directories, and the categories in the .desktops are fine.

Posted: Fri 15 Mar 2013, 19:40
by CatDude
Hi

@ James
It sounds like you have somehow changed line 1
in this file: /root/.jwm/JWMRC

It should look like this:

Code: Select all

SUBMENU="0" #SUBMENUS=""
But i suspect it currently looks like this:

Code: Select all

SUBMENU="" #SUBMENUS=""
if it does, then change it and run fixmenus.


CatDude
.

Posted: Sun 17 Mar 2013, 13:36
by duke93535
The menus in Slacko 5.4 are indeed messed up.

It is an all or nothing on the sub-menus and the switch is as CatDude has written. The menus in Slacko 5.5 are fixed to a degree. One file is still incorrect for the menus to work properly. I have repaired this, by changing it for the same one out of Precise Puppy 5.5.

The file to change is libgnome-menu.so.2.0.2 in /usr/lib. Now the menus are controlled by /etc/xdg/menus/puppy-xxxx.menu files. You now can have some sub-menus and some not. Of course, you could just switch to using Precise 5.5.

Between the two Precise 5.5 and Slacko 5.5, Precise is a little faster booting and has all the font types too, which are missing in Slacko without modifying it again with Precise.

duke