Ubuntu modify the location of the default folders under the main folder

Recently I was trying to free the system disk and moving the user directories to a portable disk. But Ubuntu system will automatically re-make a new one in the former path to store files e.g., the screenshots in image folder. Or if you switch the system language, these user dirs name may still follow your former language.

If you have similar problems, here is a solution.

Open it in terminal:

Change your interested locations there:


translated 2021-09-24

Leave a Reply