PDA

View Full Version : kmenu not updateing



voldemort
07-28-2004, 04:31 PM
ive installed some programs using apt...
none of wich have shown up on my kmenu as yet... ive waited rebooted (been three reboots) and so on and they dont show up

ive used the menu updating tool and it dosnt find them

what could be causing my system to not add applications to the menu

some of wich im sure should be added like cinepaint and kaffeine plus xmovie etc...

Markus
07-28-2004, 05:49 PM
Have you tried as user running update-menus and checked under the debian menu-tree?

CrashedAgain
07-28-2004, 06:09 PM
ive installed some programs using apt...
none of wich have shown up on my kmenu as yet... ive waited rebooted (been three reboots) and so on and they dont show up

ive used the menu updating tool and it dosnt find them

what could be causing my system to not add applications to the menu

some of wich im sure should be added like cinepaint and kaffeine plus xmovie etc...

I also have had this problem...the menu updating tool is really pretty lame. and I have been unable to find any information on it.
Until it improves, you will probably just have to update manually. Find out what the executable is for the application you want to add & use KMenuEdit to add a new entry. Most executables are in /usr/bin or /usr/sbin & most applications (even KDE applications) can be run from console just by typing the name of the application to check if the executable name is correct.
I hope somebody contradicts me on this & comes up with a better way.

Markus
07-28-2004, 06:28 PM
The KDE menu is hopeless. I tried a while back to use Fabian Franzes script for it from:
http://mailman.linuxtag.org/pipermail/debian-knoppix/2004-April/004968.html
without any progress. Well, I did manage to get the menu to dissappear, but I wouldn't call it progress. Best to do some backupping before messing with the menu.
For now I just settle on launching from konsole or finding the app under the debian section.
If you want to find the path to an executable do which appname

voldemort
07-28-2004, 06:38 PM
In file "/etc/menu-methods/translate_menus", at (or in the definition that ends at) line 39:
subtranslate section->section
^
Expected: "s"


thats the error i get and i went to line 39 and it looked okay to me here it is

# /etc/menu-methods/menu-translate file for update-menus.
#
# NOTE: if you want to translate the menu entries in a different language,
# DO NOT USE THIS FILE!!!
# use the GNU internationalisation tools, see the menu source
# code (menu/po-sections/menu-sections.pot), and send the .po file
# you created to us, we'll include it in a next release of menu.
#
#
#Synopsis:
#
# translate x -> y #where x and y are one of section, id, title, icon, ...
# x-name y-name
# ...
# endtranslate
#
#The translations are done by update-menus: the menu-methods will not
#have to be aware of this.
#

#There's:
# translate: only translate for exact matches (RE "^$match\$"
# subtranslate: translate for matches of RE "^$match"
# substitute: substitute substrings: sed -s "/^$match/$repl/".
# this only works for "substitute x->x", and
# will give interesting results for " substitute x->y".
#
# Language translators: DO NOT USE THIS FILE! (see note on top of this file)

# Examples:
# subtranslate section->section
# Apps/ Programs/ #Rename Apps to Programs
# endtranslate

# subtranslate section->section
# Apps/Editors/ Editors/ #Move Editors at the root.
# endtranslate

subtranslate section->section
Anwendungen/Editoren/ Editors/ # move all Debian submenus to root
Apps/Net/ Internet/
X-Debian-Apps-Net Internet/
# X-Debian-Games Games # move all Debian/Games submenus to root
endtranslate

voldemort
07-28-2004, 06:40 PM
did su and ran as root

no hickups but did apparently nothing unless it updated my root menu ???

ill check that out in a few im updateing a few files with apt right now