I tried several times in the times to organize the menu of the application-launchers (the graphic menu system) on my computer, in order to present it divided into sub-menus..
This does not seem to be a simple problem ... (see ..http: //www.eng.fsu.edu/~dommelen/s6520/menus.html); however this time I carefully studied the document "Desktop Menu Specification" and following the suggestions provided in the previously mentioned link I rewrote (after saving the original) the file "/etc/xdg/menus/application.menu" (it is in XML format).
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> <Menu> <Name>Applications</Name> <Directory>X-GNOME-Menu-Applications.directory</Directory> <!-- Scan legacy dirs first, as later items take priority --> <!-- LegacyDir>/usr/share/gnome/apps</LegacyDir --> <!-- LegacyDir>/etc/X11/applnk</LegacyDir --> <!-- Read standard .directory and .desktop file locations --> <!-- KDELegacyDirs /--> <!-- DefaultAppDirs /--> <!-- DefaultDirectoryDirs /-->> <!-- Add stock tarball installs to menus --> <!-- AppDir>/usr/local/share/applications</AppDir --> <!-- Accessories submenu --> <!-- uno --> <!-- Menu> <Name>Accessories</Name> <Directory>Utility.directory</Directory> <Include> <And> <Category>Utility</Category> <Not> <Category>System</Category> </Not> </And> </Include> </Menu --> <!-- End Accessories --> <!-- Development Tools --> <!-- due --> <Menu> <Name>Development</Name> <Directory>Development.directory</Directory> <Include> <Category>Development</Category> <Filename>/home/angelo_dev/Desktop/netbeans-8.0.2.desktop</Filename> <Filename>/usr/share/applications/lazarus.desktop</Filename> <Filename>/usr/share/applications/bluefish.desktop</Filename> <Filename>/home/angelo_dev/.local/share/applications/wine/Programs/Visual UML 5/Visual UML.desktop</Filename> </Include> </Menu> <!-- End Development Tools → ….............. …............ </Menu> <!-- End Applications --> |
Based on when I had learned, this file should be the creator (at boot) of the "graphic
menu system" that is showed on the screen.
....Fearing i I made mistakes with the XML code, I also change this file, more time, in such a simple way that it is certainly correct.
But when the computer is booted the menu on the screen was always the original "menu system" created at the installation of the Operating System.
What is wrong, based on my current knowledge?
I hope to get some help to understand correctly the way to work "the Gnome desktop System".
thank you for a kind answer
regards
Angelo
P.S. the problem is only to realize submenus... (working with .menu files) no problem come me adding new menus (writing .desktop files)
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx