I use Mint 20.2 with Mate File Manager.
I am new to Linux, and I am a long time user of MacOS.
I am looking for a way to close all the open windows of the File Manager with one command, possibly just using a keyboard shortcut (as I am used to do in MacOS).
I am aware I may need to create a script and associate it to a keyboard shortcut, in that case could you help me with that. I am open to any solution that allow me to use just one shortcut, without leaving the File Manager.
killall caja
:Dkillall caja
works but is a bit dirty but you can usecaja -q
. I posted an answer.