Re: XDG – creating submenus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I write more clearly the command line :

xdg-desktop-menu install                  (option to install 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              Follow  the list all the launchers <there .desktop files>

      libreoffice-draw.desktop              that have to be groupped)

      libreoffice-base.desktop

      libreoffice-impress.desktop





On Tue, Aug 1, 2017 at 9:39 AM, Angelo Moreschini <mrangelo.fedora@xxxxxxxxx> wrote:
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/">

<!-- 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

Why this ??

how it works xdg-desktop-menu for creating submenus ???


Regards

thank  you


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux