class_docstr: On Unix/Linux, we follow the
  `XDG Basedir Spec <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>`_. The spec allows
  overriding directories with environment variables. The examples show are the default values, alongside the name of
  the environment variable that overrides them. Makes use of the
  `appname <platformdirs.api.PlatformDirsABC.appname>`,
  `version <platformdirs.api.PlatformDirsABC.version>`,
  `multipath <platformdirs.api.PlatformDirsABC.multipath>`,
  `opinion <platformdirs.api.PlatformDirsABC.opinion>`,
  `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
class_docstr_tok: ["On","Unix\/Linux",",","we","follow","the","`","XDG","Basedir","Spec","<","https",":","\/\/specifications.freedesktop.org\/basedir-spec\/basedir-spec-latest.html",">","`","_",".","The","spec","allows","overriding","directories","with","environment","variables",".","The","examples","show","are","the","default","values",",","alongside","the","name","of","the","environment","variable","that","overrides","them",".","Makes","use","of","the","`","appname","<","platformdirs.api.PlatformDirsABC.appname",">","`",",","`","version","<","platformdirs.api.PlatformDirsABC.version",">","`",",","`","multipath","<","platformdirs.api.PlatformDirsABC.multipath",">","`",",","`","opinion","<","platformdirs.api.PlatformDirsABC.opinion",">","`",",","`","ensure_exists","<","platformdirs.api.PlatformDirsABC.ensure_exists",">","`","."]
docstr: :return: desktop directory tied to the user, e.g. ``~/Desktop``
docstr_tok: [":","return",":","desktop","directory","tied","to","the","user",",","e.g",".","``","~\/Desktop","``"]
code: def user_desktop_dir(self) -> str:
      """:return: desktop directory tied to the user, e.g. ``~/Desktop``"""
      return _get_user_media_dir("XDG_DESKTOP_DIR", "~/Desktop")
  
imports: from __future__ import annotations
  import os
  import sys
  from configparser import ConfigParser
  from pathlib import Path
  from .api import PlatformDirsABC
label_desc: Use image node_id 15 for calling the Unix obj's underlying member method code with example usage: obj.user_desktop_dir() and returns: _get_user_media_dir