How to get a "refresh" right click action? [duplicate]

I'm new to Ubuntu 13.04. I want a 'refresh' option, like in Windows when you right click on desktop. Can anyone help me to get that option in Ubuntu?


Solution 1:

When in any folder (this includes the desktop), hit the F5 key to refresh.

To also add the refresh option to the right-click menu, check this answer (thanks Saurav Kumar).

Solution 2:

This is not necessary because items added to the ~/Desktop folder are added to the desktop automatically. This is most likely a bad habit from Windows.

If you really need to, press F5.

Solution 3:

You can try to install the old nautilus python script for Ubuntu 12.04 (nautilus-refresh) from the dr3mro/nautilus-actions-extra PPA. (Dr. Amr Osman).

  1. Open a Terminal window and type the following to install the necessary packages.

    sudo apt-get install python-nautilus xautomation wget
    
  2. Create a folder to download the deb package.

    mkdir ~/Downloads/refresh
    cd ~/Downloads/refresh
    
  3. Download the nautilus-refresh_0.6~ppa1-0~11~precise1_all.deb package from Launchpad.

    wget https://launchpad.net/~dr3mro/+archive/nautilus-actions-extra/+files/nautilus-refresh_0.6~ppa1-0~11~precise1_all.deb
    
  4. If you are running Ubuntu 13.04 64-bit.. create the following soft link.

    sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0
    

    NOTE:: If you are running 32-bit you can skip the step 4.

  5. Intall the deb package.

    sudo dpkg -i nautilus-refresh_0.6~ppa1-0~11~precise1_all.deb
    
  6. Finally you can logout and login to see the changes.

Result:

enter image description here

enter image description here