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

### Chapter 41. Other X-based Programs

- Prev

  xarchiver-0.5.4.17

- Next

  XScreenSaver-6.02

- Up
- Home

# xdg-utils-1.1.3

## Introduction to xdg-utils

xdg-utils is a 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.

### Warning

A security vulnerability exists in all versions of xdg-utils from version 1.1.0rc1 when handling mailto: URIs. An attacker could potentially send a victim a URI that automatically attaches a sensitive file to a new email. If a victim user does not notice that an attachment was added and sends the email, this could result in sensitive information disclosure.

To mitigate this flaw, either do not use mailto links at all, or always double-check in the user interface that there are no unwanted attachments before sending emails, especially when the email originates from clicking on a mailto link.

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

### Package Information

- Download (HTTP): https://portland.freedesktop.org/download/xdg-utils-1.1.3.tar.gz

- Download MD5 sum: 902042508b626027a3709d105f0b63ff

- Download size: 296 KB

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

- Estimated build time: 0.3 SBU (with tests)

### xdg-utils Dependencies

#### Required

xmlto-0.0.28 with one of Lynx-2.8.9rel.1, Links-2.25, or W3m

#### Required (runtime)

Xorg Applications

#### Optional (runtime)

dbus-1.12.20

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/xdg-utils

## Installation of xdg-utils

Compile xdg-utils with the following commands:

    ./configure --prefix=/usr --mandir=/usr/share/man &&
    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

Last updated on

- Prev

  xarchiver-0.5.4.17

- Next

  XScreenSaver-6.02

- Up
- Home