Query: xdg-user-dir
OS: opensolaris
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
xdg-user-dir(1) User Commands xdg-user-dir(1)NAMExdg-user-dir - Get the path used for desktop user directory location.SYNOPSISxdg-user-dir DIRDESCRIPTIONxdg-user-dir is a utility that extracts the location of the specified desktop user directory from the file : ${HOME}/.config/user-dirs.dirsOPERANDSValid desktop directories (DIR) are: DESKTOP DOWNLOAD TEMPLATES PUBLICSHARE DOCUMENTS MUSIC PICTURES VIDEOS If an invalid directory is requested ${HOME} is returned.ENVIRONMENT VARIABLESSee environ(5) for descriptions of the following environment variables: HOME. Other environment variable that are used are: XDG_CONFIG_HOME Base directory for storge of XDG configuration files. Defaults to ${HOME}/.configFILESThe following files are used by this application: /usr/bin/xdg-user-dir XDG Directory expansion utility. ${XDG_CONFIG_HOME}/user-dirs.dirs Location of the user-specific configuration including the current list of directories and what they map to.EXAMPLESExample 1: Location of user's documents directory % xdg-user-dir DOCUMENTS /home/user/DocumentsATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxdg-user-dirs | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+SEE ALSOMore information can be found at: http://www.freedesktop.org/wiki/Software/xdg-user-dirs xdg-user-dirs-update(1), xdg-user-dirs-gtk-update(1), attributes(5)NOTESWritten by Darren Kenny, Sun Microsystems Inc, 2008 SunOS 5.11 03 Apr 2008 xdg-user-dir(1)