Search notes:

XDG

freedesktop.org / XDG @ XDG
XDG stands for X Desktop Group, which is the name by which freedesktop.org was formerly known.

Environment variables

$XDG_RUNTIME_DIR might point to /run/user/$uid.
XDG_CONFIG_DIRS, XDG_CONFIG_HOME, XDG_DATA_DIRS, XDG_DATA_HOME, XDG_CACHE_HOME

mimeapps.list

xdg-utils

Utilities to manage MIME types.
xdg-mime, xdg-open

Debugging xdg-utils

$ export XDG_UTILS_DEBUG_LEVEL=10
$ xdg-open …

See also

Association between MIME type and application
https://cgit.freedesktop.org/xdg/shared-mime-info/
/etc/xdg

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/X/...', 1758194376, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/X/XDG/index(76): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78