Use :-
desktop-file-validate foo.desktop
to test the file - it will report any errors.

Reply via email to