gnome dash refresh applications list 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