Change the default Downloads directory

I originally had a Downloads folder, but decided to create a separate partition for it.

So I renamed Downloads to Downloads2. I know, I should have just cut and pasted the content, but this seemed easier.

Anyway: for some reason Downloads2 was now the default Downloads directory. It even got the Ubuntu Download icon (the arrow alone)

But no matter what I do now: Downloads2 is still the default download directory. Even changing its name does nothing this time around. How is that possible? And how do I change it?

4 Answers

Nautilus-the-file-browser is smart enough to notice that you're renaming a "special" folder ("Downloads" in your case) and adjust its settings to use the new name.

The settings are stored in the file $HOME/.config/user-dirs.dirs - you can either edit this or just do some trickery with renaming your current Downloads2 back to Downloads via Nautilus.

Then you can move the contents from there to a separate partition and then mounting that partition as $HOME/Downloads.

See this question for more details.

2

Use xdg-user-dirs-update

xdg-user-dirs-update --set DOWNLOAD /absolute/path/to/new/download/folder
1

Ubuntu Tweak can be useful for you this time, but includes the install of the Ubuntu Tweak software, whose intuitive GUI will guide you on this and some other useful processes.

When installed, simply choose Ubuntu Tweak from within the System Tools sub-menu in the main menu. After which you can go to the "Personal" section in the sidebar and look inside "Default folders", where you can choose which will be your default folder for Downloads, Documents, Desktop, etc.

enter image description here

I hope this help you.

Good luck!

1

In Nautilus try Bookmarks > Bookmarks. You can edit the locations of the bookmarked folders.enter image description here

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like