Bug 520205 - menu changes never appear
Summary: menu changes never appear
Alias: None
Product: Fedora
Classification: Fedora
Component: xfdesktop
Version: 11
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-08-28 22:20 UTC by Lonni J Friedman
Modified: 2009-08-28 23:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-08-28 23:26:55 UTC

Attachments (Terms of Use)
my edited /etc/xdg/menus/xfce-applications.menu (4.35 KB, application/octet-stream)
2009-08-28 22:20 UTC, Lonni J Friedman
no flags Details

Description Lonni J Friedman 2009-08-28 22:20:15 UTC
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):

How reproducible:

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
Actual results:
None of the changes to the desktop menu ever appear

Expected results:
All changes should be reflected, rather than getting the default menu

Additional info:
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.

Comment 1 Kevin Fenzi 2009-08-28 22:57:41 UTC
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?

Comment 2 Lonni J Friedman 2009-08-28 23:06:07 UTC
The only error that I see in ~/.xsession-errors when running 'killall -HUP
xfdesktop' is:
(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?


Comment 3 Kevin Fenzi 2009-08-28 23:16:52 UTC
You need to copy those .desktop files to ~/.local/share/applications/ and then add 
to their 

Then HUP xfdesktop again.

Comment 4 Lonni J Friedman 2009-08-28 23:26:55 UTC
Excellent, that did the trick, thanks.  I guess I just didn't grok the dox correctly.  Sorry for wasting your time.

Comment 5 Kevin Fenzi 2009-08-28 23:50:39 UTC
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. ;)

Note You need to log in before you can comment on or make changes to this bug.