reload desktop entries linux code example
Example: refresh desktop entries
update-desktop-database # desktop-file-utils
update-desktop-database ~/.local/share/applications
update-desktop-database # desktop-file-utils
update-desktop-database ~/.local/share/applications