Hi,
….after installing 'libre office' on my computer, the lauchers of the
various applications that are part of libre office, were visible on the
desktop individually (in a separate and independent way).
I wanted to group all these launchers, on my desktop, inside a “submenu”
(and this accomplishment can also be a general requirement for displaying
programs grupper by “categories” on the desktop ).
I used the program “xdg-desktop-menu” to accomplice this purpose; so I run
this command line from the terminal
xdg-desktop-menu install /usr/share/desktop-directories/-kde-office.directory
libreoffice-calc.desktop libreoffice-calc.desktop ibreoffice-math.desktop
libreoffice-draw.desktop libreoffice-base.desktop
libreoffice-impress.desktop
*More clearly:*
xdg-desktop-menu install (option install of the command)
kde-office.directory (the <.directory file> that describe the icon and the
libreoffice-calc.desktop way to present the group of programs.
libreoffice-math.desktop the list all the launchers <there .desktop files>
libreoffice-draw.desktop to be groupped)
libreoffice-base.desktop
libreoffice-impress.desktop
the command created this file :
/etc/xdg/menus/applications-merged/kde-office.menu
[angelo_dev@localhost ~]$ cat
/etc/xdg/menus/applications-merged/kde-office.menu
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "
http://www.freedesktop.org/
<
http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd>">
<!-- Do not edit manually - generated and managed by xdg-desktop-menu -->
<Menu>
<Name>Applications</Name>
<Menu>
<Name>kde-office</Name>
<Directory>kde-office.
<Include>
<Filename>libreoffice-calc.
<Filename>libreoffice-calc.
<Filename>libreoffice-math.
<Filename>libreoffice-draw.
<Filename>libreoffice-base.
<Filename>libreoffice-impress.
</Include>
</Menu>
</Menu>
I hoped this was enough for my purpose, but as well this, *the submenu
<office> still not appears on the desktop*
*W*hy this ??
how it works xdg-desktop-menu for creating submenus ???
Regards
thank you