The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 6,859β€…    Votes:  4β€…    βœ… 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: November 24, 2022    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

⇧ How to install 2 Graphics drivers, and have Ubuntu detect and load which one (without conflict) Dual booting: every time Windows boots, it increases the scrolling speed of the mouse on Ubuntu  β‡©