#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 11. General Utilities

- Prev

  unixODBC-2.3.9

- Next

  System Utilities

- Up
- Home

# Xdg-user-dirs-0.17

## 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.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.17.tar.gz

- Download MD5 sum: e0564ec6d838e6e41864d872a29b3575

- Download size: 251 KB

- Estimated disk space required: 3.0 MB

- Estimated build time: less than 0.1 SBU

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 &&
    make

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`

## Contents

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

### Short Descriptions

xdg-user-dir | looks up the current path for one of the XDG user directories
xdg-user-dirs-update | creates localized versions of the user directories

Last updated on 2021-02-20 11:35:58 -0800

- Prev

  unixODBC-2.3.9

- Next

  System Utilities

- Up
- Home