Menu fix when install packages

Forum member 666philb, testing Precise 5.4.0.90, has reported that the menu category is not set correctly when some packages are installed. Their entries get created in the 'Utility' menu:
http://murga-linux.com/puppy/viewtopic.php?t=81672&start=285

I think that I have found what has gone wrong. I have modified /usr/local/petget/installpkg.sh, see Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/58e1a0df52

Precise testers are welcome to download this script and try it!


Posted on 9 Nov 2012, 8:47


Comments:

Posted on 9 Nov 2012, 17:56 by 666philb
still not 100%
hi barry,

it's still not fully working. i tested my two examples again and openshot (from the ppm) did install to the multimedia section, whilst deadbeef (from a standalone .deb) didn't.

the deadbeef.desktop file was changed from
Categories=AudioVideo;Player;GTK;

to
Categories=Player



Posted on 9 Nov 2012, 18:20 by BarryK
Re Player
666philb,
Are you sure that deadbeef is not in the Multimedia menu?

It should be, "Categories=Player" will cause it to be in the Multimedia menu.

Refer: /etc/xdg/menus/hierarchy, and /etc/xdg/menus/puppy-multimedia.menu



Posted on 9 Nov 2012, 21:00 by 666philb
you're right

for some reason the menu didn't update ... deadbeef is now in the multimedia menu.

sorry for the panic