Problem Adding Menu Item : FC-2 Gnome 2.6

SANS sandeep_from at yahoo.com
Tue Sep 14 11:46:29 UTC 2004


 Hello,
 
I am attempting to modify the MENU in FC-2 (Gnome
2.6).
For learning purpose I have modified an existing entry
to create a new MENU item. Below is what I have done..
 
1)Created file /usr/share/applications/test.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Test
Comment=Test has done this
Exec=sound-juicer
Icon=sound-juicer.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=sound-juicer
X-GNOME-Bugzilla-Component=general

2)Created
/usr/share/desktop-directories/test.directory
[Desktop Entry]
Name=Test
Comment=Test has done this
Icon=redhat-games.png
Type=Directory
Encoding=UTF-8

3)Run the following command as "root".
desktop-file-install --vendor=Foo_Me_Foo
--add-category=X-Red-Hat-Base 
/usr/share/desktop-directories/test.directory

Menu Item "test" is being added & shows in the menu.
But the menu item is being added under "Other"
category
I believe there should have been a new category "Test"
which when clicked would run the application
"sound-juicer".
 
Request someone to point where I am going wrong.
 
Can someone also guide me to how to add a separator
between menu items.
 
Thanking everyone in advance.
 
Best regards,
sans


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail





More information about the fedora-list mailing list