I'd like to have an option on the right-click menu to refresh Nautilus.
How can I achieve that?
Refresh button for Nautilus on right-click menu
You will need a to download
sudo apt install xdotool nautilus-actions
nautilus-actions and do the following:
Display item in location context menu
/usr/bin/xdotool, Parameters to
Also works on 18.04, but nautilus-actions was renamed to filemanager-actions. Still waiting for filemanager-actions to be added to the repos, but it's available on a development PPA as a workaround:
filemanager-actions interface is slightly different. Updated instructions (with thanks to above).
Once installed, open filemanager-actions and do the following:
To Create the new "Refresh" option:
To set the context menu to show directly, and not in a sub-menu:
Kill all existing nautilus windows: Open a terminal and run nautilus -q