I have many users at the place I work, expressing the notion of switching to Ubuntu. Most of them, for whatever weird reason wanting to know if its possible to have refresh
added when you right click on the desktop.
Is that possible?
I have many users at the place I work, expressing the notion of switching to Ubuntu. Most of them, for whatever weird reason wanting to know if its possible to have refresh
added when you right click on the desktop.
Is that possible?
To add refresh command to right click context menu in Ubuntu 11.10 , install nautilus – refresh by running following commands in the terminal.
Once the package is installed, run following commands to restart nautilus or log out and log back in to see the changes.
The default file browser in Lubuntu is PCManFM. So, if there are some possibilities to "refresh" desktop in Lubuntu, these should act on PCManFM. Thus, looking at the manual page of PCManFM (
man pcmanfm
), I found that running the following command(s) in terminal (lxterminal
), the desktop will refreshSo far, so good; there is only left to do somehow to run this command from right click menu from the desktop. This can be done in 3 steps:
Create a new small script, let say
refresh.sh
, with the following two lines inside:Don't forget to make it executable:
On the desktop, right click and select Desktop Preferences, click Advanced in the new opened window and tick Show menus provided by window managers when desktop is clicked.
Using the following command in terminal:
edit the opened file
/usr/share/lubuntu/openbox/menu.xml
as follow (you only have to add the bold text and to use the right path for the script created at 1st step):The result, as I tested in Lubuntu 13.04: (Make sure that you logout, and log back in for changes to take effect).
(Sorry for the low quality of the animated gif, but I just don't have time to find something better for the moment)