Cannot change layout using applications-merged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-menus (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-menus
Files added to /etc/xdg/
As far as I can tell, there are two ways to fix this. One is to move the DefaultMergeDirs tag to the bottom of applications.menu. This makes sure that any other Layout section is the last. However, the fix that I feel is more in line with the freedesktop spec would be to change the Layout section in applications.menu to be a DefaultLayout section. This would use this layout unless there is any other Layout section.
I'll attach both patches to illustrate what I mean.
Please let me know if you need any other information.
Upon further investigation, changing from Layout to DefaultLayout is *not* a good solution to this. As per the spec, this attempts to change the layout of not only Applications, but all submenus, causing lots of bizarre results. I've removed this patch, as it's bogus.
So, it looks like relocating DefaultMergeDirs is the only workable solution here.