python3-xdg - Python 3 library to access standards

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name python3-xdg
Package version 0.25
Package release 4ubuntu1
Package architecture all
Package type deb
Installed size 162 B
Download size 30.62 KB
Official Mirror
PyXDG contains implementations of standards in Python:
* Base Directory Specification Version 0.6
* Menu Specification Version 1.0-draft1
* Desktop Entry Specification Version 1.0
* Icon Theme Specification Version 0.8
* Recent File Spec 0.2
* Shared-MIME-Database Specification 0.13
This package contains the Python 3 version of the library.


Package Version Architecture Repository
python3-xdg_0.25-4ubuntu1_all.deb 0.25 all Ubuntu Main
python3-xdg - - -


Name Value
python3:any >= 3.3.2-2~


Type URL
Binary Package python3-xdg_0.25-4ubuntu1_all.deb
Source Package pyxdg

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python3-xdg deb package:
    # sudo apt-get install python3-xdg




2018-04-24 - Steve Langasek <>
pyxdg (0.25-4ubuntu1) bionic; urgency=medium
* d/p/0001-Allow-Scale-in-icon-theme-per-directory-sections.patch,
cherry-pick upstream support for new keys in icon theme files.
Closes: #877202, LP: #1766793.
2014-01-27 - Andrew Starr-Bochicchio <>
pyxdg (0.25-4) unstable; urgency=high
* Backport upstream patch that fixes the insecure use
of /tmp in xdg.BaseDirectory.get_runtime_dir(strict=False)
(Closes: #736247). Fixes CVE-2014-1624.
* Bump Standards-Version to 3.9.5, no changes needed.
2013-06-29 - Andrew Starr-Bochicchio <>
pyxdg (0.25-3) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Andrew Starr-Bochicchio ]
* Upload to unstable.
2013-03-08 - Dmitry Shachnev <>
pyxdg (0.25-2) experimental; urgency=low
* Team upload.
[ Thomas Kluyver ]
* Don't use nosetests-x.y scripts for tests.
[ Dmitry Shachnev ]
* Unify patches naming (use .patch extension, and dashes in file name).
* Merge from Ubuntu:
+ debian/patches/gettext-support.patch: support Gettext-Domain fields.
+ debian/patches/prefer-first-glob-for-finding-mimetype.patch:
Cherry-pick from upstream to fix test failure with *.png files; when
there are multiple globs with the same pattern (as introduced in the
latest shared-mime-info update), the last one was preferred. It should
have been the first. [Thanks to Thomas Kluyver and Iain Lane]
* Refresh debian/patches/set-default-menu.patch.
* Bump Standards-Version to 3.9.4, no changes needed.
* debian/patches/gettext-support.patch: also disable the test that could
fail when gedit is installed.
2012-12-06 - Thomas Kluyver <>
pyxdg (0.25-1) experimental; urgency=low
[ Thomas Kluyver ]
* New upstream version
+ Add support for $XDG_RUNTIME_DIR (closes: #656338)
+ Allow desktop entry files that are not UTF-8 encoded (closes: 693855)
* Fix Vcs-Svn entry in debian/control
[ Josselin Mouette ]
* Remove dependency on menu-xdg. It does not make any sense and forces 
its installation on systems that don’t need it. Closes: #675456.
2012-11-27 - Martin Pitt <>
pyxdg (0.24-2) experimental; urgency=low
* debian/tests/upstream: Send nose output to stdout instead of stderr; the
latter means a test failure (closes: #694517).
2012-11-06 - Thomas Kluyver <>
pyxdg (0.24-1) experimental; urgency=low
* New upstream version
+ Python 3 support (closes: #591017)
+ Test suite
* Convert packaging to use dh_python2 (closes: #637154)
2012-03-09 - Ryan Kavanagh <>
pyxdg (0.19-4) unstable; urgency=low
* Team upload
* Set as a fallback menu to be parsed when the default
( doesn't exist to avoid ParsingErrors (Closes: #654978)
+ Added menu-xdg as a Depends
* Bump standards version to 3.9.3 (no changes needed)
2011-05-08 - Jakub Wilk <>
pyxdg (0.19-3) unstable; urgency=low
* Team upload.
* Update fix-BaseDirectory-cornercase.patch to handle $XDG_*_DIRS variables
(closes: #568757). Thanks to Thibaut Girka for the updated patch.
* Bump standards version to 3.9.2 (no changes needed).
2010-06-23 - Piotr Lewandowski <>
pyxdg (0.19-2) unstable; urgency=low
* Fix case when $XDG_*_HOME is empty (fix-BaseDirectory-cornercase.patch)
(closes: #568757). Kudos to Éric Araujo!
* Fix xdg.Mime.install_mime_info() exception (fix-583497.patch)
(closes: #583497). Thanks Jakub Wilk!
* Replace string exceptions in (fix-string-exceptions.patch)
(closes: #585340). Thanks Sandro Tosi!

See Also

Package Description
python3-xkit_0.5.0ubuntu2_all.deb library for the manipulation of xorg.conf files (Python 3)
python3-xlsxwriter_0.9.6-0.1_all.deb Python 3 module for creating Excel XLSX files
python3-yaml_3.12-1build2_amd64.deb YAML parser and emitter for Python3
python3-zope.interface_4.3.2-1build2_amd64.deb Interfaces for Python3
python3.6-dev_3.6.5-3_amd64.deb Header files and a static library for Python (v3.6)
python3.6-doc_3.6.5-3_all.deb Documentation for the high-level object-oriented language Python (v3.6)
python3.6-examples_3.6.5-3_all.deb Examples for the Python language (v3.6)
python3.6-minimal_3.6.5-3_amd64.deb Minimal subset of the Python language (version 3.6)
python3.6_3.6.5-3_amd64.deb Interactive high-level object-oriented language (version 3.6)
python3_3.6.5-3_amd64.deb interactive high-level object-oriented language (default python3 version)
python_2.7.15~rc1-1_amd64.deb interactive high-level object-oriented language (default version)
qemu-block-extra_2.11+dfsg-1ubuntu7_amd64.deb extra block backend modules for qemu-system and qemu-utils
qemu-kvm_2.11+dfsg-1ubuntu7_amd64.deb QEMU Full virtualization on x86 hardware
qemu-slof_20170724+dfsg-1ubuntu1_all.deb Slimline Open Firmware -- QEMU PowerPC version
qemu-system-arm_2.11+dfsg-1ubuntu7_amd64.deb QEMU full system emulation binaries (arm)