I'd like to have an option on the right-click menu to refresh Nautilus.
How can I achieve that?
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 xdotool
and nautilus-actions
:
sudo apt install xdotool nautilus-actions
Open nautilus-actions
and do the following:
Display item in location context menu
/usr/bin/xdotool
, Parameters to key F5
.nautilus -q
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:
https://launchpad.net/~tomtomtom/+archive/ubuntu/filemanager-actions
Ref: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1768597
filemanager-actions interface is slightly different. Updated instructions (with thanks to above).
sudo add-apt-repository ppa:tomtomtom/filemanager-actions
sudo apt update
sudo apt install filemanager-actions xdotool
# Run with (as user):
fma-config-tool
Once installed, open filemanager-actions with fma-config-tool 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 with: Open a terminal and run nautilus -q
Start Nautilus.