Dağıtımınızdaki desktop-files-utils paketidesktop-file-validate
tarafından sağlanan aracı arıyorsunuz . Ayrılmış sözcükleri / karakterleri kullanarak sözdizimini, Özetle, Masaüstü Girişi belirtimine uygun olup olmadığını kontrol eder . Kötü bir .desktop dosyası örneği:
➜ ~ desktop-file-validate asdf.desktop
asdf.desktop: error: value "cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $*" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote
asdf.desktop: error: value "cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $*" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote
asdf.desktop: error: value "cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $*" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote
asdf.desktop: error: value "cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $*" for key "Exec" in group "Desktop Entry" contains a reserved character '*' outside of a quote
asdf.desktop: hint: value item "GNOME" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: GTK
asdf.desktop: error: value "GNOME;Oracle;Utility;Development;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Oracle"; values extending the format should start with "X-"
asdf.desktop: hint: value "GNOME;Oracle;Utility;Development;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
asdf.desktop: error: value "s.0.m.t.h.i.n.g" for key "Version" in group "Desktop Entry" is not a known version
Hangi iyi dosyalarda caribou-autostart.desktop
hiçbir şey göstermez.
desktop-file-validate
hiçbir hata göstermeyebilir, ancak geçersiz giriş nedeniyle hala çalışmayabilirExec
.