Comment 8 for bug 1245315

Revision history for this message
Dan Bryant (justdan96) wrote :

I can confirm the same behaviour (new items appear in "Other") on Fedora 20 with XFCE4:

xfce4-panel-4.10.1-3.fc20.x86_64
alacarte-3.10.0-1.fc20.noarch
gnome-menus-3.10.1-1.fc20.x86_64

The trouble I am having is that the .desktop file is created by alacarte but the ~/.config/menus/xfce-applications.menu file does not seem to be updated in the way I would expect. For instance I create a new Item in the Games menu in alacarte, the generated .desktop file looks like this:

cat ~/.local/share/applications/alacarte-made-1.desktop
[Desktop Entry]
Comment=fheroes2
Terminal=false
Name=HOMM2
Exec=/home/dan/Games/fheroes2/fheroes2.x86_64
Type=Application
Icon=/home/dan/Games/fheroes2/image/fheroes2_32x32.png

Which is all correct, but I don't see an entry in xfce-applications.menu:
        <Menu>
                <Name>Games</Name>
                <Directory>xfce-games.directory</Directory>
                <Include>
                        <Category>Game</Category>
                </Include>
        </Menu>

If I manually edit the file I can add in the .desktop entry and it will appear in the Games menu correctly:
        <Menu>
                <Name>Games</Name>
                <Directory>xfce-games.directory</Directory>
                <Include>
                        <Category>Game</Category>
                        <Filename>alacarte-made-1.desktop</Filename>
                </Include>
        </Menu>

I hope the above explanation is clear as this behaviour is a bit puzzling to me.