Check type of .desktop file