Views:
9,633β
Votes: 6β
β
Solution
Tags:
directory
home-directory
default
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1064548
Title:
How are the default user folders in the home created for a new user?
ID:
/2018/08/12/How-are-the-default-user-folders-in-the-home-created-for-a-new-user_
Created:
August 12, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
The defaults can be examined using:
$ cat /etc/xdg/user-dirs.defaults
# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=Desktop
DOWNLOAD=Downloads
TEMPLATES=Templates
PUBLICSHARE=Public
DOCUMENTS=Documents
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
If you donβt want a specific subdirectory created put a #
in front of it to comment out the line.
The sub-directories arenβt created until the user logs in with a GUI: Create default home directory for existing user in terminal