XFCE 4.10 application menu items shuffled

I updated XFCE from 4.8 to 4.10, the application menu (the rat menu) items was shuffled and some items duplicated. For example the Run program... is at top, in the main app categories and in Accessories category. The Help is mingled with app categories, normally it's at bottom with About XFCE... and Log out.

In the past I created a customized menu file but I don't remember what I had done at the time and perhaps my customization was the source of other troubles, the menu was not updated when installing a new application. However, looking at /usr/local/etc/xdg/menus/xfce-application.menu seems it should work, there are a couple of
Code:
Merge type="all"
I do not know exactly what it means, I didn't change it, anyway. Anyone had this issue (and solved)? Also, is there something to visually edit the menu? I saw in one of xfce related ports that there was an option to enable glide to edit menu (or something similar), I left it unchecked, was that what I'm looking for? Thanks.
 
Have a look in ~/.local/share/applications/. Remove any *.desktop files that may be there. Does that improve things?
 
Thank you Sir for your reply. Looking at /usr/local/share/applications there aro no entries about 'Run applications...' or 'Help'. In ~/.local/share/applications I have these files:

Code:
mimeapps.list
xfce-backdrop-settings.desktop
xfce-mouse-settings.desktop

This is how it looks, there are duplicated items here and there.

xfcemenu1.png


/usr/local/etc/xdg/menus/xfce.application.menu is here
 
It looks like my menu. Some things might be duplicated because they apply to more than one category, but I don't see it in that example.
 
Well, it doesn't matter. I installed some ports and the new menu entries are correct (not duplicated or misplaced), so if it stay the same I keep it as is.

This is a new VM, I installed Xorg and Xfce 2-3 weeks ago (Xfce 4.8), after few days I updated port tree and there was Xfce 4.10 and updated it.

Thanks for your help.
 
[solved]

While waiting for a couple of ports to finish updating I solved this.

Run Program...
In /usr/local/applications there are two 'Run Program...' (as seen in Thunar), the first is the v4.8 old one (I guess) with filename xfrun4.desktop, the second has the filename xfce4-run.desktop. I added the line
Code:
NoDisplay=true
into the first one to hide all occurencies.

Help
In /usr/local/applications the 'Help' command has filename xfhelp4.desktop I changed the line from
Code:
Categories=[B]Utility[/B];X-XFCE;X-Xfce-Toplevel;
to
Code:
Categories=[B]System[/B];X-XFCE;X-Xfce-Toplevel;
to make that change I look at 'Log Out' command with filename xfce4-session-logout.desktop. At this point the help still appears in the menu mingled in main categories, so I edited the file /usr/local/xdg/menus/xfce-applications.menu and added the line (in bold) in the main menu definition:

Code:
    <Layout>
        <Filename>xfce4-run.desktop</Filename>
        <Separator/>
        <Filename>exo-terminal-emulator.desktop</Filename>
        <Filename>exo-file-manager.desktop</Filename>
        <Filename>exo-mail-reader.desktop</Filename>
        <Filename>exo-web-browser.desktop</Filename>
        <Separator/>
        <Menuname>Settings</Menuname>
        <Separator/>
        <Merge type="all"/>
        <Separator/>
        [B]<Filename>xfhelp4.desktop</Filename>[/B]
        <Filename>xfce4-about.desktop</Filename>
        <Filename>xfce4-session-logout.desktop</Filename>
    </Layout>

P.S. Perhaps the file xfrun4.desktop is safe to delete.
 
Back
Top