"/etc/xdg/menus/applications-merged"?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

"/etc/xdg/menus/applications-merged"?

Postby 0gb.us on Tue Aug 28, 2012 1:48 pm

Reading the comments in "/etc/xdg/menus/mate-applications.menu", it looks like files in "/etc/xdg/menus/applications-merged/" are suposed to be merged with the menu.

Code: Select all
  <!-- Read in overrides and child menus from applications-merged/ -->
  <DefaultMergeDirs/>


However, the files there, one added by Wine to make a Wine submenu and one added by me to add a PlayOnLinux submenu, don't seem to be merged with the menu. So what is that directory for? And where do I find the directory that actually merges with the menu?

Thanks for the help!
0gb.us
Level 1
Level 1
 
Posts: 7
Joined: Wed Aug 01, 2012 5:42 am

Linux Mint is funded by ads and donations.
 

Re: "/etc/xdg/menus/applications-merged"?

Postby fpemud on Sun Dec 30, 2012 9:35 am

hi, I'm a gentoo user using cinnamon. I encounter the same problem.

This is my .menu file:
Code: Select all
[fpemud@fpemud-workstation /etc/xdg/menus/applications-merged]$ cat fvm-applications.menu
<!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>Virtual Machines</Name>
    <Directory>VirtMachines.directory</Directory>
    <Include>
      <And>
        <Category>VirtualMachine</Category>
      </And>
    </Include>
  </Menu>
</Menu>


This is my .directory file:
Code: Select all
[fpemud@fpemud-workstation /usr/share/desktop-directories]$ cat fvm-virtualmachines.directory
[Desktop Entry]
Name=Virtual Machines
Comment=Virtual Machines
Icon=computer
Type=Directory


This is my .desktop file:
Code: Select all
[fpemud@fpemud-workstation ~/.local/share/applications]$ cat fvm_temp.desktop
[Desktop Entry]
Name=Virtual Machine - temp
Type=Application
Exec=fpemud-virtmanager start temp
TryExec=fpemud-virtmanager start temp
Icon=computer
Categories=VirtualMachine;


according to spec, with these 3 files, I should see a "Virtual Machines" menu and a "Virtual Machine - temp" program in the application menu.
But there's nothing. Anyone can help?
fpemud
Level 1
Level 1
 
Posts: 1
Joined: Sun Dec 30, 2012 9:27 am


Return to Other topics

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests