Write desktop file manually, add gnome startup property

Fixes #893