According to /etc/xdg/user-dirs.defaults, the default media paths are $HOME/Music and $HOME/Videos and will be translated on a per-path-element basis into the users locale.
In order to make an user locale aware and portable configuration, is it some functions or programs I can use to retrieve the paths in this file with the user’s locale?
[code]# 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[/code]
Edit: I find it: xdg-user-dir 8)
Is it some Fvwm function that can do the same?