26

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?

user1552512
  • 1,085
  • 2
  • 9
  • 7

3 Answers3

26

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.

dobey
  • 41,650
23

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)

Glutanimate
  • 21,763
0

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.