Xdg-user-dirs-0.19

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 17. Installing Steam Dependencies

- Prev

  Installing Steam Dependencies

- Next

  libgpg-error-1.59

- Up
- Home

# Xdg-user-dirs-0.19

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

- Download: https://gitlab.freedesktop.org/xdg/xdg-user-dirs/-/archive/v0.19/xdg-user-dirs-v0.19.tar.gz

## Installation of Xdg-user-dirs

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

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr       \
                --buildtype=release \
                -D docs=false       \
                .. &&
    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

`-D docs=false`: Disables the installation of the man pages.

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

- Prev

  Installing Steam Dependencies

- Next

  libgpg-error-1.59

- Up
- Home