1

I would like to know which command I can use in order to reload Nemo file manager from my terminal. I want to get exactly the same behavior as if I press the F5 key on the desktop.

Does someone knows how to do?

Booteille
  • 11
  • 1
  • 5

2 Answers2

0

xdotool is a great litte program for doing gui tasks from the command line.

You could do something like this:

xdotool search --class nemo windowactivate %@ key F5

It will search for windows with the class nemo, activate them, and send F5 to them.

micke
  • 3,345
  • 17
  • 25
0

You can do that by closing nemo & restarting it.

nemo -q # Stop nemo
nemo --no-default-window &> /dev/null & # Start nemo without opening a new window and send output to /dev/null
Booteille
  • 11
  • 1
  • 5