I'm fairly sure the stock debian install includes menu-xdg
(menu-xdg_0.2.3_all.deb).  "dpkg --contents " for this .deb show that it
includes /etc/menu-methods/xdg-desktop-entry-spec-sessions.  I believe it is
this file that creates the additional .desktop file.

The README in /etc/menu-methods states : "update-menus runs all files in
this directory, passing it all menuentries to install on stdin."

The fvwm.postinst script calls upon update-menus via:
# Ensure the menu system is updated
[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus

so, what I think is that the file /usr/share/xsessions/Fvwm.desktop that is
included with the fvwm .deb is redundant and probably not required as
update-menus creates
a .desktop entry in /var/lib/menu-xdg/xsessions/

any comments?

Reply via email to