| Author |
Message |
barefoot

Joined: 14 Feb 2010 Posts: 13 Location: cambria, california, usa
|
Posted: Fri 09 Nov 2012, 18:54 Post subject:
Can't remove IceWM menu item (Solved) |
|
Hi all,
I'm running Lucid puppy 5.28 (Lupu LIbre) with IceWM window manager. I have been using the Remove Builtin Packages utility to slim down puppy. Usually, when I remove a program that has a menu entry, the menu entry vanishes.
I removed Guvcview Webcam Viewer and the menu entry stayed. I know the package is gone because when I click the menu entry, I get a "No such file or directory" message.
I removed the Guvcview entry from /root/.icewm/menu and then removed another package with the Remove Builtin Packages utility (which seems to refresh the IceWM menu) and the Guvcview entry was restored in /root/.icewm/menu and its menu item remains!
Any ideas about how to correct this?
Thanks
Last edited by barefoot on Sat 10 Nov 2012, 06:04; edited 1 time in total
|
|
Back to top
|
|
 |
watchdog
Joined: 28 Sep 2012 Posts: 119
|
Posted: Sat 10 Nov 2012, 03:08 Post subject:
Remove item from menu |
|
Open with geany /root/.jwmrc and delete the row with the item you don't want to appear in the menu...
|
|
Back to top
|
|
 |
barefoot

Joined: 14 Feb 2010 Posts: 13 Location: cambria, california, usa
|
Posted: Sat 10 Nov 2012, 04:04 Post subject:
|
|
Thanks for the reply, watchdog.
I removed the line containing Guvcview from ~/.icewm/menu, ~/.icewm/menu-previous, ~/.jwmrc, and ~/.jwmrc-previous.
Then, I restarted X Server. The line with Guvcview did not return to any of those files but the menu item remains.
Stumped again...
|
|
Back to top
|
|
 |
watchdog
Joined: 28 Sep 2012 Posts: 119
|
Posted: Sat 10 Nov 2012, 04:20 Post subject:
|
|
You removed a built-in package. Perhaps you need now to remove the entry in /root/.packages/woof-installed-packages if exist in lucid. I am now with wary. Disclaimer: make backup and try.
|
|
Back to top
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: Sat 10 Nov 2012, 05:12 Post subject:
|
|
Hello barefoot
Look to see if this file exists: /usr/share/applications/guvcview.desktop
if it does,
then simply delete it.
After doing that,
you may also need to run fixmenus, before the menu entry disappears.
CatDude
.
_________________

|
|
Back to top
|
|
 |
barefoot

Joined: 14 Feb 2010 Posts: 13 Location: cambria, california, usa
|
Posted: Sat 10 Nov 2012, 06:03 Post subject:
|
|
Success!
There was no entry for guvcview in /root/.packages/woof-installed-packages.
So, I deleted /usr/share/applications/guvcview.desktop, ran fixmenus, and the menu item vanished!
Thank you watchdog and CatDude for your efforts.
EDIT: Now some speculation... There was a Gnumeric.desktop file in /usr/share/applications, but it and the menu item vanished when Gnumeric was uninstalled. It seems to me that the Remove Builtin Packages utility failed to remove Guvcview.desktop which is what caused the problem. Perhaps the command to remove Guvcview.desktop was missing/broken in the uninstall script?
|
|
Back to top
|
|
 |
|