[kde-linux] Editing the K menu

James Richard Tyrer tyrerj at acm.org
Fri Jul 29 08:29:21 UTC 2005


Marcelo Amorim wrote:
> Hi!
> I followed these tips and I created the menu with my
> appliction, but I still not include a sub-menu inside
> the new menu.
> How can I do that?
> The files I created are:
> 
> amorim.desktop
> 
> [Desktop Entry]
> Encoding=UTF-8
> Name=Arq.desktop
> Comment=ModHRM
> Exec=/usr/bin/teste.sh
> Icon=teste.png
> Terminal=false
> Type=Application
> Categories=Teste
> -----------------------
> amorim.menu
> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu
> 1.0//EN"
>   
> "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
> 
> <Menu>
>         <Menu>
>                 <Name>MAmorim_app_merged</Name>
>                
> <Directory>amorim.directory</Directory>
>                 <Include>
>                         <Category>Teste</Category>
>                 </Include>
>         </Menu>
> </Menu>
> 
> ---------------------
> amorim.directory
> [Desktop Entry]
> Type=Directory
> Icon=package
> Name=arq.directory

Yes, I think I added a submenu also.  Just nest them as in the attached.

-- 
JRT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20050729/59d51956/attachment.html>


More information about the kde-linux mailing list