Please note: /usr/share/applications/vmware-toolbox.desktop is a different file and used for the GTK frontend of the open-vm-tools.
The sed command changes the executable in the Exec line from whatever was in there before to "vmware-toolbox". This seems to be necessary because the binary was renamed from its original name by the Debian/Ubuntu maintainer.
The vmware-user.desktop file on the other hand only launches the suid-wrapper (responsible for preparing working cut'n'paste and dynamic screen resizing) during user login and does nothing else. In Lucid this file and corresponding symlink in /etc/xdg/autostart was shipped in the open-vm-toolbox package while in Natty only the symlink exists, the real desktop file has been lost.
Please note: /usr/share/ applications/ vmware- toolbox. desktop is a different file and used for the GTK frontend of the open-vm-tools.
The sed command changes the executable in the Exec line from whatever was in there before to "vmware-toolbox". This seems to be necessary because the binary was renamed from its original name by the Debian/Ubuntu maintainer.
The vmware-user.desktop file on the other hand only launches the suid-wrapper (responsible for preparing working cut'n'paste and dynamic screen resizing) during user login and does nothing else. In Lucid this file and corresponding symlink in /etc/xdg/autostart was shipped in the open-vm-toolbox package while in Natty only the symlink exists, the real desktop file has been lost.