Ubuntu – How to change the default folder location that nautilus opens

12.04defaultnautilus

The default is that clicking on the folder in the unity dock opens the home directory.

Since there are shortcuts for all the sub-folders of the home directory in the sidebar already, I'd prefer the default directory to move to a different location (~/Documents).

How can I achieve this?

Best Answer

Just to be sure, you mean this icon here?

enter image description here

If yes, edit the file /usr/share/applications/nautilus-home.desktop and alter the line (#4):

Exec=nautilus %U

to

Exec=nautilus /your/path/

and save the file. But notice, it will be system wide.