I can reload the Caja desktop by clicking anywhere on the desktop pressing F5. Is there any way to do this programmatically?
For example, I have a user script copies some files to the
$HOME/Desktop directory. I'd like the script to be able to do an F5 so the user can immediately see these files instead of them having to manually do an F5.
I can do
caja -q && caja -n &
This works, but has the side-effect of killing all other caja windows that happen to be open.