How to open nautilus without a desktop?

I'm using xmonad, and I would like to open a nautilus window to a certain directory, because I like the convenience of browsing inside an encrypted zip file without unzipping it, which nautilus allows.

however, opening nautilus, even with a path argument starts a desktop on the monitor I'm using (There are 8 xmonad monitors) The desktop is inoperative and renders that monitor useless until nautilus is killed.

Is there any way to open just a nautilus window without any desktop starting?


Solution 1:

Run gsettings set org.gnome.desktop.background show-desktop-icons false and Nautilus will always start without drawing the icons on the background.

You can also run dconf-editor to change the setting with a GUI, if you'd like.

You may need to reset your background image settings, depending on how well the system handles the nautilus background window disappearing.

Solution 2:

Execute nautilus with:

nautilus --no-desktop &

You can change the launcher accordingly or create a new one for your purpose.

Edit: Added ampersand so that the process is run in the background. (Props to @user117123)