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?
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.
Execute nautilus with:
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)
For any user like ZiTAL who is curious on how to change gsettings for nemo, you must type a very similar command (I thought it necessary to put this here because I have not seen anyone mention it before). Since Nemo is part of cinnamon, you must execute this command
gsettings set org.cinnamon.desktop.background show-desktop-icons false
also like I mentioned in a similar thread if you have custom icons you should type
sudo apt full-upgrade
to make all parts of your system notice them.