ubuntu refresh a application 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