All pastes #792627 Raw Edit

PrinceAMD

public text v1 · immutable
·published 2007-11-21 16:11 UTC
rendered paste body
<?xml version="1.0"?>
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://standards.freedesktop.org/menu-spec/menu-1.0.dtd">
<Menu>
  <Name>Favorites</Name> <!-- the favorite menu-->
 
  <DefaultAppDirs/>
  <DefaultDirectoryDirs/>
  
  <Menu>
      <Name>test1</Name> <!-- the name of the sub-dir in Favorite menu-->
      <Directory>test.directory</Directory> <!-- this is the directory FILE, this file is located in your home folder in .local/share/applications/ -->
      <Include>
        <Category>test</Category> <!-- this identify what does into the directory "test1" u must put u'r program in a category that a folder [.directory] reads -->
      </Include>
    </Menu>
    
<Menu>
      <Name>test2</Name><!-- the name of the sub-dir in Favorite menu-->
      <Directory>test2.directory</Directory><!-- this is the directory FILE, this file is located in your home folder in .local/share/applications/ -->
      <Include>
        <Category>test2</Category> <!-- this identify what does into the directory "test2" u must put u'r program in a category that a folder [.directory] reads -->
      </Include>
    </Menu>
    
    <Include> <!-- this alow u to specify what u want in the favourite menu without setting any category-->
    <Filename>xterm.desktop</Filename><!-- this alow u to specify what u want in the favourite menu without setting any category-->
    <Filename>firefox.desktop</Filename><!-- this alow u to specify what u want in the favourite menu without setting any category-->
    <Filename>xmms.desktop</Filename><!-- this alow u to specify what u want in the favourite menu without setting any category-->
  </Include><!-- this alow u to specify what u want in the favourite menu without setting any category-->

</Menu>