Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdg-user-dirs-update(1) [centos man page]

XDG-USER-DIRS-UPD(1)						   User Commands					      XDG-USER-DIRS-UPD(1)

xdg-user-dirs-update - Update XDG user dir configuration SYNOPSIS
xdg-user-dirs-update [OPTION...] [--set NAME PATH...] DESCRIPTION
xdg-user-dirs-update updates the current state of the users user-dirs.dir. 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. OPTIONS
The following options are understood: --help Print help output and exit. --force Update existing user-dirs.dir, 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. FILES
The XDG user dirs configuration is stored in the user-dirs.dir file in the location pointed to by the XDG_CONFIG_HOME environment variable. ENVIRONMENT
The XDG_CONFIG_HOME environment variable determines where the user-dirs.dirs file is located. SEE ALSO
xdg-user-dir(1), user-dirs.dirs(5), user-dirs.defaults(5), user-dirs.conf(5). XDG

Check Out this Related Man Page

FBAUTOSTART(1)							fbautostart Manual						    FBAUTOSTART(1)

fbautostart - Autostart all XDG applications SYNOPSIS
fbautostart [options] DESCRIPTION
fbautostart(1) is an XDG complaint startup tool. This will go through the directories set up by the spec, and start all applications that match it's current identifier. You may change that identifier with the FBXDG_DE env var. This tool has almost no library dependencies and was written to be smart about that sort of stuff. There is a greater then average chance that you will find a bug, since it is a from-scratch implementation of the .desktop spec. Pleas report bugs. Please. FILES
~/.config/autostart This folder contains the default user XDG dot-desktop files that will be run ( unless it's overridden by an ENV variable ) /etc/xdg This folder contains the default system XDG dot-desktop files that will be run ( unless it's overridden by an ENV variable ) OPTIONS
Sadly, there are no flags in this particular release. ENVIRONMENT VARIABLES
XDG_CONFIG_HOME The XDG root directory for the user's startup files, which may override the global startup files. XDG_CONFIG_DIRS The root XDG directory, where global XDG files are maintained. FBXDG_DE Development environment that we should act upon. This defaults to "FLUXBOX", since this is a fluxbox project, after all. Please note this is case sensitive. FBXDG_EXEC This dictates if we should execute the application that we've been told to or not. This is particularly useful for debugging the app. HOME The location of one's home directory, such that ~/ will be expanded to /home/user/ EXAMPLE
fbautostart AUTHORS
Paul Tagliamonte <[1]> for fbautostart 2.718281 SEE ALSO
fluxbox(1) AUTHOR
Paul Tagliamonte <> Author. NOTES
1. fbautostart.txt 7th September 2011 FBAUTOSTART(1)
Man Page

Featured Tech Videos