XDG−USER−DIRS−UPD - Online Linux Manual PageSection : 1
Updated :
Source : XDG
Note : User Commands

NAMExdg-user-dirs-update − Update XDG user dir configuration

SYNOPSISxdg−user−dirs−update [OPTION...] [−−set NAME PATH...]

DESCRIPTIONxdg−user−dirs−update updates the current state of the users user−dirs​.dirs​. If none existed before then one is created based on the system default values, or falling back to the old non−translated filenames if such directories exists​. The list of old directories used are: ~/Desktop, ~/Templates and ~/Public​. If an old configuration exists it is updated with any new default directories​. Additionally, any configured directories that point to non−existing locations are reset by pointing then to the users home directory​. This typically happens when the users removed the directory, so they likely don't want to use it anymore​. On the first run a user−dirs​.locale file is created containing the locale that was used for the translation​. This is used later by GUI tools like xdg−user−dirs−gtk−update to detect if the locale was changed, letting you to migrate from the old names​. xdg−user−dirs−update is normally run automatically at the start of a user session to update the XDG user dirs according to the users locale​.

OPTIONSThe following options are understood: −−help Print help output and exit​. −−force Update existing user−dirs​.dirs, but force a full reset​. This means: Don't reset nonexisting directories to HOME, rather recreate the directory​. Never use backwards compatible non−translated names​. Always recreate user−dirs​.locale​. −−dummy−output PATH Write the configuration to PATH instead of the default configuration file​. Also, no directories are created​. −−set NAME PATH Sets the XDG user dir with the given name​. NAME should be one of the following: DESKTOP DOWNLOAD TEMPLATES PUBLICSHARE DOCUMENTS MUSIC PICTURES VIDEOS PATH must be an absolute path, e​.g​. $HOME/Some/Directory​.

FILESThe XDG user dirs configuration is stored in the user−dirs​.dirs file in the location pointed to by the XDG_CONFIG_HOME environment variable​.

ENVIRONMENTThe XDG_CONFIG_HOME environment variable determines where the user−dirs​.dirs file is located​.

SEE ALSOxdg-user-dir(1), user-dirs.dirs(5), user-dirs.defaults(5), user-dirs.conf(5)​.
0
Johanes Gumabo
Data Size   :   11,004 byte
man-xdg-user-dirs-update.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 232,809
Visitor ID   :     :  
Visitor IP   :   3.147.86.30   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.