I'm using LXDE from debian/jessie.
How do i add a separator to a menu or define the order of the entries?
This is what i got so far:
~/.config/menus/applications-merged/foo.menu
Code: Select all
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Menu>
<Name>Foo</Name>
<Directory>foo.directory</Directory>
<Include> <Filename>foo.desktop</Filename> </Include>
</Menu>
<DefaultLayout>
<Separator/>
<Menuname>egal</Menuname>
<Separator/>
<Merge type="menus"/>
<Merge type="files"/>
</DefaultLayout>
<Layout>
<Separator/>
<Menuname>egal</Menuname>
<Separator/>
<Merge type="menus"/>
<Merge type="files"/>
</Layout>
</Menu>
~/.local/share/applications/foo.desktop
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Exec=lxterminal -e foo
Icon=lxterminal
Type=Application
Name=Foo Bar Baz.
~/.local/share/desktop-directories/foo.directory
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Icon=folder
Name=foo