#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 41. Other X-based Programs

- Prev

  xarchiver-0.5.4.26

- Next

  XScreenSaver-6.15

- Up
- Home

# xdg-utils-1.2.1

## Introduction to xdg-utils

xdg-utils is a set of command line tools that assist applications with a variety of desktop integration tasks. It is required for Linux Standards Base (LSB) conformance.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v1.2.1/xdg-utils-v1.2.1.tar.gz

- Download MD5 sum: 4c72585a98ba8f775cb9e72b066cc0df

- Download size: 304 KB

- Estimated disk space required: 3.3 MB (with tests)

- Estimated build time: 2.5 SBU (with tests)

### xdg-utils Dependencies

#### Required

xmlto-0.0.29 with one of Lynx-2.9.2, Links-2.30, or W3m

#### Required (runtime)

Xorg Applications

#### Optional (runtime)

dbus-1.16.2

## Installation of xdg-utils

Compile xdg-utils with the following commands:

    ./configure --prefix=/usr &&
    make

### Caution

The tests for the scripts must be made from an X-Window based session. There are several run-time requirements to run the tests including a browser and an MTA. Running the tests as `root` user is not recommended.

To run the tests, issue: make -k test.

Now install it as the `root` user:

    make install

## Contents

Installed Programs: xdg-desktop-menu, xdg-desktop-icon, xdg-mime, xdg-icon-resource, xdg-open, xdg-email, xdg-screensaver, xdg-settings
Installed Libraries: None
Installed Directories: None

### Short Descriptions

xdg-desktop-menu | is a command line tool for (un)installing desktop menu items
xdg-desktop-icon | is a command line tool for (un)installing icons to the desktop
xdg-mime | is a command line tool for querying information about file type handling and adding descriptions for new file types
xdg-icon-resource | is a command line tool for (un)installing icon resources
xdg-open | opens a file or URL in the user's preferred application
xdg-email | opens the user's preferred e-mail composer in order to send a mail message
xdg-screensaver | is a command line tool for controlling the screensaver
xdg-settings | is a command line tool for managing various settings from the desktop environment

- Prev

  xarchiver-0.5.4.26

- Next

  XScreenSaver-6.15

- Up
- Home