Created attachment 359127 [details]
my edited /etc/xdg/menus/xfce-applications.menu
Description of problem:
All attempts to customize the desktop menu silently fail. The changes are never reflected. All of this is based on the documentation from here:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make changes to /etc/xdg/menus/xfce-applications.menu (remove entries, add new entries, etc)
2. Run 'xfdesktop --reload' or 'killall -HUP xfdesktop'
3. Right click on the desktop and look for the changes, they will be absent
None of the changes to the desktop menu ever appear
All changes should be reflected, rather than getting the default menu
I've attached my /etc/xdg/menus/xfce-applications.menu that includes the changes that I've made. I'd expect to see top level menu items for nedit and thunderbird, yet neither are present. I continue to see the default Terminal, File Manager and Web Browser. Note, that I also attempted to create a new xfce-applications.menu in ~/.config}/menus however that also failed to work. I was hoping that changing the master version under /etc/xdg/menus would serve as a brute force method, but alas no.
You should probibly just copy and change the menu in ~/.config/menus/xfce-applications.menu
I copied your attached menu here to that file and did a 'killall -HUP xfdesktop' and the File Manager was gone. The ones you added were not added here, but I don't have those installed.
Is there anything in your ~/.xsession-errors file about what it doesn't like?
The only error that I see in ~/.xsession-errors when running 'killall -HUP
(xfce4-panel:3671): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 1
I went ahead and copied /etc/xdg/menus/xfce-applications.menu to ~/.config/menus/xfce-applications.menu and ran 'killall -HUP xfdesktop' again. More of the xfce4-panel warnings in .xsession-errors, and the File Manager entry was gone, however the two new entries are still not present. I've got the following installed on my system:
Is that not where they should be to get used?
You need to copy those .desktop files to ~/.local/share/applications/ and then add
Then HUP xfdesktop again.
Excellent, that did the trick, thanks. I guess I just didn't grok the dox correctly. Sorry for wasting your time.
No problem at all. :) Glad you got it working...
hopefully the menu editor will exist again in 4.8 and you can forget you ever had to do all this. ;)