LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-31-2004, 02:08 AM   #1
kribjo
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Question Update-menus -v on mdk10 won't work


Hi,

I have installed Mandrake Linux 10 Community and have no start-menu except for logout, lock screen, run command, recent documents and find. The 'all applications' section is empty. I tried to run update-menus -v as a regular user and root, but that did not help. This occur on my laptop. I had the same problem on my desktop, but running update-menus -v solved it.

It stops when it tries to setup up menus for Gnome I think. I have pasted the output below. Sorry, but I could not find a way to attach a file.

Hope someone can help me with this one. I'm a totally stuck newbie.

Kindly Regards,

Bjørn Kr. Sveinsvoll
Norway.

Start of pasted output:
==================================================================
update-menus[2794]: Update-menus is run by user.
update-menus[2794]: urpmi is not locking urpmi status area, good.
[bks@localhost bks]$ update-menus[2794]: Reading installed packages list...
update-menus[2794]: Reading translation rules in /etc/menu-methods/translate_menus.
update-menus[2794]: Reading menu-entry files in /home/bks/.menu/.
update-menus[2794]: 0 menu entries found (0 total).
update-menus[2794]: Reading menu-entry files in /etc/menu/.
update-menus[2794]: 0 menu entries found (0 total).
update-menus[2794]: Reading menu-entry files in /usr/lib/menu/.
update-menus[2794]: 677 menu entries found (677 total).
update-menus[2794]: Reading menu-entry files in /usr/share/menu/.
update-menus[2794]: 0 menu entries found (677 total).
update-menus[2794]: Reading menu-entry files in /usr/share/menu/default/.
update-menus[2794]: 0 menu entries found (677 total).
update-menus[2794]: Running menu-methods in /home/bks/.menu-methods/.
update-menus[2794]: Running menu-methods in /etc/menu-methods/.
update-menus[2794]: Running method: /etc/menu-methods/menu
update-menus[2794]: Running method: /etc/menu-methods/twm
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/twm: aborting
update-menus[2794]: Script /etc/menu-methods/twm returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/gnome-mime-data-applications
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/gnome-mime-data-applications: aborting
update-menus[2794]: Script /etc/menu-methods/gnome-mime-data-applications returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/gnome-mime-data-keys
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/gnome-mime-data-keys: aborting
update-menus[2794]: Script /etc/menu-methods/gnome-mime-data-keys returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/kde3
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/kde3: aborting
update-menus[2794]: Script /etc/menu-methods/kde3 returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/mailcap
update-menus[2794]: Running method: /etc/menu-methods/icewm
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/icewm: aborting
update-menus[2794]: Script /etc/menu-methods/icewm returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/gnome
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/gnome: aborting
update-menus[2794]: Script /etc/menu-methods/gnome returned error status 1.
update-menus[2794]: Reading translation rules in /etc/menu-methods/translate_menus.
update-menus[2794]: Reading menu-entry files in /home/bks/.menu-simplified/.
update-menus[2794]: 0 menu entries found (0 total).
update-menus[2794]: Reading menu-entry files in /etc/menu/simplified/.
update-menus[2794]: 0 menu entries found (0 total).
update-menus[2794]: Reading menu-entry files in /usr/lib/menu/simplified/.
update-menus[2794]: 126 menu entries found (126 total).
update-menus[2794]: Running menu-methods in /home/bks/.menu-simplified-methods/.
update-menus[2794]: Running menu-methods in /etc/menu-methods/simplified/.
update-menus[2794]: Running method: /etc/menu-methods/simplified/kde3
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/simplified/kde3: aborting
update-menus[2794]: Script /etc/menu-methods/simplified/kde3 returned error status 1.
update-menus[2794]: Running method: /etc/menu-methods/simplified/gnome
Unable to open file "/etc/menu-methods//lang.h".
install-menu: /etc/menu-methods/simplified/gnome: aborting
update-menus[2794]: Script /etc/menu-methods/simplified/gnome returned error status 1.
================================================================
End of pasted output
 
Old 03-31-2004, 03:05 AM   #2
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Try going in to menueditor(right click menu icon). Click action->modify menu style. Choose all applications menu, click OK. Save it.
If that doesn't work go file->reload user config, save.
Lastly try file->reload system menu
 
Old 03-31-2004, 05:43 AM   #3
mcooperstein
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I noticed in the error log the error message:
"Unable to open file "/etc/menu-methods//lang.h".

Probably this is normal, but I noticed the double slash "//' before the filename lang.h.

Mark
 
Old 03-31-2004, 06:27 AM   #4
kribjo
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Great post, thank you.

It did not work right out of the box, but you gave me an idea with the menueditor. I launched Menudrake and was able to see the command for Mandrake Update. Then I launched it, updated all files in list and voila I got a menu I don't know, but maybe I did something wrong during the installation process. Anyway I'm up and running now.

Bjørn
 
Old 03-31-2004, 02:23 PM   #5
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
kewl
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing software doesn't update Menus! duffmckagan Debian 8 11-11-2005 04:29 AM
update-menus: command not found juanjavier_xxx Debian 2 07-16-2005 12:44 PM
redhat-menus update in FC3 DJOtaku Fedora 2 12-13-2004 09:19 PM
blackbox menus don't update FLOODS Linux - Software 2 02-02-2004 07:12 PM
Fluxbox: Automatic update of menus mister_math Linux - Newbie 7 03-12-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration