Introduction to Xdg-user-dirs

Xdg-user-dirs is a tool to help manage 「well known」 user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames.

本パッケージは LFS-8.3 において正しくビルドでき動作することが確認されています。

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xdg-user-dirs

Installation of Xdg-user-dirs

Install xdg-user-dirs by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc &&

This package does not come with a test suite.

Now, as the root user:

make install

Configuring Xdg-user-dirs

Config Files

~/.config/user-dirs.dirs, /etc/xdg/user-dirs.conf, and /etc/xdg/user-dirs.defaults. Those default locations can be overriden by XDG_CONFIG_HOME and XDG_CONFIG_DIRS


Installed Programs: xdg-user-dir and xdg-user-dirs-update
Installed Library: None
Installed Directory: None

Short Descriptions


looks up the current path for one of the XDG user directories.


creates localized versions of the user directories.

最終更新日: 2018-08-26 06:33:31 +0900