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/me ... nu-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.
how to fix null entry in menu?
how to fix null entry in menu?
- Attachments
-
- null.png
- (71.53 KiB) Downloaded 445 times
-----------------------
Please forgive my bad English.
Please forgive my bad English.
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
Re: how to fix null entry in menu?
See /etc/xdg/templates/_root_.jwmrc. There is the entry: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
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu
Delete this entry, run fixmenus, restart jwm.
SUUM CUIQUE.
I am not sure but at
/usr/share/desktop-directories
there is the entry
/usr/share/desktop-directories/Puppy-Internet.directory
which looks like
changing the Name to Name=Web might do it
/usr/share/desktop-directories
there is the entry
/usr/share/desktop-directories/Puppy-Internet.directory
which looks like
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Internet
Icon=www24.png
Type=Directory
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:
to
Run fixmenus in console and restart jwm
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: Select all
<Name>Internet</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<AppDir>/opt/kde/share/applications/kde</AppDir>
<Directory>Puppy-Internet.directory</Directory>
Code: Select all
<Name>Web</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<AppDir>/opt/kde/share/applications/kde</AppDir>
<Directory>Puppy-Web.directory</Directory>
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
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.
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.