| Author |
Message |
bignono1

Joined: 17 May 2009 Posts: 344 Location: New ME
|
Posted: Sat 22 Jan 2011, 15:50 Post_subject:
how to fix null entry in menu? |
|
Hi,
I tried to edit the start menu but ended in a mess .
I deleted /etc/xdg/menus/puppy-personal.menu.
Now there is (null) in the menu , like in the attachment.
How can i remove this null thing?
I don't need the personal sub menu , just remove that null.
Since we are here , this is the puppy-internet.menu:
@@@@@@@@@@@@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu PUBLIC "-//freedesktop//DTD Menu 0.8//EN" "http://www.freedesktop.org/standards/menu-spec/menu-0.8.dtd">
<Menu>
<Name>Internet</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<AppDir>/opt/kde/share/applications/kde</AppDir>
<Directory>Puppy-Internet.directory</Directory>
<Include>
<Category>X-Internet</Category>
<Category>WebBrowser</Category>
<Category>Email</Category>
<Category>News</Category>
<Category>InstantMessaging</Category>
<Category>Telephony</Category>
<Category>IRCClient</Category>
<Category>FileTransfer</Category>
<Category>P2P</Category>
</Include>
</Menu>
@@@@@@@@
how can i change this menu name so it will be something like web?
I mean when i click Menu i will get web instead of internet.
I tried to replace the deleted file from the CD but failed to do so, how can that be done?
Sorry for asking so many stupid questions .
Thank you all.
[img][/img]
 |
| Description |
|
| Filesize |
71.53 KB |
| Viewed |
233 Time(s) |

|
_________________ -----------------------
Please forgive my bad English.
|
|
Back to top
|
|
 |
PANZERKOPF
Joined: 16 Dec 2009 Posts: 251 Location: Earth
|
Posted: Sat 22 Jan 2011, 16:27 Post_subject:
Re: how to fix null entry in menu? |
|
| bignono1 wrote: | Hi,
I tried to edit the start menu but ended in a mess .
I deleted /etc/xdg/menus/puppy-personal.menu.
Now there is (null) in the menu |
See /etc/xdg/templates/_root_.jwmrc. There is the entry:
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu
Delete this entry, run fixmenus, restart jwm.
_________________ SUUM CUIQUE.
|
|
Back to top
|
|
 |
bignono1

Joined: 17 May 2009 Posts: 344 Location: New ME
|
Posted: Sat 22 Jan 2011, 23:27 Post_subject:
|
|
Man, that was great.
Now woof woof.
Thank you PANZERKOPF.
_________________ -----------------------
Please forgive my bad English.
|
|
Back to top
|
|
 |
bignono1

Joined: 17 May 2009 Posts: 344 Location: New ME
|
Posted: Sun 23 Jan 2011, 07:12 Post_subject:
|
|
How can i rename the internet menu to web menu?
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Sun 23 Jan 2011, 08:04 Post_subject:
|
|
I am not sure but at
/usr/share/desktop-directories
there is the entry
/usr/share/desktop-directories/Puppy-Internet.directory
which looks like
| Code: | [Desktop Entry]
Encoding=UTF-8
Name=Internet
Icon=www24.png
Type=Directory |
changing the Name to Name=Web might do it
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sun 23 Jan 2011, 08:36 Post_subject:
|
|
I believe /usr/share/desktop-directories/Puppy-Internet.directory controls the icon in the menu (I could be wrong).
Regardless, open /usr/share/desktop-directories/Puppy-Internet.directory, as text, change"Name=Internet" to "Name=Web" and Save-as /usr/share/desktop-directories/Puppy-Web.directory
Open /etc/xdg/menus/puppy-web.menu and change:
| Code: | <Name>Internet</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<AppDir>/opt/kde/share/applications/kde</AppDir>
<Directory>Puppy-Internet.directory</Directory>
|
to
| Code: | <Name>Web</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<AppDir>/opt/kde/share/applications/kde</AppDir>
<Directory>Puppy-Web.directory</Directory> |
Run fixmenus in console and restart jwm
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
bignono1

Joined: 17 May 2009 Posts: 344 Location: New ME
|
Posted: Sun 23 Jan 2011, 12:48 Post_subject:
|
|
Here is how it is done:
1/ Go: /etc/xdg/menus/puppy-internet.menu (right click> open as text)
Change ''Internet'' in lines 4,8 and 10 to: ''Web''
Save and exit
Right click puppy-internet.menu > rename to :puppy-web.menu
You can also rename before editing .
2/ Go: /etc/xdg/templates/_root_.jwmrc (open as text)
Edit line 16 like this :puppy-web.menu
save and exit.
3/ Go:/usr/share/desktop-directories > rename Puppy-Internet.directory to:Puppy-Web.directory
open as text edit this line:Name=Internet to Name=Web save & exit.
So far so good ha?
final 2 steps : open console , run :fixmenus ,when done restart jwm.
Thats all.
This can be used to edit all menu entries.
Thank you PANZERKOPF,Karl Godt and trapster , keep up the good puppian spirit.
|
|
Back to top
|
|
 |
|