Im trying to add the refresh button like we have in Windows in right click in mate desktop. Im running Parrot OS.
apt-get install nautilus-refresh
sudo apt-get install python-nautilus xautomation wget
Both these commands return error as not found,I also tried to add repository to sources.list but failed.
This is because you are trying to add refresh option to nautilus which is part of gnome environment whereas parrot-os uses caja which is part of mate environment
To add a working refresh option in mate, you need to:
Install xautomation
by sudo apt install xautomation
(you will need xte
feature provided by it)
Now open location /home/USER/.config/caja/scripts
folder (press ctrl+h
in home folder to see .config
folder)
Create a file named refresh
and add the following in it:
#!/bin/bash
xte "key F5"
refresh
file, go to properties
and check all Execute
options inside Permissions
tabYou can now see a refresh option when you right click inside scripts -> refresh