But open with text editor.
GNOME 46
But open with text editor.
GNOME 46
The command would be update-desktop-database. Otherwise, you would need to logout and login again.
@sonichy, as it was already said:
Desktop files are intended for the system to provide application launchers in the desktop. Therefore, it is expected for them to be located in standardized directories and to be handled by the system.
Apart from that you should also consider that running any random desktop file from the file manager can lead to issues at best or security risks at worst.
If you for example tried to run a desktop file because you wanted to install a program, please consider using proper software management tools like Flatpak or your package manager.