XDG_STATE_HOME

David Faure faure at kde.org
Sat Nov 7 18:12:56 GMT 2020


... is finally a thing, after I got merge powers in the xdg gitlab :-)
https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/4

I suggest we start using it in KF6:
https://invent.kde.org/frameworks/kconfig/-/merge_requests/33

What it is:

$XDG_STATE_HOME contains state data that should persist between
(application) restarts, but that is not important or portable enough to the 
user that it should be stored in $XDG_DATA_HOME. It may contain:
 * actions history (logs, history, recently used files, …)
 * current state of the application that can be reused on a restart (view, 
layout, open files, undo history, …)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





More information about the Kde-frameworks-devel mailing list