LinuxQuestions.org
Visit Jeremy's Blog.
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 11-22-2003, 10:35 AM   #1
Coume
Member
 
Registered: Nov 2003
Location: France
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
After using MenuDrake, all my items in my Gnome Menu are gone :(


Hello,
I'm using MDK 9.1, I opened MenuDrake to add a new item.
But once I save it, everything was gone in my menu... And I'm nopt able to get it back.
I still see the folders, but without icons and all are empty...

Any idea how to solve that very very annoying prbl???

Thxs in advance
Ludo
 
Old 11-23-2003, 02:21 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
in a terminal

update-menus -v

(no need to be root)
 
Old 11-24-2003, 01:51 AM   #3
Coume
Member
 
Registered: Nov 2003
Location: France
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: 15
Thxs, I have everything back

Cheers
Ludo
 
Old 11-26-2003, 02:15 PM   #4
RedBox
LQ Newbie
 
Registered: Nov 2003
Location: OK
Posts: 6

Rep: Reputation: 0
I am facing the same problem. I am using Mandrake 9.2. Why does it remove the menu items? Is this a bug?

Anyway, I tried the 'update-menus -v' but my menus are still missing. This is what I see after running the command. What is wrong?

Update-menus[27459]: update-menus run by user -- cannot determine if dpkg is locking /var/lib/dpkg/lock: assuming there is no lock
Update-menus[27459]: Dpkg not locking dpkg status area. Good.
sh: line 1: /bin/rpm: Permission denied
Update-menus[27459]: Reading installed packages...
Update-menus[27459]: Reading translate info in /etc/menu-methods/translate_menus
Update-menus[27459]: Reading menuentryfiles in /home/nalvin/.menu/
Update-menus[27459]: Reading menuentryfiles in /etc/menu/
Update-menus[27459]: Reading menuentryfiles in /usr/lib/menu/
Update-menus[27459]: Reading menuentryfiles in /usr/lib/menu/default/
Update-menus[27459]: Running menu-methods in /home/nalvin/.menu-methods/
Update-menus[27459]: Running menu-methods in /etc/menu-methods/
Update-menus[27459]: Running method:/etc/menu-methods//menu
Update-menus[27459]: Running method:/etc/menu-methods//twm
Cannot open file /home/nalvin//.twm//menudefs.hook
Unknown Error
/etc/menu-methods//twm: Aborting
Update-menus[27459]: Script /etc/menu-methods//twm returned error status 1.
Update-menus[27459]: Running method:/etc/menu-methods//kde3
cp: cannot create regular file `/home/nalvin/.kde/share/applnk-mdk-simplified/.directory': No such file or directory
Update-menus[27459]: Running method:/etc/menu-methods//gnome-mime-data-applications
Update-menus[27459]: Running method:/etc/menu-methods//gnome-mime-data-keys
Update-menus[27459]: Running method:/etc/menu-methods//icewm
Update-menus[27459]: Running method:/etc/menu-methods//gnome
cp: cannot create regular file `/home/nalvin/.gnome2/apps-mdk/.directory': No such file or directory
cp: cannot create regular file `/home/nalvin/.gnome2/apps-mdk-simplified/.directory': No such file or directory
ln: creating symbolic link `/home/nalvin/.gnome2/apps-mdk/mdk' to `/home/nalvin/.gnome2/apps-mdk-simplified': No such file or directory
Update-menus[27459]: Reading translate info in /etc/menu-methods/translate_menus
Update-menus[27459]: Reading menuentryfiles in /home/nalvin/.menu-simplified/
Update-menus[27459]: Reading menuentryfiles in /etc/menu/simplified/
Update-menus[27459]: Reading menuentryfiles in /usr/lib/menu/simplified/
Update-menus[27459]: Running menu-methods in /home/nalvin/.menu-simplified-methods/
Update-menus[27459]: Running menu-methods in /etc/menu-methods/simplified/
Update-menus[27459]: Running method:/etc/menu-methods/simplified//kde3
Can't stat /home/nalvin/.kde/share/applnk-mdk-simplified: No such file or directory
at /usr/bin/savekdemimetypes.pl line 44
cp: cannot create regular file `/home/nalvin/.kde/share/applnk-mdk-simplified/.directory': No such file or directory
Update-menus[27459]: Running method:/etc/menu-methods/simplified//gnome
cp: cannot create regular file `/home/nalvin/.gnome2/apps-mdk/.directory': No such file or directory
cp: cannot create regular file `/home/nalvin/.gnome2/apps-mdk-simplified/.directory': No such file or directory
ln: creating symbolic link `/home/nalvin/.gnome2/apps-mdk/mdk' to `/home/nalvin/.gnome2/apps-mdk-simplified': No such file or directory


RedBox
 
Old 11-26-2003, 03:10 PM   #5
clarks
Member
 
Registered: Aug 2003
Location: Georgia, US
Distribution: Ubuntu 7.10 - "Gutsy Gibbon"
Posts: 107

Rep: Reputation: 15
Try inserting CD1 into the drive and rebooting. When prompted, choose upgrade. This is an alternate fix to the "menus-update -v" command.

Clark
 
Old 11-26-2003, 09:26 PM   #6
RedBox
LQ Newbie
 
Registered: Nov 2003
Location: OK
Posts: 6

Rep: Reputation: 0
Thanks for the suggestions clarks. I did not try what you said but I did get it to work finally. It was a permission issue. When I first installed Mandrake 9.2, I set the security to 'Paranoid' and it won't let a normal user log in.

I remembered that and decided to try lowering the security setting. When I had the menu trouble, it was set to 'highest'. So I set it down a notch to 'higher' and tried the 'update-menus' again and it worked this time!!


RedBox
 
Old 04-15-2004, 08:51 AM   #7
mike5496
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
I had the same problem - thanks for the fix.

Do we know why this happens? Should I just avoid editing menus? Is there a new version of the editor that doesn't have this problem?

Any advice?

Thanks again.
Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gnome menu items added not visible takisd Debian 4 02-02-2005 05:19 AM
gnome 2.8 removing menu items animehair Linux - Software 2 12-05-2004 02:20 PM
lost gnome menu items after update jankom Linux - Software 0 06-02-2004 05:20 PM
adding gnome menu items abs Slackware 4 02-14-2004 03:50 AM
How to add KDE menu items to Gnome menu... QtCoder Linux - General 4 10-05-2003 01:21 PM


All times are GMT -5. The time now is 03:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration