*Hi,*
*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 http://www.eng.fsu.edu/%7Edommelen/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.* However, with my surprise, I noticed that the content of the file "/etc/xdg/menus/application.menu" has no influence on the presentation of the "Graphic Menu" that is shown 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)*
On Fri, 14 Dec 2018 08:52:06 +0200 Angelo Moreschini mrangelo.fedora@gmail.com wrote:
*Hi,*
*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 http://www.eng.fsu.edu/%7Edommelen/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> 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?*
Are you perhaps using Wayland as your server instead of X? I am not familiar with Gnome menus, so this is just a guess. Because the menu file you edited seems to be for X.
Hi stan ,
I use x11.
*but what strange is... * I understood that the "Desktop Menu Specification" ( https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#legac... ) is the base for all the implementations.. . ...in the sense that all the tools (GConf and all the other...) work to manage easily this framework.
*Now it seem to me this in not true.*..
After I post this message I found a tool named "Meow" ( https://pnmougel.github.io/meow/) that woks very good.. I made all that I would with this tool but nothing changed on the files .menu on the computer..
You know some explication about this ?
On Fri, Dec 14, 2018 at 6:02 PM stan stanl-fedorauser@vfemail.net wrote:
On Fri, 14 Dec 2018 08:52:06 +0200 Angelo Moreschini mrangelo.fedora@gmail.com wrote:
*Hi,*
*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 http://www.eng.fsu.edu/%7Edommelen/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> 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?*
Are you perhaps using Wayland as your server instead of X? I am not familiar with Gnome menus, so this is just a guess. Because the menu file you edited seems to be for X. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org
On Sat, 15 Dec 2018 16:42:18 +0200 Angelo Moreschini mrangelo.fedora@gmail.com wrote:
Hi stan ,
I use x11.
*but what strange is... * I understood that the "Desktop Menu Specification" ( https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#legac... ) is the base for all the implementations.. . ...in the sense that all the tools (GConf and all the other...) work to manage easily this framework.
*Now it seem to me this in not true.*..
After I post this message I found a tool named "Meow" ( https://pnmougel.github.io/meow/) that woks very good.. I made all that I would with this tool but nothing changed on the files .menu on the computer..
You know some explication about this ?
Unfortunately, no. I was just making a suggestion hoping it was something that obvious. I suggest you open a bugzilla for this (against gconf?). If there is a way to do it, the maintainer will know it. And if there isn't, your bugzilla will put it on their radar.
On 12/13/18 10:52 PM, Angelo Moreschini wrote:
/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../
The relevant file in this case is /etc/xdg/menus/gnome-applications.menu. I can edit it and the Applications menu changes as soon as I save.
Samuel Sieb wrote :>The relevant in this case is
/etc/xdg/menus/gnome-applications.menu. I can edit it and the Applications menu changes as soon as I save.
--- Thank You Samuel what you say is what I expected to happen..... But this was not in my previous tries .
Errors came for lack of experience, that bring doubt (and this is what is now happening to me) Know what you wrote is important, because now I'll look elsewhere to solve my problem ...this can have another cause .
So I thank you for give me this certainly.:-)
On Sat, Dec 15, 2018 at 10:00 PM Samuel Sieb samuel@sieb.net wrote:
On 12/13/18 10:52 PM, Angelo Moreschini wrote:
/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../
The relevant file in this case is /etc/xdg/menus/gnome-applications.menu. I can edit it and the Applications menu changes as soon as I save. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org