According to $ desktop-file-validate /usr/share/applications/firefox.desktop OnlyShowIn was deprecated completely. Also it shows a lot of other errors in the file.
According to file-validate /usr/share/ applications/ firefox. desktop
$ desktop-
OnlyShowIn was deprecated completely. Also it shows a lot of other errors in the file.